For Programmers: Free Programming Magazines  


Home > Archive > ASP > November 2005 > How to loop









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to loop
Tony WONG

2005-11-17, 9:55 pm

i have 2 tables (A & B) with date records

now i loop table A and then table B, the output will be table A in the front
and table B in the back.

how can i make the output show by date in both tables altogether?

do i need to combine tables before but the number of records is over 100K
which may spend a lot of processing power?

grateful for any hints?

thanks.

tony


bregent

2005-11-18, 6:56 pm

In article <ehB#k8#6FHA.3804@TK2MSFTNGP14.phx.gbl>, Tony WONG says...
>
>i have 2 tables (A & B) with date records
>
>now i loop table A and then table B, the output will be table A in the front
>and table B in the back.
>
>how can i make the output show by date in both tables altogether?
>
>do i need to combine tables before but the number of records is over 100K
>which may spend a lot of processing power?
>
>grateful for any hints?


You need to select from both tables at once, using a join operator. You join the
tables on the column that relate the two tables together.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com