leveetated
Programmer
Hello SQL experts,
I have a simple task, and despite my forum searches and Google searches I have not yet found a solution that "clicks" for me.
I have roughly 1300 rows, which is a subset of a table (items), where one field "itemNumber" (char (42)) needs to be incremented by one for each of the 1300 rows.
The current format looks like this - no particular order:
PTY0008.12.01
PTY0002.13.55
PTY0010.234.88
etc.
The format should end up looking like this:
1042.11.1
1042.11.2
1042.11.3
and so on, up to .1300.
I know this must be simple - I can't re-design the field to be an int field, but I'm at a loss & I've been looking at this too long!
Many thanks for all your kind help.
Best wishes.
I have a simple task, and despite my forum searches and Google searches I have not yet found a solution that "clicks" for me.
I have roughly 1300 rows, which is a subset of a table (items), where one field "itemNumber" (char (42)) needs to be incremented by one for each of the 1300 rows.
The current format looks like this - no particular order:
PTY0008.12.01
PTY0002.13.55
PTY0010.234.88
etc.
The format should end up looking like this:
1042.11.1
1042.11.2
1042.11.3
and so on, up to .1300.
I know this must be simple - I can't re-design the field to be an int field, but I'm at a loss & I've been looking at this too long!
Many thanks for all your kind help.
Best wishes.