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 |
write a query to remove duplicate records without using primary key column?
to explain sql server 2000 architecture & authentication
what is difference between nchar and char in Sql server ?
Tell me about joins in database system and explain each in detail.
0 Answers Axtria, ITC Indian Tobacco Company,
What objects does the fn_my_permissions function reports on? : sql server security
Please differentiate between a local and a global temporary table?
What sql server means?
What is indexing explain it with an example?
Explain intellisense for query editing
What is the difference between a function and a stored procedure?
Why use update_statistics command in sql server?
Difference between Triggers and Stored Procedure
23 Answers Claimat, HCL, Protech, Silgate,
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)