Solved

rows affected

Posted on 2011-03-17
3
382 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

734 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