OSQL or ISQL

本帖于 2004-02-06 15:24:48 时间, 由普通用户 old-cotton 编辑
回答: 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--
请您先登陆,再发跟帖!