CREATE TABLE dbo.Demo(ID INT IDENTITY PRIMARY KEY, IDwithChar AS 'C' + RIGHT('000000' + CAST(ID AS VARCHAR(10)), 6) PERSISTED )
No comments:
Post a Comment