How to get max 100 values from sql server
Answers were Sorted based on User's Feedback
Answer / rekha
select top 100 (field name)from table name order by (field
name) desc
| Is This Answer Correct ? | 14 Yes | 6 No |
Answer / zulfikar ali
SELECT TOP 100 FIELD_NAME
FROM TABLE_NAME
ORDER BY FIELD_NAME DESC
| Is This Answer Correct ? | 9 Yes | 1 No |
set rowcount 100
select * from tablename
| Is This Answer Correct ? | 4 Yes | 3 No |
SET ROWCOUNT 100
SELECT * FROM TABLENAME
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / ashis dey
select top 100 fieldname from tablename group by fieldname
| Is This Answer Correct ? | 0 Yes | 4 No |
Can two different columns be merged into single column? Show practically?
What are sparse columns?
Difference between: - Delete & Truncate - Table & View - Constraints & Triggers
What is the difference between login and a user?
13 Answers CTS, TCS,
What are the different types of collation sensitivity?
How can i give the restrictions for the data entry, if i wish to enter only I ,II, III, IV in the grade actegory of student table?
Equi join and non equi join is possible with sql server?
What are the steps you should follow to start sql server in single-user mode?
Mention the different types of replication in sql server.
What are the main differences between #temp tables and @table variables and which one is preferred?
Is sql server a database?
let's assume you have data that resides on sql server 6.5. You have to move it sql server 7.0. How are you going to do it? : Sql server database administration
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)