I'm trying to create a table by executing the script in SP.
Portion of Creating Table:
SET @SQL = 'CREATE TABLE #TEMPS' +
'( ID VARCHAR(100), ' +
'CUR_SUPVR_ID VARCHAR(100), ' +
'CUR_SUPVR_NAME VARCHAR(100), ' +
'CUR_SUPVR_LVL VARCHAR(100) )'
EXEC(@SQL)
But the #TEMPS
was not created. Any thought?