Ask a Question related to ASP Database, Design and Development.
-
Mike #1
2 lists
On an ASP page I'm displaying all the records from a db
table with checkboxes.
I want to check another table to see if that ssn exist on
that table then mark the first list either checked (if
exist) or unchecked if not. What is the best way to do it?
should I :
read table1, then read table2 to determine if ssn exist on
table2 or...?
I'm thinking I could do it in a single read somehow with
joins or something. Let me know.
Mike Guest
-
Lists in lists
Is it posible to have multiple lists make up a list?, or to make an array or matrix of strings? I am making a tetris style game and I need to know... -
Lists
Hi I am working with text in a list in the movie script, and I need to create a paragraph brake. Is there anyone who can tell me what icon or... -
Lists within Lists???
I need to put numerous property lists (each with about 5 properties) in one main list. I think I'm being stupid but I can't seem to get it to work... -
Lists...
Hey, Currently I have many lists in my program; spriteList, spriteMemberList, textList, ect. I'm curious if it's just better (in terms of if it's... -
lists, attaching behaviour dynamiclly, update lists
Hello, I am trying to get these scripts to work correctly. What I am trying to do is: 1) Look into a folder called 'tank,' then when this is... -
Ray at #2
Re: 2 lists
If I understand what you're saying without knowing what your data structure
is like, it sounds like you want to use an outer join, i.e.
select distinct table1.ssn,table2.ssn from
table1 left outer join table2 on table1.ssn=table2.ssn
That will return all the ssns in table 1 and if there's not a match in
table2, the second column will be null.
Is that what you mean?
Ray at work
"Mike" <anonymous@discussions.microsoft.com> wrote in message
news:049a01c39353$fb8d0e80$a401280a@phx.gbl...> On an ASP page I'm displaying all the records from a db
> table with checkboxes.
>
> I want to check another table to see if that ssn exist on
> that table then mark the first list either checked (if
> exist) or unchecked if not. What is the best way to do it?
>
> should I :
> read table1, then read table2 to determine if ssn exist on
> table2 or...?
>
> I'm thinking I could do it in a single read somehow with
> joins or something. Let me know.
Ray at Guest
-
Mike #3
Re: 2 lists
Perfect, thank you!
your data structure>-----Original Message-----
>If I understand what you're saying without knowing whati.e.>is like, it sounds like you want to use an outer join,not a match in>
>select distinct table1.ssn,table2.ssn from
>table1 left outer join table2 on table1.ssn=table2.ssn
>
>That will return all the ssns in table 1 and if there'smessage>table2, the second column will be null.
>
>Is that what you mean?
>
>Ray at work
>
>
>
>
>"Mike" <anonymous@discussions.microsoft.com> wrote inon>news:049a01c39353$fb8d0e80$a401280a@phx.gbl...>> On an ASP page I'm displaying all the records from a db
>> table with checkboxes.
>>
>> I want to check another table to see if that ssn existit?>> that table then mark the first list either checked (if
>> exist) or unchecked if not. What is the best way to doon>>
>> should I :
>> read table1, then read table2 to determine if ssn exist>>> table2 or...?
>>
>> I'm thinking I could do it in a single read somehow with
>> joins or something. Let me know.
>
>.
>Mike Guest



Reply With Quote

