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 is difference between table aliases and column aliases? Do they affect performance?
What is difference between temp table and cte?
What are the different editions available in sql server 2000?
Can a database be shrunk to 0 bytes, if not, why?
Mention the different authentication modes in sql server.
Explain about thread and memory management process of SQL?
What are trace flags and mention a few common trace flags used with sql server?
Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?
Explain transaction server distributed transaction?
what are isolation levels? : Sql server database administration
How do I find my localdb version?
What is a user-defined function in the sql server and what is its advantage?
How to declare and use cursor variables?
What are the common performance issues in sql server?
Explain the flow of creating a cube? : sql server analysis services, ssas