sql:
DECLARE @tmpTable TABLE( id INT, userName VARCHAR(50) ); INSERT INTO @tmpTable VALUES(1,'张三'); INSERT INTO @tmpTable VALUES(2,'李四'); SELECT * from @tmpTable;
输出效果:
sql:
DECLARE @tmpTable TABLE( id INT, userName VARCHAR(50) ); INSERT INTO @tmpTable VALUES(1,'张三'); INSERT INTO @tmpTable VALUES(2,'李四'); SELECT * from @tmpTable;
输出效果: