Execute SqlServer script using command prompt

Execute SQL Server script using command prompt.


sqlcmd -S myServer\instanceName -U sa -P sa1234 -d Northwind -i C:\myScript.sql


0 comments:

Post a Comment

Vikram Chandra Theme by BloggerThemes & NewWPThemes Sponsored by iBlogtoBlog