SQL SERVER – SELECT TOP

sql_server_2000

Query que saca los últimos 20 registros


SET ROWCOUNT 0
SELECT TOP 20 * FROM SMSRecibidos2 ORDER BY idSMSr DESC

One Reply to “SQL SERVER – SELECT TOP”

Leave a Reply

Your email address will not be published. Required fields are marked *