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
raviteja sridasyam
NA
15
1.7k
update A table to B table data.
Jan 19 2016 4:43 AM
How to update A table data to B table data.
for example : i taken 3 rows.but millions of records are there in table A and B
and in Table B has more data than table A.
TABLE A
______________________________________
Distributor Code|Product Code|Status|Value |
--------------------------------------------------------------
110234 | 23241 | A | 21 |
231421 | 45432 | D | 23 |
343234 | 32425 | C | 43 |
--------------------------------------------------------------
TABLE B
______________________________________
Distributor Code|Product Code|Status|Value |
--------------------------------------------------------------
110234 | 43241 | D | 25 |
231421 | 34432 | A | 20 |
343234 | 52425 | A | 48 |
--------------------------------------------------------------
* When i update with table A data into B table below is table is result
Expected Result IN Table B:
______________________________________
Distributor Code|Product Code|Status|Value |
--------------------------------------------------------------
110234 | 23241 | A | 21 |
231421 | 45432 | D | 23 |
343234 | 32425 | C | 43 |
--------------------------------------------------------------
Reply
Answers (
5
)
From where i learn database MS SQL
How to hide database in management studio?