OSQL or ISQL

来源: 2003-11-25 10:21: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--