Forum Replies Created

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

  • RE: AUTOGENERATE Stored procedures example

    I found the solution myself.

    --Autogeneration Procedure

    create table RefVal_SID

    (

    SID int not null,

    constraint pk_refval_sid primary key clustered (SID asc)

    )

    create procedure AutogenerateID

    @startchar char(1),

    @result varchar(8) output

    as

    begin

    set nocount on;

    declare @CurrentSID int

    declare @CurrentYear Varchar(4)

    declare @UniqueID...

  • RE: AUTOGENERATE Stored procedures example

    Please help me

  • RE: AUTOGENERATE Stored procedures example

    Please, I'm a beginner.

    After reading Larry Sumuri tutorial on Seral ID Auto generation, I created a procedure.

    create table RefVal_SID

    (

    SID int not null,

    constraint pk_refval_sid primary key clustered (SID asc)

    )

    create procedure AutogenerateID...

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