Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    [Mysql] Campo Null o vuoto

    Salve ragazzi,
    ho realizzato questa stringa mysql
    codice:
    Set rs = Conn.Execute("select * from tabella where campoa='" & valore1 & "' and campo2<>"" and  campo3='campo3'")
    Purtroppo continuo a ricevere questo erroe
    codice:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    
    You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '" and campo3='campo3'' at line 1
    Perchè?

  2. #2

  3. #3
    Stringa:
    codice:
    Set rs = Connlo.Execute("select * from clientimetatab where emailmeta='" & actionform2 & "' and  utconferma<>''  validometa='conferma'")
    Errore:
    codice:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    
    You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'validometa='conferma'' at line 1

  4. #4
    ti manca un operatore logico (AND, OR;...) prima di validometa

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.