Toon posts:

[SQL/Access] SQL Query geeft nix terug

Pagina: 1
Acties:

Verwijderd

Topicstarter
Voor dit probleem heb ik al gezocht op dit forum, google. Je kan dus niet zeggen dat ik eerst maar es moet zoeken. Mijn probleem is het volgende:

Ik heb een Access database met een memo veld. In de database staat ongeveer 17 records waarbij het memo veld leeg is. Wat is je probleem vraag je je nu af?

Nou als ik mbv ASP op wil vragen hoeveel records een lege inhoud hebben in het memoveld geeft hij altijd 0 terug. Ik heb de volgende SQL Query's gebruikt:

SQL = " SELECT * FROM Stat WHERE Inhoud = '' "
SQL = " SELECT * FROM Stat WHERE Inhoud = Null "
SQL = " SELECT * FROM Stat WHERE Inhoud isNull "

Helaas is altijd het antwoord van ASP 0.

Iemand een oplossing voor dit probleem?

  • Creepy
  • Registratie: Juni 2001
  • Laatst online: 18-08 21:00

Creepy

Tactical Espionage Splatterer

is null (zoals het volgens de SQL standaard is) i.p.v. isnull al geprobeerd?

"I had a problem, I solved it with regular expressions. Now I have two problems". That's shows a lack of appreciation for regular expressions: "I know have _star_ problems" --Kevlin Henney


Verwijderd

Topicstarter
Creepy schreef op 07 oktober 2003 @ 15:23:
is null (zoals het volgens de SQL standaard is) i.p.v. isnull al geprobeerd?
AAHHHHHHHHHHHHHHHHHHH |:( |:( |:( |:(

Sorry people ..

Thnx ..

  • GaMbiNo
  • Registratie: April 2001
  • Laatst online: 00:00

GaMbiNo

1337

Moet je dan niet SELECT COUNT doen?

  • Creepy
  • Registratie: Juni 2001
  • Laatst online: 18-08 21:00

Creepy

Tactical Espionage Splatterer

Verwijderd schreef op 07 October 2003 @ 15:24:
[...]


AAHHHHHHHHHHHHHHHHHHH |:( |:( |:( |:(

Sorry people ..

Thnx ..
Volgende keer dus toch wat beter zoeken? ;)

"I had a problem, I solved it with regular expressions. Now I have two problems". That's shows a lack of appreciation for regular expressions: "I know have _star_ problems" --Kevlin Henney