How to select Distinct columns from the table, table having
20 columns and i want all coulmns
Answer Posted / saleem
select *from tablename gives all distinct columns in the
table
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Does a specific recovery model need to be used for a replicated database? : sql server replication
Can you explain what is the use of custom fields in report?
How to write a query with an inner join in ms sql server?
What is the significance of null value and why should we avoid permitting null values?
Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?
How is table type constraint applied to a table?
What are functions in the sql server?
What are the steps to take to improve performance of a poor performing query? : sql server database administration
When is the use of update_statistics command?
Write a sql query to sort on different column name according to the parameters passed in the function?
What is clustered index
Do you know how to send email from database?
How do I shrink an ldf file?
What is the native system stored procedure to execute a command against all databases?
Can we take the full database backup in log shipping?