Forum Replies Created

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

  • RE: Encrypt Stored Procedure

    I see, so How can I encrypt the stored procedure?

  • RE: Duplicate Problem

    michael vessey (6/8/2012)


    wertyui (6/8/2012)


    michael vessey (6/8/2012)


    a couple of things here

    IF @NextOrderNo is null

    begin

    SET @OrderNo = (SELECT NextNo FROM NxNo (Nolock))

    update NxNo set NextNo = NextNo @increasevalue

    end

    1) remember to use...

  • RE: Duplicate Problem

    michael vessey (6/8/2012)


    a couple of things here

    IF @NextOrderNo is null

    begin

    SET @OrderNo = (SELECT NextNo FROM NxNo (Nolock))

    update NxNo set NextNo = NextNo @increasevalue

    end

    1) remember to use the WITH statement...

  • RE: Duplicate Problem

    I have try what your suggest but unfortunately still the same result.

  • RE: retreive data in different view

    Thank you both of you for this help.

  • RE: retreive data in different view

    CREATE TABLE [dbo].[TransData](

    [date] [smalldatetime] NOT NULL,

    [acode] [varchar](6) NOT NULL,

    [bcode] [varchar](30) NULL,

    [amt] [numeric](15, 4) NOT NULL DEFAULT ((0))

    )

    INSERT INTO [dbo].[TransData](date, acode, bcode, amt)

    SELECT '20110914', '6019','002',1427.1969

    SELECT '20110914', '6019','001',454.3912

    SELECT '20110914', '6019','002',99.6004

    SELECT '20110914',...

  • RE: How to check parameter value?

    @SSC-Enthusiastic

    Thank you for your helping out.

  • RE: How to check parameter value?

    yes, I would like to add it to where clause

    DECLARE mySQL_cur CURSOR FOR

    SELECT accno, accname

    FROM tb1 T1 (Nolock)

    LEFT JOINtb2 T2 (Nolock) ON T1.accno=T2.custcode

    WHERE T1.date=@date and

    GROUP BYaccno, accname

    OPEN mySQL_cur FETCH NEXT...

  • RE: Sorting non sequence

    Thanks Bro

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