OSQL or ISQL

本文內容已被 [ DBDB ] 在 2004-02-06 15:24:48 編輯過。如有問題,請報告版主或論壇管理刪除.
回答: sorryedu2003-11-25 10:00:00

Start -> Run -> [cmd] then:
-E is trusted login.
You can write commnds into a bat script to run and to schemdule it.

Also, it is easier to manage if you use BCP in a batch.

H:>osql -E
1> use pubs
2> go
1> select top 1 * from authors
2> go
au_id au_lname .....



--文學城www.wenxuecity.com--
請您先登陸,再發跟帖!