日期:2014-05-17 浏览次数:20789 次
DECLARE
FLAG NUMBER(2);
BEGIN
SELECT COUNT(1)
INTO FLAG
FROM USER_TAB_COLS
WHERE TABLE_NAME = 'LBM_INFO'
AND COLUMN_NAME = 'REMOTE_TIMEOUT';
IF FLAG=0 THEN
EXECUTE IMMEDIATE 'ALTER TABLE LBM_INFO ADD REMOTE_TIMEOUT VARCHAR2(10)';
END IF;
END;