flash tutorials

http://www.webdesigntutorials.net/flash_tutorials.php

Advertisements

To get the the first N records in a SQL query differs acording to database platforms.

Here’s some samples:

Microsoft SQL Server

SELECT TOP 10 column FROM table

PostgreSQL and MySQL

SELECT column FROM table
LIMIT 10

Oracle

SELECT column FROM table
WHERE ROWNUM <= 10

Sybase

SET rowcount 10
SELECT column FROM table

Firebird

SELECT FIRST 10 column 
FROM table
%d bloggers like this: