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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Script Required
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

4 Posts

Posted - 04/10/2014 :  04:09:09  Show Profile  Reply with Quote

I need to tidy up my companies account codes within their ERP system. Current format is SUPPLIERA, SUPPLIERB, SUPPLIERC etc. what i've been asked to do is concatenate them to SUPP001, SUPP002, SUPP003 and with any new ones taking the next incremental number.

Is there such a script that will look at a particular field, take an instructed number of characters, then add a number at the end of the record?

edit: moved to proper forum

Edited by - davidhydro on 04/10/2014 04:09:26

Premature Yak Congratulator

22864 Posts

Posted - 04/10/2014 :  04:29:01  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
The methods shown at this post will help you


Failing to plan is Planning to fail
Go to Top of Page
  Previous Topic Topic Next 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.02 seconds. Powered By: Snitz Forums 2000