sqlserver怎么寫(xiě)一個(gè)存儲(chǔ)過(guò)程 sqlserver數(shù)據(jù)庫(kù)幾種備份方法?
sqlserver數(shù)據(jù)庫(kù)幾種備份方法?SQL S如何使用SQLServer命令BCP導(dǎo)入導(dǎo)出EXCEL數(shù)據(jù)?SQL Server使用BCP來(lái)導(dǎo)入和導(dǎo)出數(shù)據(jù)。在命令行下:d: t1 . dat-S .-
sqlserver數(shù)據(jù)庫(kù)幾種備份方法?
SQL S
如何使用SQLServer命令BCP導(dǎo)入導(dǎo)出EXCEL數(shù)據(jù)?
SQL Server使用BCP來(lái)導(dǎo)入和導(dǎo)出數(shù)據(jù)。
在命令行下:
d: t1 . dat-S .-U sa-P 123-n中的bcp
bcp out d: t1 . dat-S .-U sa-P 123-n
或者調(diào)用SQL過(guò)程。
[sql]
執(zhí)行主機(jī)中的XP _ cmdshell bcp 4-@ . com t1 . dat-S .-U sa-P 123-n
執(zhí)行主機(jī)..xp_cmdshell bcp out d:t1.dat -S . -U sa -P 123 -n