Re: MS SQL Server 2000 migration
Posted by: Chagh
Date: September 13, 2005 01:33AM

I tried the trials 3 monthes ago, non of them migrated a complete DB. none of them migrated SPs. some of them couldn't migrate forein keys, PKs, views, ....
any way the best way of migratinf SPs is:

1. generate SQL script of all of them in one sql file(in SQLServer)
2. do some general changes(e.g. replace @ with var, or go with end$$)
3. use a tool which can load SQL statement in its editor and edit and execute them(i use Query Browser) and load the script into tool editor.
4. add "Delimiter $$" at the first line of script and "Delimiter ;" at the end of it.
5. change the syntax of creating SPs to match with MySQL(the worst part!)
6. execute the script(you may find many errors(specially for syntax) which you should deal)

Chagh

Options: ReplyQuote


Subject
Written By
Posted
May 09, 2005 06:01AM
September 12, 2005 07:23AM
September 12, 2005 07:24AM
September 12, 2005 11:08AM
Re: MS SQL Server 2000 migration
September 13, 2005 01:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.