首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

RENAME COLUMN SECURITYID1 to SECURITYID

2012-07-04 
RENAME COLUMN SECURITYID1 to SECURITYID?alter table SDC_INDEXQUOTE add SECURITYID1 INTEGER ?updat

RENAME COLUMN SECURITYID1 to SECURITYID;

?alter table SDC_INDEXQUOTE add SECURITYID1 INTEGER;
?update SDC_INDEXQUOTE set SECURITYID1 = TO_NUMBER(SECURITYID);
?alter table SDC_INDEXQUOTE drop column SECURITYID;
?alter table SDC_INDEXQUOTE RENAME COLUMN SECURITYID1 to SECURITYID;
?create index I_SDCINDEXQUOTE01 on SDC_INDEXQUOTE (securityid, tradedate);

热点排行