How to select top 5 coloumn from a table without using
coloumn name
Answer Posted / dj
Select Top(5) COLUMN_NAME
from INFORMATION_SCHEMA.COLUMNS
Where TABLE_NAME = 'Emp';
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?
What is difference between delete & truncate commands?
Describe in brief sql server monitoring ways.
What is difference between table aliases and column aliases? Do they affect performance?
What is a trace frag? Where do we use it?
Disadvantages of the indexes?
How to recreate an existing index in ms sql server?
What is the purpose of data source?
How to filter out duplications in the returning rows in ms sql server?
What do you understand by mirroring and mention the advantages of the mirroring?
What is wide table?
What are two difference between sql azure and azure tables?
Explain data warehousing in sql server?
What is a collation?
What does it mean to be in union?