|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SQL MS access coldfusion query
Can anyone tell me how I would add to the following working query another "join" condition. ie: what is the syntax
That join condition is Quote:
This is using coldfusion's SQL trying to access an MS access database. Thanks Code:
<cfquery name="GetCMbyEmail" DATASOURCE="#DS#"> SELECT main.CMNumber, main.NotificationList, main.CompIs FROM (main INNER JOIN notify ON main.notificationList = notify.email) INNER JOIN login ON notify.fullname=login.fullname WHERE login.fullname like '%#form.fullname#%' </cfquery> |
|
#2
|
||||
|
||||
|
You're already accessing the table "main" so why would you need to join it?
Why not just add it to your WHERE line? |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > SQL MS access coldfusion query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|