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
Ritendra Mall
NA
316
33.4k
Stored procedure for updating
Dec 4 2019 4:14 AM
Hello Everyone,
Please help to understand how i can write the store prodecure which will do following operations:-
suppose there are two tables named as table1 and table2 , the table 1 containting the old records but table2 containing fresh updated records. table2 is the replica of the table1 means having the same table staructure as table 1 having .
1) Now what we have to do is to compare the bothe records and list down all the records which exist in the table1(OLD TABLE) but not in table2(Updated table) .
2) once found the list of the records which are in the old table but not in new table, we have to set the status of those records as closed(which are not exist in the new table) .
Reply
Answers (
13
)
Difference between ANSI SQL and Ms SQL server
Transpose Sql Server Rows to Columns