教程】用微PE在UEFI+GPT模式下安装WIN7、WIN10
https://tieba.baidu.com/p/4445983090
sql server如何导出建表语句
http://jingyan.baidu.com/article/5bbb5a1b11b47813eaa17975.html
如何将sql server 里的数据库表导出成TXT【亲测。可以执行】
(来源于:http:
可以直接在sql sever里的查询器里执行下面这条语句。
EXEC master
..xp_cmdshell
'bcp "select *sfrzh from gxsj.dbo..answer" queryout > "d:/tt.txt" -c -S localhost -U sa -P password'
注意:
-S -U -P要大写,表名要全数,形式为:据库名
.dbo
.表名
在执行这条语句的时候 可能会报错提示你没有启用“xp_cmdshell”,很简单,执行
> 下面这条语句就行了。
EXEC sp_configure
'show advanced options',
1; RECONFIGURE; EXEC
> sp_configure
'xp_cmdshell',
1;RECONFIGURE;其中红色的“
1”表示启用“xp
-> cmdshell”,如果为“
0”表示关闭“xp_cmdshell”。
转载请注明原文地址: https://ju.6miu.com/read-9700.html