有用的SQL语句

作者:网络 来源:ICXO.COM 添加时间:2006-5-21 11:12:12
 

1:导入数据
imp80 file=d:tempdbfile1.dmp full=n fromuser=yh1 touser=yh2;


2:多表更新
update table1 a set a.column1=(select b.column1 from table2 b
where a.column2=b.2column2)
where a.column3 is not null;

站内搜索