Viewing 3 posts - 1 through 3 (of 3 total)
selectA.part, Sum(A.Qty) - Sum(B.Qty)
fromparts A,
parts B
whereA.part = B.Part
A.Part = 'A'
A.locationTo = B.locationFrom
A.locationTo = 1
groupby A.part,B.part
quote:I need help with a complex SQL...
quote:
October 29, 2003 at 2:28 am
#480028
Hi,
You could create a loop using following syntax
While (your condition)
begin
Execution code
end
quote:I have been successful in creating a sql that will allow...
October 28, 2003 at 2:13 am
#479824
Hi hari,
hope this solves your problem:
declare @x money
set @x = 13445
select convert(char(10),@x,1)
Output is: 13,445.00
quote:How can i write 13445 as 13,445...
October 28, 2003 at 2:07 am
#479822