October 26, 2005 at 6:04 am
i have an sql script(.sql format) and i want to run it on my remote host which support mssql server..
sql script includes creating tables and somthng like this..
how can i do this please show me a way..
thanks
October 26, 2005 at 12:23 pm
isql -Uusername -Sservername -iscript.sql -oscript.out
Query Analyzer
October 26, 2005 at 7:58 pm
In addition to those two (and osql), you can also use VBScript which can use SQL-DMO and fire off SQL scripts after getting the input such as instance-name, authentication used (login and password if SQL Server authentication is used), database name etc.
October 28, 2005 at 8:07 am
Or just open Query Analyzer, connect to the remote server, open the file, select the correct database, and then hit F5.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy