PRB: SELECT INTO Fails Inside a User-Defined TransactionLast reviewed: April 25, 1997Article ID: Q67874 |
The information in this article applies to:
- Microsoft SQL Server version 4.2 for OS/2 - Microsoft SQL Server version 4.2
SYMPTOMSThe following message is received when a SELECT INTO is used inside a user-defined transaction:
SELECT INTO command not allowed within multi-statement transaction. CAUSEThe SELECT INTO command is a nonlogged operation and is not allowed inside a user-defined transaction (BEGIN TRAN ... COMMIT TRAN).
WORKAROUNDIf it is necessary to associate a table created with a SELECT INTO to a transaction, you can use the following method:
|
Additional query words: Transact-SQL Windows NT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |