RSS

SELECT TOP N: MsSQL, ORACLE e MySQL

10 set

MsSQL:

SELECT TOP 10 Codigo, Descricao
FROM Clientes

ORACLE:

SELECT Codigo, Descricao
FROM Clientes
WHERE RowNum <= 10

MySQL:

SELECT Codigo, Descricao
FROM Clientes
LIMIT 10
 
1 Comment

Publicado por em 10/09/2009 em MySQL, Oracle, SqlServer, Tecnologia

 

Tags: , ,

Uma resposta para SELECT TOP N: MsSQL, ORACLE e MySQL

  1. hirmcoepope

    16/12/2009 at 22:12

    Fantastic, I did not heard about that up to the present. Thx!!

     

Deixe uma resposta

Preencha os seus dados abaixo ou clique em um ícone para log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Sair / Alterar )

Imagem do Twitter

You are commenting using your Twitter account. Sair / Alterar )

Foto do Facebook

You are commenting using your Facebook account. Sair / Alterar )

Connecting to %s

 
Seguir

Obtenha todo post novo entregue na sua caixa de entrada.