开发者

Temp table in sql

what is

CREATE TABLE #Inventory( ) in sql ? and how its work with store pro开发者_高级运维cedure ?


As you correctly assumed, it's a temporary table.

See a discussion here or here for some more info.

And they work just fine in stored procedures.


CREATE TABLE #Inventory ( InventoryID int PRIMARY KEY IDENTITY(1,1) , InventoryName varchar(100) ) GO

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜