Viewing 9 posts - 1 through 9 (of 9 total)
I see, so How can I encrypt the stored procedure?
January 16, 2013 at 11:38 am
michael vessey (6/8/2012)
wertyui (6/8/2012)
michael vessey (6/8/2012)
IF @NextOrderNo is null
begin
SET @OrderNo = (SELECT NextNo FROM NxNo (Nolock))
update NxNo set NextNo = NextNo @increasevalue
end
1) remember to use...
June 8, 2012 at 10:34 am
michael vessey (6/8/2012)
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...
June 8, 2012 at 5:02 am
I have try what your suggest but unfortunately still the same result.
June 8, 2012 at 4:04 am
Thank you both of you for this help.
January 27, 2012 at 5:49 am
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',...
January 27, 2012 at 4:32 am
@SSC-Enthusiastic
Thank you for your helping out.
November 16, 2011 at 9:59 am
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...
November 16, 2011 at 8:58 am
Viewing 9 posts - 1 through 9 (of 9 total)