Hello,
Here's a table (TableA):
------------
id | name |
------------
1 | bob |
2 | john|
3 | tom |
4 | tim |
and here's another table (TableB):
---------------------
personId | language |
---------------------
1 | Eng |
2 | Eng |
3 | Eng |
4 | Eng |
How do I use a SELECT INTO (i think that's the correct method) to acheive the data in TableB?
What I mean is, I know how to use a select into to put the ids accross but I also want to set a default value for the language - Eng.
Any ideas?
Here's a table (TableA):
------------
id | name |
------------
1 | bob |
2 | john|
3 | tom |
4 | tim |
and here's another table (TableB):
---------------------
personId | language |
---------------------
1 | Eng |
2 | Eng |
3 | Eng |
4 | Eng |
How do I use a SELECT INTO (i think that's the correct method) to acheive the data in TableB?
What I mean is, I know how to use a select into to put the ids accross but I also want to set a default value for the language - Eng.
Any ideas?