Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running an SQL Script from a Desktop Icon

Status
Not open for further replies.
Nov 8, 2000
12
GB
I have SQL Server on a NT Server and I want to put an icon on the desktop so that once clicked on, an SQL script is run - is this easy to do - if so - how would I go about it ??

Thanks for any help

Julie
 
Look up osql in the SQL server Books Online.
Then you can write a batch file with the right parameters, and create a shortcut to it.
Just don't put the password in the batch file!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top