搜尋此網誌

2011年1月29日 星期六

sqlcmd2

1> use testdb
2> go
已將資料庫內容變更為 'TestDB'。
1> insert into table_1 values(1,2,3)
2> go

1> insert into table_1 values(null,2,3)
2> go

(1 個受影響的資料列)

1> insert into table_1 values(default,2,3)
2> go

(1 個受影響的資料列)

1> select * from table_1
2> go
sn name address
---------- ---------- ----------
0x00000000 2 3
0x00000000 2 3

(2 個受影響的資料列)

沒有留言: