Hi,
I don't know mssql to create client ID like CLT001, CLT002.... like this as auto generate when insert query performing, In addition can I mark as private key.
I don't want the auto generate using identity value from numeric ID, I need combination for clientID auto generation.
Additional information.
I use Asp.net and Javascript, Ajax.

Sonu GuptaPosted Aug 23, 2019, 5:26 AM
Nirav GandhiPosted Aug 23, 2019, 11:40 PM
Please use new CONCAT function which is available from SQL server 2014.
Chandrasekaran CPosted Aug 23, 2019, 5:07 AM
hi
I have table
I want Client ID CL0001, CL0002, ........CL9999.
if it reached A9999 it should new series like CM0001,CM0002,..........CM9999.
then CN,....ZZ
I am looking sql function or store procedure which will return max Series No.
Amit MohantyPosted Aug 23, 2019, 4:40 AM