Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
dsilvapt
Starting Member
4 Posts |
Posted - 2008-07-16 : 07:07:16
|
| I'm trying to use following command on SQL/400:UPDATE FILE1 SET FILE1.FIELD2=FILE2.FIELD2 WHERE FILE1.FIELD2<>FILE2.FIELD2And I got a error saying Column qualifier or table FIELD2 undefined.Any ideas? |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-07-16 : 07:13:22
|
| UPDATE f1 SET f1.FIELD2=f2.FIELD2 FROM FILE1 f1JOIN FILE2 f2ON f1.FIELD2<>f2.FIELD2 |
 |
|
|
dsilvapt
Starting Member
4 Posts |
Posted - 2008-07-16 : 07:19:51
|
| F1 means file1 or field1? |
 |
|
|
elancaster
A very urgent SQL Yakette
1208 Posts |
Posted - 2008-07-16 : 07:20:56
|
quote: Originally posted by dsilvapt I'm trying to use following command on SQL/400:UPDATE FILE1 SET FILE1.FIELD2=FILE2.FIELD2 WHERE FILE1.FIELD2<>FILE2.FIELD2And I got a error saying Column qualifier or table FIELD2 undefined.Any ideas?
...that's not SQL Server is it? Em |
 |
|
|
dsilvapt
Starting Member
4 Posts |
Posted - 2008-07-16 : 07:21:40
|
| Nope. Is SQL/400. |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-07-16 : 07:22:48
|
quote: Originally posted by dsilvapt Nope. Is SQL/400.
Then post in SQL/400 forums to get correct solution. This is MS SQL Forum. |
 |
|
|
elancaster
A very urgent SQL Yakette
1208 Posts |
Posted - 2008-07-16 : 07:23:31
|
| well... this forum is specifically dedicated to Microsoft SQL Server so you may find that responses do not necessarily apply to you environmentEm |
 |
|
|
dsilvapt
Starting Member
4 Posts |
Posted - 2008-07-16 : 07:26:20
|
| Sorry aobut that guys. Do you know any SQL/400 forum? |
 |
|
|
elancaster
A very urgent SQL Yakette
1208 Posts |
Posted - 2008-07-16 : 07:28:32
|
isn't it something to do with DB2 ?i'd try... www.dbforums.com...or google Em |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-07-16 : 23:43:21
|
| Or go to ibm site. |
 |
|
|
|
|
|