Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
5 Character Generaton Routine
Message
From
25/08/2003 17:07:01
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
5 Character Generaton Routine
Miscellaneous
Thread ID:
00823200
Message ID:
00823200
Views:
46
I am working with SQL Server 2000. I need to generate a unique 5 character code for use as a code that will be displayed to users on successful add of a new record.

I am too new to SQL Stored Procedures to know where to start. I looked at the MD5 add in stored proc but it returns 32 characters. I must have only 5. I thought about taking the identity number and converting it to hex, but I dont know how.

If some kind person out there would help me I would appreciate it.
Terry Rooks
Software Systems Architect
Microsoft Certified Solution Developer.Net

If at first you don't succeed, then skydiving definitely isn't for you.
Next
Reply
Map
View

Click here to load this message in the networking platform