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 |
Wht is the difference between stored procedure and trigger
How you can move data or databases between servers and databases in sql server?
wat is tuff file in log shipping, wt is d use of tht file?
To which devices can a backup be created and where should these devices be located? : sql server management studio
How can you fetch alternate records from a table?
what is a deadlock? : Sql server database administration
What is the difference between TRUNCATE and DROP?
What are distributed partitioned views?
two tables with table name ship(name,year) and battle (name,year),how to find the latest added year in the table ship
What is the difference between SSAS 2000 and SSAS 2005?
Why can there be only one clustered index and not more than one?
How many categories of data types used by sql server?