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 |
|
funflowers44
Starting Member
1 Post |
Posted - 2009-10-15 : 14:06:25
|
| can anyone assist with this error? update Aset end_dt = B.termdatefrom emp$emp_tp A JOIN emp B on (A.emp_cd = B.emp_cd)where B.termdate = '31-DEC-08';from emp$emp_tp A JOIN emp B on (A.emp_cd = B.emp_cd)*ERROR at line 3:ORA-00933: SQL command not properly ended |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
X002548
Not Just a Number
15586 Posts |
Posted - 2009-10-15 : 20:48:10
|
If you know of a better one, I'll be glad to check it outhigh and mighty is how I see most of the Oracle "community"Oh and my guess UPDATE A SET end_dt = B.termdate FROM "emp$emp_tp" A INNER JOIN "emp" B ON A.emp_cd = B.emp_cd WHERE B.termdate = '31-DEC-08'; Brett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspxAdd yourself!http://www.frappr.com/sqlteam |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-10-16 : 03:19:49
|
quote: Originally posted by X002548 If you know of a better one, I'll be glad to check it outhigh and mighty is how I see most of the Oracle "community"Oh and my guess UPDATE A SET end_dt = B.termdate FROM "emp$emp_tp" A INNER JOIN "emp" B ON A.emp_cd = B.emp_cd WHERE B.termdate = '31-DEC-08'; Brett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspxAdd yourself!http://www.frappr.com/sqlteam
This would only work in SQL Server, ACCESS and MYSQLYou need to use correlated subquery to do the same in ORACLEMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|