BCP skills

xiaoxiao2021-03-06  114

Backup

Exec master..xp_cmdshell 'bcp "pub..sysObjects" OUT "c: /a.txt" / s "localhost" / u "sa" / p "mdcija" / c

reduction

Exec master..xp_cmdshell 'bcp "pubs..sysObjects" in "c: /a.txt" / s server name "/ u" user name "/ P" password "/ c'

转载请注明原文地址:https://www.9cbs.com/read-101370.html

New Post(0)