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 |
How to link tables in sql server?
What is data modeling and Reterminal integrity?
Which trace flags are enabled in sql server?
when we use function instead of procedure? plz tell me the situation with ex?
What is the difference between login and a user?
13 Answers CTS, TCS,
What is amo? : sql server analysis services, ssas
what is a default tcp/ip socket assigned for sql server? : Sql server database administration
hi, may i know what is the command to get abstract the current month, current year and current day from a given date.i want these three in a isolated way..seperatedly is that any way in sql server 2000
What are different types of collation sensitivity?
Do you know what is xpath?
What is the most common type of join?
Explain what are various ways to enhance the ssrs report?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)