Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Hexadecimal Number Generation

Author  Topic 

GiriC
Starting Member

2 Posts

Posted - 2006-02-28 : 11:08:23
I have a cursor that opens all the records in a table.

I need to generate a string like this "MSFT" + STATE + xx (hex)

State ABBREVIATION comes from the cursor. For a state I need to generate continous hexadecimal number starting with 00


Suppose I have a temp_x = 00
How do I generate the next hex number inside the Stored Proc?

TG
Master Smack Fu Yak Hacker

6065 Posts

Posted - 2006-02-28 : 13:22:41
duplicate:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=62498

Be One with the Optimizer
TG
Go to Top of Page
   

- Advertisement -