HighTechTalks DotNet Forums  

Automated execution of script from file

Dotnet Framework (ADO.net) microsoft.public.dotnet.framework.adonet


Discuss Automated execution of script from file in the Dotnet Framework (ADO.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Harlan Messinger
 
Posts: n/a

Default Automated execution of script from file - 12-12-2007 , 01:33 PM






Is there a built-in method in ADO.NET for reading a T-SQL script from a
file and executing it step-by-step as though it were in a stored procedure?

Reply With Quote
  #2  
Old   
William Vaughn
 
Posts: n/a

Default Re: Automated execution of script from file - 12-12-2007 , 02:16 PM






Nope. Visual Studio can do this... but not ADO.NET.

--
__________________________________________________ ________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
__________________________________________________ __________________________________________
"Harlan Messinger" <hmessinger.removethis (AT) comcast (DOT) net> wrote

Quote:
Is there a built-in method in ADO.NET for reading a T-SQL script from a
file and executing it step-by-step as though it were in a stored
procedure?


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.