// Yazılım

Creating a SQL Temporary Table

The temporary table creation command with Order and Label fields causes the table to be dropped when the DB connection is refreshed.

IF EXISTS(SELECT 1 FROM tempdb..sysobjects WHERE name LIKE '#TABLO_:SPID_%')
DROP TABLE #TABLOCREATE TABLE #TABLO(
[SIRA] [smallint] NULL,
[ETIKET] [nvarchar](50) NULL,
)
INSERT INTO #TABLO(SIRA,ETIKET) values('2','test');select * from #TABLO

 

 

// JOIN THE CONVERSATION

Share your experience

Bir sorunun, farklı bir çözümün veya eklemek istediğin bir notun var mı? Giriş yapmadan da yazabilirsin.

// KEEP READING

One more note.

All posts ↗︎