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 |
|
dasu
Posting Yak Master
104 Posts |
Posted - 2004-10-05 : 09:01:16
|
| USE PUBSSELECT a.au_fname, a.au_lname, p.pub_nameFROM SYSOBJECTS, authors a LEFT OUTER JOIN publishers p ON a.city = p.city and SYSOBJECTS.ID=1 |
|
|
dev45
Yak Posting Veteran
54 Posts |
Posted - 2004-10-05 : 09:04:57
|
| USE PUBSSELECT a.au_fname, a.au_lname, p.pub_nameFROM SYSOBJECTS , authors a LEFT OUTER JOIN publishers pON a.city = p.city where SYSOBJECTS.ID=1?? |
 |
|
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2004-10-05 : 09:56:22
|
| why do you have sysobjects in there? what are you trying to do?- Jeff |
 |
|
|
AndrewMurphy
Master Smack Fu Yak Hacker
2916 Posts |
Posted - 2004-10-06 : 05:25:44
|
| "FROM SYSOBJECTS , authors a LEFT OUTER JOIN publishers p"you're mixing syntax statements/constructs.you can do"FROM SYSOBJECTS , authors a, publishers p"or"FROM SYSOBJECTS c LEFT JOIN authors a ON 1=1LEFT OUTER JOIN publishers p ON a.city = p.city"I agree with Jeff however....why SYSOBJECTS????? |
 |
|
|
|
|
|