laucnh a slq request?

  • hi

    iwould like ton know how i can launch a sql request ihave sql server desktop engine 2000

    thanks

  • If you want to simply execute a query outside of an application, you can use Query Analyzer. To execute a query within an application ADO is probably the best method to access the data.

  • You also could use the "OSQL" utility if you want to launch a SQL command for the OS command prompt.

    Gregory Larsen, DBA

    If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples

    Gregory A. Larsen, MVP

  • what is the command with osql to launche the file "1.sql"

    thanks

  • From the command prompt you would type something like:

    osql -S<servername> -U<username> -P<password> -i1.sql

    There are many switches associated with osql. You can issue: osql -? to get a list of all switchs. Hope this helps.

    Gregory Larsen, DBA

    If you looking for SQL Server Examples check out my website at http://www.geocities.com/sqlserverexamples

    Gregory A. Larsen, MVP

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply