in Sql Server I have a table StudentMaster in which I have One ID(Primary) column and other "StudentRollNo"(Not Primary) Column . I need to convert StudentRollNo as Another Identity Column .. I Tried this :
ALTER TABLE studentMaster alter column StudentRollNo AS ID + 0
But this is not working 'AS' and '+' are not acceptable in this Query . Is there any other Option in Sql Server ??