how can u select the Distinct values in the table, table
having 20 columns , i want all columns

Answer Posted / krishnamoorthy.n

select distinct * from <tablename>

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In one interview...interviewer ask me question pleas tell me sql server architecture.. can any body tell me the sql server architecture with digram

1506


What is sql server schema compare? How we can compare two database schemas?

555


What are the advantages of log shipping?

557


Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?

609


Explain different types of lock modes in sql server 2000?

516






What is nonclustered index on computed columns?

569


Do you know exporting and importing utility?

528


What is the maximum size of sql server database?

497


How do I run a trace in sql server?

496


How do you delete a data source?

535


What is reference section?

494


What is a database in ms sql server?

543


What do you mean by an execution plan? How would you view it?

491


What is not null constraint?

614


Explain magic tables in sql server?

545