Quantcast
Channel: SQLServerCentral » Programming » SMO/RMO/DMO » Latest topics
Viewing all articles
Browse latest Browse all 99

Using SQLCMD script in SMO

$
0
0
Hello, I have a C# program which uses SMO to submit tsql to SQL Server 2008 R2 for execution. The tsql is read in from a script file and this works fine. However if I give it a script file which contains some sqlcmd syntax I get an exception saying

Viewing all articles
Browse latest Browse all 99

Latest Images

Trending Articles



Latest Images