jdbc 如何使用 Insert into Table2(field1,field2,...) select value1,value2,... from Table1 和 SELECT vale1, value2 into Table2 from Table1 RT!请教各位大神求解!!!!有分!有分!
1、insert into t1(f1,f2) select f1,f2 from t2可以直接用。 2、select f1,f2 into t2 from t1这个用法我还真没见过,在PL/SQL里有类似的用法,如下: select f1,f2 into v1,v2 from t1其中的v1和v2是变量
2、select f1,f2 into t2 from t1这个用法我还真没见过,在PL/SQL里有类似的用法,如下:
select f1,f2 into v1,v2 from t1其中的v1和v2是变量