Réduire
Brouillon
0
15/04/2013
0
Server 'SYB125_DEV', Line 2:
   SELECT INTO command not allowed within multi-statement transaction. 
   Server Message:  Number  3701, Severity  11
   Server 'SYB125_DEV', Line 3:
   Cannot drop the table '#tbExport_tmp', because it doesn't exist in the system catalogs.
ou
   Server Message:  Number  208, Severity  16
   Server 'SYB125_DEV', Procedure 'ps_agg_tbExport', Line 30:
   #tbExport_tmp not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output). 
   (return status = 0)
Mots-clés:
Sybase SQL
Une table temporaire (un objet plus généralement) ne peut pas être créé à l'intérieur d'une transaction
Il faut créer l'objet avant d'ouvrir la transaction