Kevin Anderson wrote:

So I'm SLOWLY rewriting a text file and I'm wondering if there's someone who can tell me of a utility to do it.
I have a MS SQL 7 server, I've created a "SQL Script" which would create ~120 new tables, and objects if I ran it on another MS SQL server.

One word, my good man: regular expressions (okay, so that's two words. sue me). I've done similar things in moving data from one database to another (Postgres). Use Perl. You can output the text to a file or plug it in directly using Perl's DBI. The Postgres DBD is a joy to use.
--

*Richard Plana, B.Sc., CCNA*
Secretary
Calgary Linux Users' Group




Reply via email to