Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • RE: Tricky SQL Problem

    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...

  • RE: Creating a loop for updating

    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...

  • RE: formatting numbers

    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...

Viewing 3 posts - 1 through 3 (of 3 total)