DatabaseQuery

Everything else that doesn't fall into one of the other PB categories.
Mikethebike
New User
New User
Posts: 7
Joined: Thu Jul 01, 2004 11:25 pm
Location: Switzerland
Contact:

DatabaseQuery

Post by Mikethebike »

Hello
Maybe somebody could explain me why this is not working and what would be the
correct syntax.

DatabaseQuery("Select * FROM kunden WHERE KdNr = 2")

should output the 2. Client(Kunden) but nothing happens. But on the
other side this is working:
DatabaseQuery("Select * FROM kunden")
Thanks
Michael :wink:
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

You have to make a close captation on values and search strings...

" Select * From **** where **** = '2' "
" Select * From **** where **** = 'Num3' "
Post Reply