Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Posts
    74

    Arrow Unanswered: How to execute SQL statement in command line(in CMD window)?

    Thank you for your answer!

  2. #2
    Join Date
    Oct 2001
    Location
    England
    Posts
    426
    check out osql in bol.

    osql -Uusername -Password -Sservername -Q"select * from master..sysobjects"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •