Click here to Skip to main content
15,903,030 members
Home / Discussions / Database
   

Database

 
GeneralRe: Plz help me...(Urgently)... Pin
Mycroft Holmes22-Mar-09 13:19
professionalMycroft Holmes22-Mar-09 13:19 
QuestionRewrite sql for Oracle and MySQL? Pin
devvvy20-Mar-09 1:12
devvvy20-Mar-09 1:12 
AnswerRe: Rewrite sql for Oracle and MySQL? Pin
Ashfield20-Mar-09 2:13
Ashfield20-Mar-09 2:13 
QuestionCan Microsoft SQL server work with Windows Vista home basic? Pin
RogerLum19-Mar-09 15:47
RogerLum19-Mar-09 15:47 
AnswerRe: Can Microsoft SQL server work with Windows Vista home basic? Pin
N a v a n e e t h19-Mar-09 20:31
N a v a n e e t h19-Mar-09 20:31 
QuestionCalculations Pin
Terick19-Mar-09 9:32
Terick19-Mar-09 9:32 
AnswerRe: Calculations Pin
David Mujica19-Mar-09 10:25
David Mujica19-Mar-09 10:25 
AnswerBad group Pin
David Mujica19-Mar-09 10:31
David Mujica19-Mar-09 10:31 
In your group by clause, you are trying to group by totalDays and totalcost which are aliases to computed columns. I've seen it where you have to repeat the function again in the group by clause instead of referencing the alias name. Something like below.

GROUP BY P.ProjectID, P.userID, P.startDate, P.enddate, C.quarter,P.Cost, P.percent, COUNT(C.date), ((percent/100)*totaldays*Cost*8)

Do you really need to group by these values ?
AnswerRe: Calculations Pin
Isaac Gordon21-Mar-09 2:09
Isaac Gordon21-Mar-09 2:09 
QuestionProblem while importing the data into sql server 2005 . Pin
Pankaj Garg19-Mar-09 8:05
Pankaj Garg19-Mar-09 8:05 
AnswerRe: Problem while importing the data into sql server 2005 . Pin
knagnayak30-Mar-09 1:02
knagnayak30-Mar-09 1:02 
QuestionCounting fields Pin
stevemarsh9919-Mar-09 8:05
stevemarsh9919-Mar-09 8:05 
AnswerRe: Counting fields Pin
Blue_Boy19-Mar-09 8:35
Blue_Boy19-Mar-09 8:35 
AnswerRe: Counting fields Pin
Seren Singh20-Mar-09 1:09
Seren Singh20-Mar-09 1:09 
AnswerRe: Counting fields Pin
Seren Singh20-Mar-09 1:14
Seren Singh20-Mar-09 1:14 
GeneralRe: Counting fields Pin
Blue_Boy20-Mar-09 4:55
Blue_Boy20-Mar-09 4:55 
QuestionMaking Decisions in T-SQL??? Pin
Seren Singh19-Mar-09 5:33
Seren Singh19-Mar-09 5:33 
Answersp_help Pin
David Mujica19-Mar-09 6:22
David Mujica19-Mar-09 6:22 
GeneralRe: sp_help Pin
Seren Singh19-Mar-09 20:01
Seren Singh19-Mar-09 20:01 
AnswerRe: Making Decisions in T-SQL??? Pin
Seren Singh20-Mar-09 1:01
Seren Singh20-Mar-09 1:01 
QuestionSQL '#define' statement Pin
RChin19-Mar-09 4:21
RChin19-Mar-09 4:21 
AnswerDynamic SQL Pin
David Mujica19-Mar-09 4:40
David Mujica19-Mar-09 4:40 
AnswerRe: SQL '#define' statement Pin
Eddy Vluggen19-Mar-09 5:19
professionalEddy Vluggen19-Mar-09 5:19 
QuestionCalculating a number in a query... Pin
stevemarsh9919-Mar-09 3:35
stevemarsh9919-Mar-09 3:35 
Questionimport csv - xls Pin
AndyInUK18-Mar-09 23:53
AndyInUK18-Mar-09 23:53 

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.