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 the dmvs? : sql server database administration

0 Answers  


What do we have to check in database testing?

0 Answers  


How to rename an existing table with the "sp_rename" stored procedure in ms sql server?

0 Answers  


How do I start sql server 2017?

0 Answers  


Can a database be shrunk with users active?

0 Answers  






wat will be the sql query to extract only last 3 records from table supose table hving thousands for records

19 Answers  


how many joins we can write if at all we have n no of tables

5 Answers   Tanla Solutions, TS,


What do you mean by the term 'normalization'?

0 Answers   Tech Mahindra,


Explain where clause?

0 Answers  


How to use subqueries with the exists operators in ms sql server?

0 Answers  


Write an sql query to find first weekday of the month?

0 Answers  


Can multiple columns be used in sql group by clause in ms sql server?

0 Answers  


Categories