This is a discussion on "ASP ADO SQL Query" within the Classic ASP section. This forum, and the thread "ASP ADO SQL Query are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
ASP ADO SQL Query
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
ASP ADO SQL Query
I'm having trouble thinking how to write a query ... i have two tables customer and contact ...they share a common element of customerID ... their is a login form based on the contactID, contactPassword within the contact table, based on that i want the contactID and customerID of contact, to display the fields of the customer table ...
Anyone keep up with that? |
|
|
|
|||
|
|
|||
|
Isnt that for all Customer ID?
What would you have to do for a particular Customer ID... |
|
|||
|
Add:
|
|
|||
|
Quote:
... we input the contactID, and therefore its the corresponding customerID ... but how do we write that? |
|
|||
|
Is it this simple
|
|
|||
|
Quote:
|
|
|||
|
I guess not ... doesnt return any values ....
|
|
|||
|
Could you maybe explain the question a little clearer please, I can't quite understand what you need.
Cheers |
|
||||
|
I have to say, I'm a little confused too... :S
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| asp, ado, sql, query |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Nav bar query | Scottie | Starting Out | 10 | Jun 9th, 2008 21:23 |
| query about my $query | ziggi | PHP Forum | 9 | Aug 10th, 2007 14:05 |
| MySQL query query | dangergeek | Databases | 3 | Apr 12th, 2007 12:45 |
| SUBSTRING in query | contiw | Databases | 0 | Oct 11th, 2006 19:23 |
| Query | accessman | Databases | 0 | Sep 22nd, 2005 19:48 |