How to auto-generate a variable of data type VARCHAR
without a certain limit which means It has to be like 'AB1'
, 'AB2'
, 'AB3'
... up to infinity
Here there are mainly two points:
There is no identity column in this table
And sometimes it may have another pattern data in this column like
'AB1','AB2','AB3','PK1','AB4' Which is (AB(3+1))