Click here to Skip to main content
16,006,065 members
Home / Discussions / Database
   

Database

 
Questionintegrating 2 sql results Pin
dansoft17-Apr-06 18:21
dansoft17-Apr-06 18:21 
AnswerRe: integrating 2 sql results Pin
Colin Angus Mackay17-Apr-06 20:50
Colin Angus Mackay17-Apr-06 20:50 
GeneralRe: integrating 2 sql results Pin
dansoft18-Apr-06 4:30
dansoft18-Apr-06 4:30 
GeneralRe: integrating 2 sql results Pin
Darpan Gogia18-Apr-06 23:24
Darpan Gogia18-Apr-06 23:24 
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 2:40
dansoft19-Apr-06 2:40 
GeneralRe: integrating 2 sql results Pin
Darpan Gogia19-Apr-06 2:42
Darpan Gogia19-Apr-06 2:42 
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 2:55
dansoft19-Apr-06 2:55 
GeneralRe: integrating 2 sql results Pin
Darpan Gogia19-Apr-06 3:00
Darpan Gogia19-Apr-06 3:00 
yes this is correct form of coalesce.

in the second question, you are performing calculation on integer so it returns integer. you need to cast/convert the result to decimal/float to get the decimal value of the query as:

CAST(1/2 as double), convert check the Books online for syntax help!!

Best Regards,

Darpan Gogia
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 3:11
dansoft19-Apr-06 3:11 
QuestionRe: integrating 2 sql results Pin
dansoft19-Apr-06 3:40
dansoft19-Apr-06 3:40 
AnswerRe: integrating 2 sql results Pin
Darpan Gogia19-Apr-06 3:56
Darpan Gogia19-Apr-06 3:56 
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 4:19
dansoft19-Apr-06 4:19 
GeneralRe: integrating 2 sql results Pin
dansoft19-Apr-06 6:03
dansoft19-Apr-06 6:03 
QuestionSql 2000 'text' datatype Pin
karinb17-Apr-06 9:52
karinb17-Apr-06 9:52 
AnswerRe: Sql 2000 'text' datatype Pin
Eric Dahlvang17-Apr-06 10:18
Eric Dahlvang17-Apr-06 10:18 
QuestionRe: Sql 2000 'text' datatype Pin
Eric Dahlvang17-Apr-06 10:21
Eric Dahlvang17-Apr-06 10:21 
AnswerRe: Sql 2000 'text' datatype Pin
karinb17-Apr-06 10:29
karinb17-Apr-06 10:29 
AnswerRe: Sql 2000 'text' datatype Pin
Eric Dahlvang17-Apr-06 10:58
Eric Dahlvang17-Apr-06 10:58 
GeneralRe: Sql 2000 'text' datatype Pin
karinb17-Apr-06 11:50
karinb17-Apr-06 11:50 
AnswerRe: Sql 2000 'text' datatype Pin
Eric Dahlvang17-Apr-06 12:14
Eric Dahlvang17-Apr-06 12:14 
AnswerRe: Sql 2000 'text' datatype Pin
karinb17-Apr-06 11:42
karinb17-Apr-06 11:42 
Questionhow to access nested tables of oracle through ADO.net Pin
kam_ps17-Apr-06 9:38
kam_ps17-Apr-06 9:38 
AnswerRe: how to access nested tables of oracle through ADO.net Pin
Colin Angus Mackay17-Apr-06 20:56
Colin Angus Mackay17-Apr-06 20:56 
GeneralRe: how to access nested tables of oracle through ADO.net Pin
Darpan Gogia18-Apr-06 23:31
Darpan Gogia18-Apr-06 23:31 
GeneralRe: how to access nested tables of oracle through ADO.net Pin
Colin Angus Mackay18-Apr-06 23:34
Colin Angus Mackay18-Apr-06 23:34 

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.