Daniela-267581
Ten Centuries
Points: 1119
More actions
June 7, 2006 at 1:07 am
#94257
Hi,
I am developing a C# application that generates sql scripts. I want throw c# to compile the resulted script. How could I do that? Is any system sp that 'does' the compile , a function that I could call?
Thank you
Daniela
Eddie Wuerch
SSChampion
Points: 12535
June 7, 2006 at 3:08 pm
#642397
SET
NOEXEC ON
GO
Insert that at the top of your script and execute it. It will be compiled (syntax and object names will be validated), but not executed.
-Eddie
Eddie WuerchMCM: SQL
June 8, 2006 at 12:05 am
#642431
thank you Eddie. It helped a lot
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply