Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in sql statement ?
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Error in sql statement ?
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01145673
Message ID:
01145673
Vues:
59
I trying to execute the following statement, when the exception is catched, I have displayed what the variable lcSQL evaulates to
lcSQL = "select count(meetingnumber) from meetings where iscancelled=0 and roomclosed=0 
lcSQL = lcSQL + " and isblock=0 and BeginTime beween " + lcStartDate + " and " + lcEndDate

<pre>
select count(meetingnumber) from meetings where iscancelled=0 and roomclosed=0 and isblock=0 and BeginTime beween 01/01/2006 00:00:00 and 12/31/2006 00:00:00
I'm using VB.NET

Any idea's what I'm missing.

Thanks

Kirk
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform