走過必留下痕跡,學過必留下記錄...
IF (select OBJECT_ID('tempdb..#TTmp')) IS NOT NULL DROP TABLE #TTmp CREATE TABLE #TTmp (ProdNo varchar(16)) EXEC('INSERT INTO #TTmp select ProdNo from Prod')
張貼留言
沒有留言:
張貼留言