摘要:
USE DB; GO --Create The Table. We'll pull info from here for our dynamic SQL CREATE TABLE DynamicSQLExample ( TableID int IDENTITY NOT NULL CONSTRAINT PKDynamicSQLExample PRIMARY KEY, SchemaName varchar(128) NOT NULL, TableName varchar(128) NOT NULL); GO /* Populate the table. In this ca...
阅读全文
posted @ 2012-03-19 22:50
cfd406635982
阅读(4571)
推荐(0)
编辑
摘要:
SQLCMD 允许在Windows命令窗中通过命令行提示符运行脚本.语法如下:sqlcmd [ { { -U <login id> [ -P <password> ] } | -E } ] [-S <server> [ \<instance > ] ] [ -H <workstation> ] [ -d <database> ] [ -l <time out> ] [ -t <time out> ] [ -h <headers> ] [ -s <col separator>
阅读全文
posted @ 2012-03-19 22:19
cfd406635982
阅读(21872)
推荐(1)
编辑