amma.NETtami

.NET walkabout
posts - 11, comments - 18, trackbacks - 0

mercoledì 23 aprile 2008

Clausola TOP n

SQL Server:
SELECT TOP 10 product, descr, email
FROM products
 
ORACLE:
SELECT product, descr, email
FROM products
WHERE ROWNUM <= 10

 
MySQL:
SELECT product, descr, email
FROM products
LIMIT 10

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (0) | Filed Under [ T-SQL Oracle MySQL ]

Powered by:
Powered By Subtext Powered By ASP.NET