Solved

rows affected

Posted on 2011-03-17
3
377 Views
Last Modified: 2012-05-11
i ran an update on one row, but got 2 lines of results back.. what would the other be for?

(1 row(s) affected)

(1 row(s) affected)
0
Comment
Question by:anushahanna
3 Comments
 
LVL 15

Accepted Solution

by:
gplana earned 300 total points
ID: 35159901
Probably the updated table has a trigger which makes another update, so there are in fact two updates. This is the reason why sql analizer returns two outputs: one for the original update, and one for the updated made inside the trigger.

Hope it helps.
0
 
LVL 9

Assisted Solution

by:rajeevnandanmishra
rajeevnandanmishra earned 200 total points
ID: 35164114
Hi,

While checking as per the comments of "gplana", Please also check if you have enabled "Cascade Updates".
If that is the case, still you can get such result.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 35165058
thank you.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now