Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Limit?

  1. #1
    Utente di HTML.it
    Registrato dal
    Apr 2003
    Messaggi
    27

    Limit?

    usando php una volta in una SQL per un database ho usato anche la condizione LIMIT per tirare fuori ogni volta un determinato numero di record dal database, ma usando asp con un database access non me lo prende, come potrei fare in alternativa? grazie

  2. #2
    Utente di HTML.it L'avatar di Corwin
    Registrato dal
    Jan 2002
    Messaggi
    584
    SELECT TOP n-record * FROM TABELLA ?
    I don't wanna have to shout it out / I don't want my hair to fall out
    I don't wanna be filled with doubt / I don't wanna be a good boy scout
    I don't wanna have to learn to count / I don't wanna have the biggest amount
    I don't wanna grow up

  3. #3
    Utente di HTML.it
    Registrato dal
    Apr 2003
    Messaggi
    27
    e come faccio a digli da che record iniziare?

  4. #4
    Utente di HTML.it L'avatar di 99eros9
    Registrato dal
    Jan 2003
    Messaggi
    2,637
    credo che con TOP tu non possa specificare da quale riga iniziare come potevi, invece, con LIMIT
    Tala är silver men tiga är guld!
    Pubblica il tuo curriculum
    Segnala il tuo sito
    Ancl

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.