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 |
Tell me the phases a transaction has to undergo?
What are synonyms?
How can you swap values between two rows in a table using single- SQL statement?
1 Answers Tavant Technologies, Virtusa,
What is difference between group by and having?
wht's the differece between sqlserver05 and sqlserver2000
What is the difference between online clustering and Offline clustering?
What is stretch database in sql server?
What is the difference between char and varchar2 datatype in sql?
What are the main control-of-flow T-SQL constructs?
what is differece between union and union all
what are constraints? Explain different types of constraints? : Sql server database administration
Can you explain what are the restrictions applicable while creating views? : SQL Server Architecture
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)