Copy two tables in Oracle
Dec 30
I found that so many query statements are different between in Microsoft SQL and Oracle. To copy two table in the same database with Microsoft SQL, I normally use SELECT INTO statement as follow.
2<cfquery name="qryCopy" datasource="myDSN">
3 SELECT *
4 INTO tblPerson_Backup
5 FROM tblPerson
6</cfquery>
7
8<!--- For specific data field --->
9<cfquery name="qryCopy" datasource="myDSN">
10 SELECT NAME, DOB, SEX
11 INTO tblPerson_Backup
12 FROM tblPerson
13</cfquery>

Android
Top of Page