Click here to Skip to main content
15,891,248 members
Home / Discussions / Database
   

Database

 
AnswerRe: how to insert unicode character into SQL server 2005 from c# Pin
subai5-May-07 4:18
subai5-May-07 4:18 
GeneralRe: how to insert unicode character into SQL server 2005 from c# Pin
Software_Guy_1236-May-07 2:58
Software_Guy_1236-May-07 2:58 
QuestionIncorrect query result onINNER JOINS over three tables Pin
Joe Smith IX4-May-07 17:21
Joe Smith IX4-May-07 17:21 
AnswerRe: Incorrect query result onINNER JOINS over three tables Pin
Arun.Immanuel4-May-07 20:25
Arun.Immanuel4-May-07 20:25 
GeneralRe: Incorrect query result onINNER JOINS over three tables Pin
Joe Smith IX5-May-07 0:45
Joe Smith IX5-May-07 0:45 
GeneralRe: Incorrect query result onINNER JOINS over three tables Pin
Arun.Immanuel5-May-07 1:07
Arun.Immanuel5-May-07 1:07 
GeneralRe: Incorrect query result onINNER JOINS over three tables Pin
Joe Smith IX5-May-07 2:04
Joe Smith IX5-May-07 2:04 
GeneralRe: Incorrect query result onINNER JOINS over three tables Pin
Arun.Immanuel5-May-07 2:29
Arun.Immanuel5-May-07 2:29 
Use this for the moment, untill you find better solution.
SELECT     DAY(shift.date) AS day1, 
           MONTH(shift.date) AS month1, 
           YEAR(shift.date) AS year1, 
           C.SumPay AS sum1,
	   C.SumPri AS Sum2		
FROM       shift ,

(select shift_id,sum(payment) "SumPay" ,sum(A.sumPrincipal) "SumPri"  from invoice B,

(select invoice_id,sum(prod_principal) "sumPrincipal" from invoice_details group by invoice_id) A

where B.id=A.invoice_id group by B.shift_id) C

where shift.id=C.shift_id


Regards,
Arun Kumar.A

GeneralRe: Incorrect query result onINNER JOINS over three tables Pin
Joe Smith IX5-May-07 4:42
Joe Smith IX5-May-07 4:42 
QuestionXPO vs SQL Statement or Persistent Object VS SQL Pin
mfcuser4-May-07 8:01
mfcuser4-May-07 8:01 
AnswerRe: XPO vs SQL Statement or Persistent Object VS SQL Pin
Kevin McFarlane5-May-07 5:19
Kevin McFarlane5-May-07 5:19 
QuestionSyntax error converting datetime from character string. Pin
rujuc#4-May-07 0:57
rujuc#4-May-07 0:57 
AnswerRe: Syntax error converting datetime from character string. Pin
Marek Grzenkowicz4-May-07 1:07
Marek Grzenkowicz4-May-07 1:07 
AnswerRe: Syntax error converting datetime from character string. Pin
szukuro4-May-07 1:09
szukuro4-May-07 1:09 
GeneralRe: Syntax error converting datetime from character string. Pin
rujuc#4-May-07 2:22
rujuc#4-May-07 2:22 
GeneralRe: Syntax error converting datetime from character string. Pin
szukuro4-May-07 2:50
szukuro4-May-07 2:50 
Questiondownload Pin
lakkudavanam3-May-07 22:39
lakkudavanam3-May-07 22:39 
AnswerRe: download Pin
Hesham Amin4-May-07 21:54
Hesham Amin4-May-07 21:54 
QuestionDoes this Query return results based on the output of First Query? Pin
Vimalsoft(Pty) Ltd3-May-07 22:13
professionalVimalsoft(Pty) Ltd3-May-07 22:13 
AnswerRe: Does this Query return results based on the output of First Query? Pin
Arun.Immanuel3-May-07 22:35
Arun.Immanuel3-May-07 22:35 
GeneralRe: Does this Query return results based on the output of First Query? Pin
Vimalsoft(Pty) Ltd3-May-07 22:50
professionalVimalsoft(Pty) Ltd3-May-07 22:50 
GeneralRe: Does this Query return results based on the output of First Query? Pin
Arun.Immanuel3-May-07 23:37
Arun.Immanuel3-May-07 23:37 
GeneralRe: Does this Query return results based on the output of First Query? Pin
Vimalsoft(Pty) Ltd4-May-07 4:32
professionalVimalsoft(Pty) Ltd4-May-07 4:32 
QuestionBULK data import Pin
pmpdesign3-May-07 17:40
pmpdesign3-May-07 17:40 
AnswerRe: BULK data import Pin
PIEBALDconsult3-May-07 18:00
mvePIEBALDconsult3-May-07 18:00 

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.