Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's tripping me up here?
Message
From
07/03/2002 17:08:35
 
 
To
07/03/2002 16:51:58
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00629884
Message ID:
00629894
Views:
14
Steve,

For starters, you can't put quotes around the field names (or the table names, down, like around "wcc")...

This is against VFP data isn't it? If so, I don't think the syntax you have after the FROM is supported at all.

>I'm missing the syntax error in the following statement. Could one of the more experienced SQLers point to where I've wandered off the beaten path?
>
>SELECT
> Account."ID", Account."BOB_ID", Account."Profile_ID",
> Account_Contact."Contact_ID", Account_Contact."Account_ID", Account_Contact."Type",
> Household."Household_ID",
> Contact."Contact_ID", Contact."First_Name", Contact."Relationship",
> Profile_Member."Owning_Profile_ID", Profile_Member."Member_Profile_ID"
>FROM
> { oj ((("wcc"."Account" Account INNER JOIN "wcc"."Household" Household ON
> Account."Profile_ID" = Household."Household_ID")
> INNER JOIN "wcc"."Account_Contact" Account_Contact ON
> Account."ID" = Account_Contact."Account_ID")
> INNER JOIN "wcc"."Profile_Member" Profile_Member ON
> Household."Household_ID" = Profile_Member."Member_Profile_ID")
> INNER JOIN "wcc"."Contact" Contact ON
> Account_Contact."Contact_ID" = Contact."Contact_ID"}
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform