TimHudspith
asked on
Add alphanumeric identity column
I want to add a column to my table that takes the value of the identity column and prefixes it with 'A'. I don't know the syntax for specifying the varchar datatype within this statement:
ALTER TABLE T_MyTable
ADD ID2 AS 'A' + ID
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I confirm the above. it's not only a technical limitation, but also a matter of normalization of database tables