Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting Tables

Status
Not open for further replies.

buster999

Technical User
Jun 6, 2006
3
US
What is the trick to scripting tables using script from scripted tables in SQL Server.

Thank you
Buster999
 
Talk about circular... Please explain what you are trying to ask... Terry M. Hoey
 
Sorry. What I mean is that I have scripted the tables in SQL Server 7 and saved the script to a file, and the question is do I now just copy that script into the SQL Plus worksheet in the database that I want to create the tables and execute, or is there more to it?

Thanks
Buster999
 
I am pretty sure that there are some differences between SQL Server and Oracle. An example is that Oracle uses SEQUENCES type as a sequential numeric field, usually used as a unique primary key type field. I know SQL Server has a different name for this type of field, but I can't remember what they call it.

I guess you could try and run the script and then make corrections where it errors. Terry M. Hoey
 
Yea, SQL server calls their version of sequences as Identity
Seed; plus referential constraints are enforced differently by sql server than by oracle.
I will run my scripts first in sql server and use its dts(data transformation service) to move the tables over to oracle.
During transformation process, you will have the opportunity to generate an oracle version of the table scripts.
I have used both. If you still need help, please advise.
sokeh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top