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
What are the database objects? : SQL Server Architecture
What is a Join and explain its types?
What is the function of sql server agent windows service?
How can you stop stored procedures from recompiling?
Is sql different from sql server?
How to create indexed view?
How to disable a login name in ms sql server?
How to change the data type of an existing column with "alter table" statements in ms sql server?
Does sql server use t sql?
What are sql server procedures?
How many databases instances are there in sql server 2000?
What is dbcc command in sql server?
What is the sql case statement used for? Explain with an example?
Determine when an index is appropriate?
what is blocking? : Sql server database administration