标签:des for 数据 sp on c 数据库 r sql
1. ORACLE Select * FROM TABLE1 Where ROWNUM<=N
2. INFORMIX Select FIRST N * FROM TABLE1 where 1=1
3. MYSQL Select * FROM TABLE1 where 1=1 LIMIT N
4. DB2
Select * ROW_NUMBER() OVER(ORDER BY COL1 DESC) AS ROWNUM Where ROWNUM<=N
或者 Select COLUMN FROM TABLE where 1=1 FETCH FIRST N ROWS ONLY
5. SQL SERVER
Select TOP N * FROM TABLE1 where 1=1
or
SET ROWCOUNT N Select * FROM TABLE1 where 1=1 SET ROWCOUNT N1
6. SYBASE
SET ROWCOUNT N Select * FROM TABLE1 where 1=1 SET ROWCOUNT N1
7. FOXPRO
Select * TOP N FROM TABLE orDER BY COLUMN
8. ACCESS
Select TOP N * FROM TABLE1 where 1=1
标签:des for 数据 sp on c 数据库 r sql
原文地址:http://www.cnblogs.com/lzh1001/p/3975306.html