0
Access SQL
LEGEND
,
/t5/dreamweaver-discussions/access-sql/td-p/499070
Nov 06, 2007
Nov 06, 2007
Copy link to clipboard
Copied
Hi,
Whats wrong with this SQL statement?
SELECT * FROM Main_tbl, Contact_tbl, AdminComments_tbl Left Join
AdminComments_tbl ON Main_tbl.ID=AdminComments_tbl.Maintblid WHERE
(Main_tbl.CompanyID = Contact_tbl.AutoID)
I keep getting the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in JOIN operation.
Thanks!
Whats wrong with this SQL statement?
SELECT * FROM Main_tbl, Contact_tbl, AdminComments_tbl Left Join
AdminComments_tbl ON Main_tbl.ID=AdminComments_tbl.Maintblid WHERE
(Main_tbl.CompanyID = Contact_tbl.AutoID)
I keep getting the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in JOIN operation.
Thanks!
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Newsgroup_User
AUTHOR
LEGEND
,
/t5/dreamweaver-discussions/access-sql/m-p/499071#M184296
Nov 07, 2007
Nov 07, 2007
Copy link to clipboard
Copied
> Whats wrong with this SQL statement?
Just about everything!
You really need to think about what you are trying to achieve with your
SELECT and then form your query with consideration and thought. You have
errors just about everywhere in your current statement.
Pat.
"MM User" <mmuser@microsoft.com> wrote in message
news:fgqugg$eko$1@forums.macromedia.com...
> Hi,
>
> Whats wrong with this SQL statement?
>
> SELECT * FROM Main_tbl, Contact_tbl, AdminComments_tbl Left Join
> AdminComments_tbl ON Main_tbl.ID=AdminComments_tbl.Maintblid WHERE
> (Main_tbl.CompanyID = Contact_tbl.AutoID)
>
>
> I keep getting the following error:
>
> Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
>
> [Microsoft][ODBC Microsoft Access Driver] Syntax error in JOIN operation.
>
>
> Thanks!
Just about everything!
You really need to think about what you are trying to achieve with your
SELECT and then form your query with consideration and thought. You have
errors just about everywhere in your current statement.
Pat.
"MM User" <mmuser@microsoft.com> wrote in message
news:fgqugg$eko$1@forums.macromedia.com...
> Hi,
>
> Whats wrong with this SQL statement?
>
> SELECT * FROM Main_tbl, Contact_tbl, AdminComments_tbl Left Join
> AdminComments_tbl ON Main_tbl.ID=AdminComments_tbl.Maintblid WHERE
> (Main_tbl.CompanyID = Contact_tbl.AutoID)
>
>
> I keep getting the following error:
>
> Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
>
> [Microsoft][ODBC Microsoft Access Driver] Syntax error in JOIN operation.
>
>
> Thanks!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Newsgroup_User
AUTHOR
LEGEND
,
LATEST
/t5/dreamweaver-discussions/access-sql/m-p/499072#M184299
Nov 10, 2007
Nov 10, 2007
Copy link to clipboard
Copied
Hi Pat,
From your reply - maybe I need to be specific about the Select statment and
only list which variables I need?
Thanks
"Pat Shaw" <pat@nomail.com> wrote in message
news:fgrvc9$pom$1@forums.macromedia.com...
>> Whats wrong with this SQL statement?
>
> Just about everything!
>
> You really need to think about what you are trying to achieve with your
> SELECT and then form your query with consideration and thought. You have
> errors just about everywhere in your current statement.
>
> Pat.
>
>
> "MM User" <mmuser@microsoft.com> wrote in message
> news:fgqugg$eko$1@forums.macromedia.com...
>> Hi,
>>
>> Whats wrong with this SQL statement?
>>
>> SELECT * FROM Main_tbl, Contact_tbl, AdminComments_tbl Left Join
>> AdminComments_tbl ON Main_tbl.ID=AdminComments_tbl.Maintblid WHERE
>> (Main_tbl.CompanyID = Contact_tbl.AutoID)
>>
>>
>> I keep getting the following error:
>>
>> Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
>>
>> [Microsoft][ODBC Microsoft Access Driver] Syntax error in JOIN operation.
>>
>>
>> Thanks!
>
>
From your reply - maybe I need to be specific about the Select statment and
only list which variables I need?
Thanks
"Pat Shaw" <pat@nomail.com> wrote in message
news:fgrvc9$pom$1@forums.macromedia.com...
>> Whats wrong with this SQL statement?
>
> Just about everything!
>
> You really need to think about what you are trying to achieve with your
> SELECT and then form your query with consideration and thought. You have
> errors just about everywhere in your current statement.
>
> Pat.
>
>
> "MM User" <mmuser@microsoft.com> wrote in message
> news:fgqugg$eko$1@forums.macromedia.com...
>> Hi,
>>
>> Whats wrong with this SQL statement?
>>
>> SELECT * FROM Main_tbl, Contact_tbl, AdminComments_tbl Left Join
>> AdminComments_tbl ON Main_tbl.ID=AdminComments_tbl.Maintblid WHERE
>> (Main_tbl.CompanyID = Contact_tbl.AutoID)
>>
>>
>> I keep getting the following error:
>>
>> Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
>>
>> [Microsoft][ODBC Microsoft Access Driver] Syntax error in JOIN operation.
>>
>>
>> Thanks!
>
>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

