I have a dilemma. I need to run a couple of SQL calls to a server from the client machine (after detecting the ODBC connection) as part of the client install. If anyone has any insight, It would be greatly appreciated!
SQL
Posted 17 January 2002 - 22:07
Posted 18 January 2002 - 01:04
I'm not sure if this will work but I remember some utility called osql or maybe it was isql. It comes with SQL Server. It allows you to execute TSQL from the commandline. The part that I cannot remember is if you can connect remotely. I.E.
select * from <servername>.dbo.table. ......
It's worth checking out. Should find out more information in the SQL books online installed with SQL.
Good Luck. Let us know what you find out.
Kurt Schneider
Posted 20 January 2002 - 05:10
For details on how to use SQL-DMO, have a look in SQL Books on line, or in MSDN.