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 is a trigger?

7 Answers  


Beginning with sql server version 7 0, a new enhanced data type nchar was added what type of data is supported with this data type?

0 Answers  


How would you Update the rows which are divisible by 10, given a set of numbers in column?

3 Answers  


What is the difference between TRUNCATE and DROP?

0 Answers  


What do you understand by the denormalisation?

0 Answers  


What is the STUFF function and how does it differ from the REPLACE function?

2 Answers  


PC(code, model, speed, ram, hd, cd, price) Find the hard drive sizes that are equal among two or more PCs.

6 Answers   APX,


Display a roll having miminum marks in two subjects?

7 Answers   Patni,


What is Cross Join and in which scenario do we use Cross Join?

0 Answers   QuestPond,


Which tcp/ip port does the sql server run on? How can it be changed?

0 Answers  


What is difference between join and natural join?

0 Answers  


What happens if you delete a table that is used by a view?

0 Answers  


Categories