Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

generate sequence number in sql server

SELECT SeqNum= RIGHT('00000'+ CAST(1 AS VARCHAR(5)),5)
 
PREVIOUS NEXT
Tagged: #generate #sequence #number #sql #server
ADD COMMENT
Topic
Name
1+2 =