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
 Transact-SQL (2000)
 how to generate identity value for alphanumeric

Author  Topic 

salmonraju
Yak Posting Veteran

54 Posts

Posted - 2006-10-20 : 02:24:30
hi,
this is a simple question ,
1. can i generate identity property for alphanumeric strings
Ex: my string is Bb001 now i want system to generate the new row with Bb002 will it happen

nr
SQLTeam MVY

12543 Posts

Posted - 2006-10-20 : 05:51:35
identities have to be numeric so no you can't.
You can split it into two columns one character and one identity - but do you don't need the char part if it's constant

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-10-20 : 12:44:25
Refer this

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=57069

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -