SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Incrementing alphanumeric values using sql
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kayinebi
Starting Member

Nigeria
1 Posts

Posted - 05/23/2013 :  03:32:45  Show Profile  Reply with Quote
Hello, guys, I have a table column named GRADE_LEVEL containing the grade levels of employees but the values are alphanumeric in nature. e.g HoAGS_GL10 and PSSS_GL15 where GL10 and GL15 are grade levels 10 and 15 respectively and HoAGS and PSSS stand for their respective salary structures. My problem is how to increment the grade levels. I am having serious problems with incrementing the grade levels because they are in alphanumeric form. can any please help with how to do this? Please this is urgent. I would really appreciate it if anyone can help me.
Thanks
Kayinebi

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 05/23/2013 :  03:34:45  Show Profile  Reply with Quote
see this

http://www.sqlteam.com/article/custom-auto-generated-sequences-with-sql-server

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000