Visualizzazione dei risultati da 1 a 10 su 15

Visualizzazione discussione

  1. #1
    Utente di HTML.it
    Registrato dal
    Jun 2002
    Messaggi
    1,183

    Interrompere stringa sql

    Ciao a tutti
    come faccio a mandare a capo questa stringa sql ?


    codice:
    dim objcmd as new oledbdataadapter ("Select * from reception_0 where tessera >="& datainizio2 &" and tessera <="& datafine2 &" union Select * from reception_1 where tessera >="& datainizio2 &" and tessera <="& datafine2 &" union Select * from reception_2 where tessera >="& datainizio2 &" and tessera <="& datafine2 &" union Select * from reception_3 where tessera >="& datainizio2 &" and tessera <="& datafine2 &" union Select * from reception_4 where tessera >="& datainizio2 &" and tessera <="& datafine2 &" union Select * from reception_5 where tessera >="& datainizio2 &" and tessera <="& datafine2 &" union Select * from reception_6 where tessera >="& datainizio2 &" and tessera <="& datafine2 &" union Select * from reception_7 where tessera >="& datainizio2 &" and tessera <="& datafine2 &" order by tessera desc, datas desc ", objconn)
    Ultima modifica di djciko; 27-07-2020 a 09:21
    victor
    ----------------------

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.