Re: Parse SQL script
From: Val Mazur (group51a_at_hotmail.com)
Date: 05/28/04
- Next message: Val Mazur: "Re: SQL and Filter"
- Previous message: Val Mazur: "Re: ADO Move Problem"
- In reply to: Pablo Garateguy: "Parse SQL script"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 27 May 2004 21:54:00 -0400
Hi Pablo,
Since you cannot execute batches with the GO statements you have a several
ways to do this.
One is to execute SQL statements one-by-one. Another way, which will work
only with the OLEDB Provider for SQL Server, is to remove all GO statements,
separate your statements inside of the batch with the semicolon and execute
this separated string in one shot.
-- Val Mazur Microsoft MVP "Pablo Garateguy" <anonymous@discussions.microsoft.com> wrote in message news:DAA39A49-ED25-456D-ACF0-B17811CB9960@microsoft.com... > How can I parse an SQL script (like script to create a database)? >
- Next message: Val Mazur: "Re: SQL and Filter"
- Previous message: Val Mazur: "Re: ADO Move Problem"
- In reply to: Pablo Garateguy: "Parse SQL script"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|