Write a SQL query to make a column as unique?
Answer / Paritosh Vishnoi
To make a column unique in SQL Server, you need to create a UNIQUE constraint. Here's an example: ALTER TABLE Employees ADD CONSTRAINT uq_employeeid UNIQUE (EmployeeID)
| Is This Answer Correct ? | 0 Yes | 0 No |
How will you monitor replication activity and performance? What privilege do you need to use replication monitor? : sql server replication
How do you test your database? : sql server database administration
What is the STUFF function and how does it differ from the REPLACE function?
What is the difference between a function and a trigger?
What is the difference between clustered index and primary key?
What do you mean by sql server 2005 express management tools?
How to count groups returned with the group by clause in ms sql server?
how we can use a database with php.
Why we need sql server?
Explain about merge replications?
What are the authentication modes in sql server? How can it be changed?
what are defaults? : Sql server database administration
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)