
November 14th, 2011, 04:27 AM
|
|
Contributing User
|
|
Join Date: Oct 2003
Location: Germany
|
|
Quote: | Originally Posted by amstel_za I am hoping to append a column from Table B to Table A based on a simple sql join (e.g:
Table A
ID Value AnotherValue
1 a x
2 b y
3 c (null)
)
| So you want to add a new column to table A?
Quote: | I would rather stay away from the standard update statement | So you want to update data without using the UPDATE statement? Sounds like an impossible task.
If you do want to add a new column to TableA, you will have to do an alter table add column followed by an UPDATE statement to put the correct values into the new (empty) column.
The only other option you have, is to create a view that returns the joined data.
|