SQL error

Delete from uniqueatts;
Delete from ATTRIBUTES;
Delete from itemattributions;

I tried to run the above queries on SQL database but the following error occured.

0 row(s) affected)

(0 row(s) affected)

(1106 row(s) affected)

(827 row(s) affected)

(13798 row(s) affected)

(8278 row(s) affected)

(6309 row(s) affected)
Msg 3902, Level 16, State 1, Line 4
The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.

Any suggestions what to do?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

looks like you have other stuff in your window.  So your commit doesn't appear to apply to the statements you are showing

You are only showing 3 deletes, but you have 7 results.
Barry CunneyCommented:
there is a COMMIT at the end of the SQL statements but no matching begin tran

Normally if SQL statements are to be run in a transction you would have


Guy Hengel [angelIII / a3]Billing EngineerCommented:
you have a trigger in a table, which is doing "recursive" work, and somewhere there is a COMMIT without a BEGIN, or a ROLLBACK ...
i suggest that you

initially look for triggers (DELETE) on the tables/views that you're operating on.

secondly    investigate why the script has a commit without a begin tran...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Query Syntax

From novice to tech pro — start learning today.