please give me query code of unique fuction

select UNIQUE (name) from emp_info

Incorrect syntax near the keyword 'UNIQUE'.



please give me query code of unique fuction select UNIQUE (name) from emp_info Incorrect synt..

Answer / sakthi

select DISTINCT (Column_Name) from Table_Name

Is This Answer Correct ?    18 Yes 2 No

Post New Answer

More SQL Server Interview Questions

What are triggers in ms sql server?

0 Answers  


What is the use of builtinadministrators group in sql server? : sql server security

0 Answers  


What are the pros and cons of creating extended stored procedures?

1 Answers  


What new changes are being made in SQL Server?

0 Answers   Blue Star,


What is the difference between clustered and non-clustered indexes in ms sql server?

0 Answers  


what is package and it uses and how can u call a package

0 Answers   Satyam,


Write a SQL query to delete a table?

0 Answers   Amdocs,


Explain what is scheduled job and how to create it?

0 Answers  


Define Joins?

0 Answers   HCL,


As per your opinion what are the five top responsibilities of a dba? : sql server database administration

0 Answers  


What's the purpose of Stored Procedure?

6 Answers   Wipro,


What is the difference between ROW_NUMBER and Ranking function in SQL SERVER?

0 Answers  


Categories