Does anyone know of a tool that will generate backwards compatible
 scripts of an SQL Server 2005 database (so that it can be run on SQL
 Server 2000 to create the DB and add the data)? I have views, stored
 proc's, triggers, a function, and some roles that need to go with the
 tables and their data as well. I've tried generating a script from SQL
 Server management studio, but there are tons of errors when I try to
 run it on a 2k server, even after I fix the syntax ones. There *has*
 to be an easier way of doing this. I apologize if this is something
 that is very well known, but this is the first time I've had to do it,
 and I haven't found anything that looked like it would do it by
 searching.
 Thanks,
 Oliver GarrauxThere is an option in the script wizard (script for server version) to
generate 2000 compatible code that you must check. But if you used some of
the 2005 features you may not be able to do this completely.
--
Andrew J. Kelly SQL MVP
"Oliver Garraux" <olrbengax@.gmail.com> wrote in message
news:1168220255.369875.244510@.s34g2000cwa.googlegroups.com...
> Does anyone know of a tool that will generate backwards compatible
> scripts of an SQL Server 2005 database (so that it can be run on SQL
> Server 2000 to create the DB and add the data)? I have views, stored
> proc's, triggers, a function, and some roles that need to go with the
> tables and their data as well. I've tried generating a script from SQL
> Server management studio, but there are tons of errors when I try to
> run it on a 2k server, even after I fix the syntax ones. There *has*
> to be an easier way of doing this. I apologize if this is something
> that is very well known, but this is the first time I've had to do it,
> and I haven't found anything that looked like it would do it by
> searching.
> Thanks,
> Oliver Garraux
>|||Thanks a bunch, I don't know why I didn't see that option in there. It
worked great for everything except a trigger and a view, and those
worked just fine with copying and pasting stuff. I appreciate your
help.
Oliver Garraux
Andrew J. Kelly wrote:
> There is an option in the script wizard (script for server version) to
> generate 2000 compatible code that you must check. But if you used some of
> the 2005 features you may not be able to do this completely.
> --
> Andrew J. Kelly SQL MVP
 
No comments:
Post a Comment