Click here to Skip to main content
15,894,646 members
Home / Discussions / Database
   

Database

 
GeneralRe: Sql Query Pin
Ashfield16-Apr-08 4:43
Ashfield16-Apr-08 4:43 
QuestionFetch DB2 table data into MS-Excel Pin
Jay_se15-Apr-08 22:57
Jay_se15-Apr-08 22:57 
GeneralRe: Fetch DB2 table data into MS-Excel Pin
ChandraRam16-Apr-08 1:27
ChandraRam16-Apr-08 1:27 
GeneralRe: Fetch DB2 table data into MS-Excel Pin
Jay_se16-Apr-08 19:49
Jay_se16-Apr-08 19:49 
QuestionRegarding sum of a column Pin
mrcsn15-Apr-08 21:41
mrcsn15-Apr-08 21:41 
AnswerRe: Regarding sum of a column Pin
Mycroft Holmes15-Apr-08 22:21
professionalMycroft Holmes15-Apr-08 22:21 
GeneralRe: Regarding sum of a column Pin
mrcsn21-Apr-08 19:56
mrcsn21-Apr-08 19:56 
GeneralRe: Regarding sum of a column Pin
Pete O'Hanlon15-Apr-08 23:24
mvePete O'Hanlon15-Apr-08 23:24 
Depending on whether you are trying to just add the two columns together, or add the sum of the columns together, you could either do:
select tbl1.column1 + tbl2.column as summation
or
select sum(tbl.column1 + tbl2.column) as total



Deja View - the feeling that you've seen this post before.

My blog | My articles



GeneralRe: Regarding sum of a column Pin
ChandraRam16-Apr-08 1:23
ChandraRam16-Apr-08 1:23 
QuestionRe: Regarding sum of a column Pin
mrcsn17-Apr-08 2:51
mrcsn17-Apr-08 2:51 
QuestionRe: Regarding sum of a column Pin
mrcsn21-Apr-08 20:00
mrcsn21-Apr-08 20:00 
GeneralRe: Regarding sum of a column Pin
ChandraRam21-Apr-08 20:10
ChandraRam21-Apr-08 20:10 
GeneralRe: Regarding sum of a column Pin
mrcsn21-Apr-08 20:27
mrcsn21-Apr-08 20:27 
GeneralRe: Regarding sum of a column Pin
ChandraRam21-Apr-08 20:53
ChandraRam21-Apr-08 20:53 
Questionsqldmo backup issue (Cannot open backup device) Pin
JoZ CaVaLLo15-Apr-08 21:36
JoZ CaVaLLo15-Apr-08 21:36 
GeneralRe: sqldmo backup issue (Cannot open backup device) Pin
SimulationofSai16-Apr-08 1:24
SimulationofSai16-Apr-08 1:24 
GeneralConnection of MS-Access 2007 to VC++2005 Pin
Le@rner15-Apr-08 19:56
Le@rner15-Apr-08 19:56 
GeneralRe: Connection of MS-Access 2007 to VC++2005 Pin
ChandraRam16-Apr-08 1:12
ChandraRam16-Apr-08 1:12 
Questionhow can i write a trigger for backup of table and calling a web service in sql server 2005? Pin
elham.a15-Apr-08 19:10
elham.a15-Apr-08 19:10 
QuestionDetecting a broken connection in SQL-ADO Pin
Ben_Slater15-Apr-08 10:46
Ben_Slater15-Apr-08 10:46 
GeneralRe: Detecting a broken connection in SQL-ADO Pin
SimulationofSai16-Apr-08 1:29
SimulationofSai16-Apr-08 1:29 
QuestionRe: Detecting a broken connection in SQL-ADO Pin
Ben_Slater16-Apr-08 5:08
Ben_Slater16-Apr-08 5:08 
QuestionHow to access a table in sql2005 database from stored procedure in another database Pin
Shaimmaa15-Apr-08 8:31
Shaimmaa15-Apr-08 8:31 
GeneralRe: How to access a table in sql2005 database from stored procedure in another database Pin
Sankar Komma 15-Apr-08 10:12
Sankar Komma 15-Apr-08 10:12 
GeneralRe: How to access a table in sql2005 database from stored procedure in another database Pin
Mycroft Holmes15-Apr-08 22:26
professionalMycroft Holmes15-Apr-08 22:26 

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.