Test SQL query/stored procedure from the command line...

by Miro 21. September 2008 17:29

...using the sqlcmd utility

sqlcmd -S . -d MyDatabaseName -U userName -P pazzword -Q "EXEC[dbo].[spGiveMeSomeData] @Par1 = 5, @Par2 = NULL, @Par3 = N'AnotherString'"

Tags:

SQL Server

Powered by BlogEngine.NET
Contents copyright 2008 Mirocle Pty. Ltd. All Rights Reserved.