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 |
as a part of your job, what are the dbcc commands that you commonly use for database maintenance? : Sql server database administration
Why do we partition data?
when you create a database how is it stored? : Sql server database administration
Can you explain what are various ways to enhance the ssrs report?
what is Equity join?
Define candidate key, alternate key, and composite key.
Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?
is it possible to use a variable in a query with the IN clause (a,b,c..z), without getting quotes or conversion errors?
Explain about extended stored procedure?
What are the different types of backups avaialabe in sql server 2005?
What are different types of statements that are supported by sql?
Explain the different types of joins?
Oracle (3253)
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)