Click here to Skip to main content
15,886,362 members
Home / Discussions / Database
   

Database

 
GeneralRe: Syntax error (Missing Operator) in Query expression ':0:1 Pin
PIEBALDconsult24-Jan-13 6:00
mvePIEBALDconsult24-Jan-13 6:00 
GeneralRe: Syntax error (Missing Operator) in Query expression ':0:1 Pin
IgaBaro24-Jan-13 7:11
IgaBaro24-Jan-13 7:11 
GeneralRe: Syntax error (Missing Operator) in Query expression ':0:1 Pin
PIEBALDconsult24-Jan-13 7:56
mvePIEBALDconsult24-Jan-13 7:56 
GeneralRe: Syntax error (Missing Operator) in Query expression ':0:1 Pin
Richard MacCutchan24-Jan-13 22:35
mveRichard MacCutchan24-Jan-13 22:35 
GeneralRe: Syntax error (Missing Operator) in Query expression ':0:1 Pin
IgaBaro24-Jan-13 5:51
IgaBaro24-Jan-13 5:51 
Questioncreated tables not dropped in a transaction rollback Pin
Danzy8320-Jan-13 16:13
Danzy8320-Jan-13 16:13 
AnswerRe: created tables not dropped in a transaction rollback Pin
Mycroft Holmes20-Jan-13 16:32
professionalMycroft Holmes20-Jan-13 16:32 
AnswerRe: created tables not dropped in a transaction rollback Pin
Eddy Vluggen21-Jan-13 2:06
professionalEddy Vluggen21-Jan-13 2:06 
Similar to below? That would remove the created table (and does)
SQL
BEGIN TRANSACTION

CREATE TABLE Test (Id BIGINT)
INSERT INTO Test (Id) VALUES (1)

ROLLBACK

SELECT * 
  FROM information_schema.tables
WHERE TABLE_NAME = 'Test'


Danzy83 wrote:
However, the tables created within the transaction are not dropped from the database. This is unusual to me.

It'd be erroneous. Have you changed the locking-options?

FWIW, it'd probably be the wisest to use a temp-table, not a real one.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

AnswerRe: created tables not dropped in a transaction rollback Pin
Shameel21-Jan-13 22:08
professionalShameel21-Jan-13 22:08 
GeneralRe: created tables not dropped in a transaction rollback Pin
jschell22-Jan-13 8:16
jschell22-Jan-13 8:16 
GeneralRe: created tables not dropped in a transaction rollback Pin
Shameel22-Jan-13 23:46
professionalShameel22-Jan-13 23:46 
QuestionChange the language for Sql Server 2008 Pin
Thaer Hamael19-Jan-13 1:27
Thaer Hamael19-Jan-13 1:27 
AnswerRe: Change the language for Sql Server 2008 Pin
PIEBALDconsult19-Jan-13 5:29
mvePIEBALDconsult19-Jan-13 5:29 
AnswerRe: Change the language for Sql Server 2008 Pin
Mycroft Holmes19-Jan-13 14:19
professionalMycroft Holmes19-Jan-13 14:19 
Questionsql server 2008 Pin
Kapilkp17-Jan-13 23:25
Kapilkp17-Jan-13 23:25 
QuestionRe: sql server 2008 Pin
Eddy Vluggen18-Jan-13 1:30
professionalEddy Vluggen18-Jan-13 1:30 
GeneralRe: sql server 2008 Pin
Kapilkp20-Jan-13 23:06
Kapilkp20-Jan-13 23:06 
GeneralRe: sql server 2008 Pin
Eddy Vluggen21-Jan-13 1:15
professionalEddy Vluggen21-Jan-13 1:15 
GeneralRe: sql server 2008 Pin
PIEBALDconsult21-Jan-13 4:57
mvePIEBALDconsult21-Jan-13 4:57 
AnswerRe: sql server 2008 Pin
PIEBALDconsult18-Jan-13 4:01
mvePIEBALDconsult18-Jan-13 4:01 
Questionsql server Pin
yogika17-Jan-13 19:15
yogika17-Jan-13 19:15 
AnswerRe: sql server Pin
Eddy Vluggen18-Jan-13 1:37
professionalEddy Vluggen18-Jan-13 1:37 
AnswerRe: sql server Pin
Richard Deeming18-Jan-13 1:37
mveRichard Deeming18-Jan-13 1:37 
GeneralRe: sql server Pin
Eddy Vluggen18-Jan-13 2:13
professionalEddy Vluggen18-Jan-13 2:13 
GeneralRe: sql server Pin
Richard Deeming18-Jan-13 2:18
mveRichard Deeming18-Jan-13 2:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.