ตัวอย่าง store procedure
SET @Counter = ‘ SELECT COUNT(PIN) FROM dbo.EM_MST_PERSDATA WHERE (PIN= ”’+@PIN+”’)’
–print @Counter
exec(@Counter)
แค่นี่เองพี่โธ่
0 Comments
search site archives
SET @Counter = ‘ SELECT COUNT(PIN) FROM dbo.EM_MST_PERSDATA WHERE (PIN= ”’+@PIN+”’)’
–print @Counter
exec(@Counter)
แค่นี่เองพี่โธ่