Click here to Skip to main content
15,900,258 members
Home / Discussions / Database
   

Database

 
GeneralRe: Abbreviatting large text fields with an ellipsis Pin
Neophyte306-Feb-08 3:18
Neophyte306-Feb-08 3:18 
GeneralRe: Abbreviatting large text fields with an ellipsis Pin
Neophyte306-Feb-08 3:22
Neophyte306-Feb-08 3:22 
GeneralRe: Abbreviatting large text fields with an ellipsis Pin
Mark Churchill6-Feb-08 16:36
Mark Churchill6-Feb-08 16:36 
GeneralNested Insert Into Statement Pin
Sallu17496-Feb-08 2:08
Sallu17496-Feb-08 2:08 
GeneralRe: Nested Insert Into Statement Pin
Colin Angus Mackay6-Feb-08 2:23
Colin Angus Mackay6-Feb-08 2:23 
GeneralRe: Nested Insert Into Statement Pin
Sallu17496-Feb-08 17:03
Sallu17496-Feb-08 17:03 
GeneralRe: Nested Insert Into Statement Pin
Colin Angus Mackay6-Feb-08 21:53
Colin Angus Mackay6-Feb-08 21:53 
QuestionConcatenate two column from different table Pin
kimo code6-Feb-08 0:51
kimo code6-Feb-08 0:51 
Hi All;
I have i 2 table named AcceptedMsg,AcceptedNickName
I Want to Concatenate two column(NickName From AcceptedNickName & Msgtext From AcceptedMsg) from the above table and using left outer join to concatenate with my criteria
but i meet a proplem when the first column is null i want the secound field "column " retrived as its value
but the result in this case null

here is my sql query statement
-------------------------------

select Allname = AcceptedNickName.nickname +':'+''+AcceptedMsg.msgtext from AcceptedMsg
left outer join AcceptedNickName
on AcceptedMsg.phoneno = AcceptedNickName.phoneno

and here is the result :
---------------------------
AllName
---------------
Null |
Kimo:Hi All |................... here meet the condition
Null |
---------------

But I want if sql cant meet the condition Retrived to me

AllName
---------------
are U there |
Kimo:Hi All |
thank you |
---------------
Can any one Help me.
Thanks For All

Kareem Elhosseny

GeneralRe: Concatenate two column from different table Pin
pmarfleet6-Feb-08 1:46
pmarfleet6-Feb-08 1:46 
GeneralRe: Concatenate two column from different table Pin
Neophyte306-Feb-08 2:16
Neophyte306-Feb-08 2:16 
GeneralRe: Concatenate two column from different table Pin
pmarfleet6-Feb-08 2:31
pmarfleet6-Feb-08 2:31 
GeneralRe: Concatenate two column from different table Pin
Neophyte306-Feb-08 2:56
Neophyte306-Feb-08 2:56 
GeneralRe: Concatenate two column from different table Pin
pmarfleet6-Feb-08 3:36
pmarfleet6-Feb-08 3:36 
GeneralRe: Concatenate two column from different table Pin
Neophyte306-Feb-08 3:43
Neophyte306-Feb-08 3:43 
GeneralRe: Concatenate two column from different table Pin
kimo code6-Feb-08 2:57
kimo code6-Feb-08 2:57 
Generalconcat command in stored procedure Pin
jithbiz00336-Feb-08 0:21
jithbiz00336-Feb-08 0:21 
GeneralRe: concat command in stored procedure Pin
pmarfleet6-Feb-08 0:47
pmarfleet6-Feb-08 0:47 
GeneralRe: concat command in stored procedure Pin
jithbiz00336-Feb-08 17:39
jithbiz00336-Feb-08 17:39 
GeneralRe: concat command in stored procedure Pin
jithbiz00336-Feb-08 23:23
jithbiz00336-Feb-08 23:23 
AnswerRe: concat command in stored procedure Pin
pmarfleet7-Feb-08 2:24
pmarfleet7-Feb-08 2:24 
Questionwhat is the exact meaning of this statement Pin
jagan1235-Feb-08 23:57
jagan1235-Feb-08 23:57 
AnswerRe: what is the exact meaning of this statement Pin
pmarfleet6-Feb-08 0:49
pmarfleet6-Feb-08 0:49 
GeneralRe: what is the exact meaning of this statement Pin
#realJSOP6-Feb-08 3:55
professional#realJSOP6-Feb-08 3:55 
GeneralSQL Server SSL Connection Pin
Ed Gadziemski5-Feb-08 16:05
professionalEd Gadziemski5-Feb-08 16:05 
GeneralSQL Server 2005 express issue Pin
ninkk5-Feb-08 8:18
ninkk5-Feb-08 8: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.