Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SELECT TOP 2 * FROM Customers;
如何在不使用 Top 关键字的情况下在 sqlserver 2008 中查找前 2 条记录
尝试这个
SET ROWCOUNT 2 SELECT * FROM Customers ORDER BY 1 asc