Skip to content
B-Ingenious Best Digital Marketing, Software Development & Website Desiging Company in Vapi | Gujarat | India | UK | USA | Australia | UAE
  • Home
  • About Us
  • [ Home ]
  • [ About Us ]

Tag: UNIQUE KEY

Add/Alter UNIQUE Key to Table in SQL.

  • Posted October 19, 2013
  • by Bhargav Patel
  • Leave a Comment on Add/Alter UNIQUE Key to Table in SQL.

Create Table TABLENAME

(

ID bigint primary key,

Name varchar(250) Unique Key

)

–Single Unique Key in Table

ALTER TABLE TABLENAME ADD CONSTRAINT
UC_ConstraintName UNIQUE NONCLUSTERED
(
Field1,Field2,Field3
)

–Unique Key Combination in SQL.

Recent Posts

  • Set MID Form Background Color in C-Sharp
  • Check Collation Name of Columns in Database
  • Get Months First and Last Date in SQl
  • Encryption and Decryption By Password in SQL
  • Encryption and Decryption in SQL
  • Home
  • About Us
Copyright © 2021 . All rights reserved.
  • [ Home ]
  • [ About Us ]