How to select top 5 coloumn from a table without using
coloumn name
Answers were Sorted based on User's Feedback
Answer / aashish arora
SELECT top 5 * from information_schema.columns where
table_name = 'varTableName'
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dj
Select Top(5) COLUMN_NAME
from INFORMATION_SCHEMA.COLUMNS
Where TABLE_NAME = 'Emp';
Is This Answer Correct ? | 1 Yes | 0 No |
Explain in brief how sql server enhances scalability of the database system?
Does a specific recovery model need to be used for a replicated database? : sql server replication
How to genrate automaticlly empid like gt001
What is an execution plan? When would you use it?
Explain different types of collation sensitivity?
What is the difference between a fill factor of 100 and 0?
What is stored procedures?
Does partitioning improve performance?
How to create a large table with random data for index testing in ms sql server?
List all types of constraints in sql server?
What is the basic functions for master, msdb, tempdb databases?
What is the status of services on passive node for failover cluster in sql server? : sql server database administration