General information
Forum:
Microsoft SQL Server
Title:
Increment a number within a string
Environment versions
SQL Server:
SQL Server 2000
I need to imcrement a number within a string such as ME20070019. I need the ME to remain as a constant. The 2007 is the current year. I need to be able to increment the 0019 by one for each time the record is written to the file.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only