TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rushal Arora
NA
112
175.4k
@@Rowcount in SQL
Mar 11 2013 6:47 AM
Alternative of top class for delete and update query in sql 2000 is @@Rowcount & in Sql 2005 or 2008 we have
delete top(1) from emp where salary = 13000
update top(1) emp set salary = 1000 where salary = 13000
Above two queries can be executed only in Sql 2005 or 2008 but if we need to execute it in sql 2000 we do it with the help of @@rowcount .
Please tell me the above two query using @@rowcount.
Reply
Answers (
8
)
wat is stored procedures in sql server?how to use?
a table value is unpivot