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 thought on “SQL SERVER – SELECT TOP

Leave a Reply

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