Click here to Skip to main content
15,890,527 members
Home / Discussions / Database
   

Database

 
GeneralRe: database Performance...... Pin
Blue_Boy30-Jun-09 0:15
Blue_Boy30-Jun-09 0:15 
GeneralRe: database Performance...... Pin
Niladri_Biswas30-Jun-09 0:26
Niladri_Biswas30-Jun-09 0:26 
GeneralRe: database Performance...... Pin
Isaac Gordon30-Jun-09 0:33
Isaac Gordon30-Jun-09 0:33 
QuestionHidden tables Pin
mistryshailesh29-Jun-09 21:52
mistryshailesh29-Jun-09 21:52 
AnswerRe: Hidden tables Pin
Niladri_Biswas29-Jun-09 23:10
Niladri_Biswas29-Jun-09 23:10 
QuestionOLEDB network failure recovery problem. Pin
CherezZaboro29-Jun-09 6:57
CherezZaboro29-Jun-09 6:57 
QuestionEncryptbyKey VARCHAR(50) Pin
Saamir29-Jun-09 6:42
Saamir29-Jun-09 6:42 
QuestionMy Sql Query Help Pin
Hulicat29-Jun-09 6:26
Hulicat29-Jun-09 6:26 
I have a query that is joining tables and calculating the SUM.

It seems to be working, however; the "SUM" is double what it should be.

Any ideas:




Select, spendaccount, spend.fromcode, spend.keyword,
spend.kwtype, SUM (Rev.trans)
Trans, SUM (rev.newaccounts)
newaccounts, SUM (rev.gross) Gross, SUM (rev.refunds)
Refunds, SUM (rev.net) Net, spend.clicks, spend.spend

From spend, Rev wherespend.fromcode=
rev.fromcode

group by spend.fromcode

Regards,
Hulicat

AnswerRe: My Sql Query Help Pin
Niladri_Biswas29-Jun-09 6:54
Niladri_Biswas29-Jun-09 6:54 
GeneralRe: My Sql Query Help Pin
Hulicat29-Jun-09 11:23
Hulicat29-Jun-09 11:23 
GeneralRe: My Sql Query Help [modified] Pin
Niladri_Biswas29-Jun-09 19:33
Niladri_Biswas29-Jun-09 19:33 
GeneralRe: My Sql Query Help Pin
Hulicat1-Jul-09 7:06
Hulicat1-Jul-09 7:06 
AnswerRe: My Sql Query Help Pin
smcnulty200029-Jun-09 21:19
smcnulty200029-Jun-09 21:19 
GeneralRe: My Sql Query Help Pin
Hulicat30-Jun-09 3:59
Hulicat30-Jun-09 3:59 
GeneralRe: My Sql Query Help Pin
Hulicat30-Jun-09 7:30
Hulicat30-Jun-09 7:30 
QuestionHow to Optimize DbTransactions (C#) with SQLServer ? Pin
kadaoui el mehdi29-Jun-09 4:55
kadaoui el mehdi29-Jun-09 4:55 
AnswerRe: How to Optimize DbTransactions (C#) with SQLServer ? Pin
Enver Maroshi29-Jun-09 7:10
Enver Maroshi29-Jun-09 7:10 
GeneralRe: How to Optimize DbTransactions (C#) with SQLServer ? Pin
kadaoui el mehdi29-Jun-09 7:32
kadaoui el mehdi29-Jun-09 7:32 
AnswerRe: How to Optimize DbTransactions (C#) with SQLServer ? Pin
Niladri_Biswas30-Jun-09 5:50
Niladri_Biswas30-Jun-09 5:50 
Questionon full-text-search Pin
leone29-Jun-09 4:47
leone29-Jun-09 4:47 
Questionho to retrieve a list of dependants Pin
Anoop Brijmohun29-Jun-09 2:59
Anoop Brijmohun29-Jun-09 2:59 
AnswerRe: ho to retrieve a list of dependants [modified] Pin
Niladri_Biswas29-Jun-09 23:59
Niladri_Biswas29-Jun-09 23:59 
GeneralRe: ho to retrieve a list of dependants Pin
Anoop Brijmohun5-Jul-09 20:16
Anoop Brijmohun5-Jul-09 20:16 
QuestionConvert String and Sort the the Intergers in a String ASC Pin
Vimalsoft(Pty) Ltd29-Jun-09 0:31
professionalVimalsoft(Pty) Ltd29-Jun-09 0:31 
AnswerRe: Convert String and Sort the the Intergers in a String ASC Pin
Aman Bhullar29-Jun-09 2:20
Aman Bhullar29-Jun-09 2:20 

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.