Click here to Skip to main content
15,891,657 members
Home / Discussions / Database
   

Database

 
GeneralRe: Sql server 2005 Pin
Nath25-Dec-08 18:31
Nath25-Dec-08 18:31 
GeneralRe: Sql server 2005 Pin
Wendelius25-Dec-08 21:50
mentorWendelius25-Dec-08 21:50 
GeneralRe: Sql server 2005 Pin
Nath25-Dec-08 22:35
Nath25-Dec-08 22:35 
GeneralRe: Sql server 2005 Pin
Wendelius25-Dec-08 22:43
mentorWendelius25-Dec-08 22:43 
GeneralRe: Sql server 2005 Pin
Nath25-Dec-08 22:39
Nath25-Dec-08 22:39 
GeneralRe: Sql server 2005 Pin
Wendelius25-Dec-08 23:11
mentorWendelius25-Dec-08 23:11 
GeneralRe: Sql server 2005 Pin
Nath25-Dec-08 23:45
Nath25-Dec-08 23:45 
GeneralRe: Sql server 2005 Pin
Wendelius26-Dec-08 1:06
mentorWendelius26-Dec-08 1:06 
You're on the right track. If you modify the query like the following, do you get right results
select t.str_firstname,
       t.str_lastname,
       l.str_phonetype,
       l.str_phonenumber 
from trans_contacts t 
     left outer join 
     trans_address_phones l 
     on (   t.int_contactid = l.int_contactid 
        and l.str_phonetype = 'L1')


The need to optimize rises from a bad design.My articles[^]

QuestionPLSQL ? ORA-01401: inserted value too large for column Pin
Reddy Prakash23-Dec-08 21:44
Reddy Prakash23-Dec-08 21:44 
AnswerRe: PLSQL ? ORA-01401: inserted value too large for column Pin
Reddy Prakash23-Dec-08 22:00
Reddy Prakash23-Dec-08 22:00 
AnswerRe: PLSQL ? ORA-01401: inserted value too large for column Pin
Wendelius23-Dec-08 22:07
mentorWendelius23-Dec-08 22:07 
QuestionCreate a folder with full Sharing Rights Pin
pdnet23-Dec-08 19:04
pdnet23-Dec-08 19:04 
AnswerHabitual Cross-Poster Pin
Rob Graham27-Dec-08 4:23
Rob Graham27-Dec-08 4:23 
QuestionSuper basic databinding Pin
Brice1423-Dec-08 16:05
Brice1423-Dec-08 16:05 
AnswerRe: Super basic databinding Pin
Syed Mehroz Alam23-Dec-08 19:03
Syed Mehroz Alam23-Dec-08 19:03 
GeneralRe: Super basic databinding Pin
Brice1424-Dec-08 5:02
Brice1424-Dec-08 5:02 
Questionhelp................! Pin
podolski23-Dec-08 15:39
podolski23-Dec-08 15:39 
AnswerRe: help................! Pin
Paddy Boyd23-Dec-08 22:20
Paddy Boyd23-Dec-08 22:20 
QuestionSybase AutoNumber/Identity Column Resetting Pin
mobius11100123-Dec-08 8:28
mobius11100123-Dec-08 8:28 
AnswerRe: Sybase AutoNumber/Identity Column Resetting Pin
Wendelius23-Dec-08 8:44
mentorWendelius23-Dec-08 8:44 
Questionformat date [modified] Pin
cbe_pav23-Dec-08 1:26
cbe_pav23-Dec-08 1:26 
AnswerRe: format date Pin
Syed Mehroz Alam23-Dec-08 20:52
Syed Mehroz Alam23-Dec-08 20:52 
GeneralRe: format date Pin
cbe_pav23-Dec-08 23:59
cbe_pav23-Dec-08 23:59 
QuestionQuery Optimization Pin
ruanr23-Dec-08 0:30
ruanr23-Dec-08 0:30 
AnswerRe: Query Optimization Pin
Paddy Boyd23-Dec-08 0:52
Paddy Boyd23-Dec-08 0:52 

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.