Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
seemap123
Starting Member
2 Posts |
Posted - 2007-11-15 : 15:28:32
|
| Hi,I wanted to know if there is a way to execute sql commands on the operating system's command line. If it is possible, then how do we do it ? For example to execute a SELECT * from Table statement what are we supposed to do ? ThanksS |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-11-15 : 15:31:50
|
| You'd use sqlcmd for SQL Server 2005, osql for SQL Server 2000, and isql for SQL Server 7.0 or 6.5.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
seemap123
Starting Member
2 Posts |
Posted - 2007-11-16 : 10:20:06
|
| Thank you. |
 |
|
|
|
|
|