Hi friends,
Anyway to name a primary key at the time the same is being declared? For example, using a query like:
ALTER TABLE LOANDETAILS.MTH_201408
ADD PRIMARY KEY (LG_CUST_ID, LG_ACC_ID, LG_SRC_SYS)
for a table, can an approach be made to name the PK right at this step, instead of finding the one named by the SQL Server unclearly, something as 'PK__MTH_20140__110E2E2DC4061AA3' and using sp_rename to name it much more clearly?
Thanx in advance, Best Regards, Faraz A Qureshi