How to insert data in another table [message #617637] |
Wed, 02 July 2014 07:39 |
|
aaditya321
Messages: 225 Registered: January 2014 Location: Delhi
|
Senior Member |
|
|
here tale A and table B are two tables where data type and length
are same means table A col_1 is same table B col_1 and further likewise
table A col_2 is same as table B col_2, but Table B col_2 blank here, now I
want to insert data in table B col_2 but only those row insert
which is match to table A col_1 and table B col_1 if not match then value
should be null in table B col_2
Table A
col_1 Col_2
1 A
2 B
4 C
6 D
9 E
Table B
Col_1 Col_2
1
2
3
4
5
6
7
8
9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|