Click here to Skip to main content
15,886,199 members
Home / Discussions / Database
   

Database

 
GeneralRe: threshold Problem when running long Procedures Pin
Wendelius11-Oct-08 1:08
mentorWendelius11-Oct-08 1:08 
GeneralRe: threshold Problem when running long Procedures Pin
Vimalsoft(Pty) Ltd11-Oct-08 1:16
professionalVimalsoft(Pty) Ltd11-Oct-08 1:16 
GeneralRe: threshold Problem when running long Procedures Pin
Wendelius11-Oct-08 1:19
mentorWendelius11-Oct-08 1:19 
Questionhow can I make the value of an attribute in a table as SYSDATE Pin
alexyxj10-Oct-08 10:01
alexyxj10-Oct-08 10:01 
AnswerRe: how can I make the value of an attribute in a table as SYSDATE Pin
Colin Angus Mackay10-Oct-08 13:19
Colin Angus Mackay10-Oct-08 13:19 
AnswerRe: how can I make the value of an attribute in a table as SYSDATE Pin
Al Ortega10-Oct-08 15:41
Al Ortega10-Oct-08 15:41 
AnswerRe: how can I make the value of an attribute in a table as SYSDATE Pin
Wendelius10-Oct-08 19:48
mentorWendelius10-Oct-08 19:48 
QuestionLeft JOIN Pin
polishprogrammer10-Oct-08 5:57
polishprogrammer10-Oct-08 5:57 
I need to be able to pull information from two tables. The first table is the master table that contains the essential information about some object, wherease the second table has some other data related to that object. I need to pull information from the first table regardless of whether there is a match in the second table (class LEFT JOIN), but if there is a record in the second table, I need to pull data only from the latest record in the second table. So, the query would look something like:

SELECT Table1.*, Table2.* FROM Table1 LEFT JOIN Table2 ON table1.field1=table2.field1 WHERE ????

I have an autonumber field in the 2nd table that can be used to retrieve the latest record from table2. Could that be used to retrieve the latest record, and, if so, how?

Thanks.
AnswerRe: Left JOIN Pin
Tim Carmichael10-Oct-08 6:08
Tim Carmichael10-Oct-08 6:08 
GeneralRe: Left JOIN Pin
polishprogrammer10-Oct-08 6:28
polishprogrammer10-Oct-08 6:28 
GeneralRe: Left JOIN Pin
Tim Carmichael10-Oct-08 6:55
Tim Carmichael10-Oct-08 6:55 
GeneralRe: Left JOIN Pin
polishprogrammer10-Oct-08 8:31
polishprogrammer10-Oct-08 8:31 
GeneralRe: Left JOIN Pin
Tim Carmichael10-Oct-08 8:33
Tim Carmichael10-Oct-08 8:33 
QuestionRe: Left JOIN Pin
polishprogrammer13-Oct-08 6:07
polishprogrammer13-Oct-08 6:07 
AnswerRe: Left JOIN Pin
Tim Carmichael13-Oct-08 9:49
Tim Carmichael13-Oct-08 9:49 
GeneralRe: Left JOIN Pin
polishprogrammer13-Oct-08 11:07
polishprogrammer13-Oct-08 11:07 
AnswerRe: Left Outter JOIN Pin
David Mujica10-Oct-08 6:19
David Mujica10-Oct-08 6:19 
GeneralRe: Left Outter JOIN Pin
polishprogrammer10-Oct-08 6:47
polishprogrammer10-Oct-08 6:47 
Questionsql hierarchal data retrieval Pin
sana1710-Oct-08 5:11
sana1710-Oct-08 5:11 
AnswerRe: sql hierarchal data retrieval Pin
Wendelius10-Oct-08 6:40
mentorWendelius10-Oct-08 6:40 
GeneralRe: sql hierarchal data retrieval Pin
sana1710-Oct-08 6:53
sana1710-Oct-08 6:53 
GeneralRe: sql hierarchal data retrieval Pin
Wendelius10-Oct-08 6:58
mentorWendelius10-Oct-08 6:58 
GeneralRe: sql hierarchal data retrieval Pin
Giorgi Dalakishvili10-Oct-08 8:36
mentorGiorgi Dalakishvili10-Oct-08 8:36 
GeneralRe: sql hierarchal data retrieval Pin
sana1711-Oct-08 4:27
sana1711-Oct-08 4:27 
QuestionPerformance Issue in Query Pin
ashwanigl10-Oct-08 4:18
ashwanigl10-Oct-08 4:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.