Skip to content
Loading
  • Rijwan Ansari
    +1
    Better use GUID, this will be unique for every records, NEWID() function generates unique GUID.
     
    NEWID() itself is a function. when called returns a GUID value
     
    Example:
    1. INSERT INTO TableName (Col1 , Col2, Col3)  
    2. VALUES (1 , 'Value 1', NEWID())    
     
    +1