Viewing 3 posts - 1 through 3 (of 3 total)
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...
April 15, 2010 at 10:10 am
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...
April 13, 2010 at 6:02 am
Viewing 3 posts - 1 through 3 (of 3 total)