开发者

Temp table in sql

开发者 https://www.devze.com 2023-02-14 01:42 出处:网络
what is CREATE TABLE #Inventory( )in sql ? and how its work with store pro开发者_高级运维cedure ?As you correctly assumed, it\'s a temporary table.

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

精彩评论

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