What is the correct syntax to pass a string variable into a sql select statement to retrieve data from a mysql server?
Regards Rick
What is the correct syntax to pass a string variable into a sql select statement to retrieve data from a mysql server?
Regards Rick
I tried several combinations like:
SELECT Number FROM TableNumbers WHERE Pincode = " ' + VarStringPincode + ' "
but unfortunately didn't work. When I fill in an fixed value like:
SELECT Number FROM TableNumbers WHERE Pincode = 2012
It retrieves the correct Number so that works. Hope somebody can help me.
Thanks in advance, Rick
Gruß
slu
Starface seit März 2008
Starface SuperMicro Server
Sip-Trunk Easybell
Gigaset DECT N720 und N870 / Yealink
Debian Workstation mit Linphone
Anlagenverbund
Android UCC Client
Bitte im Forum duzen, wir sind doch eine Community!
Hinweis: Ich bin kein Starface Partner.
Thanks Slu, that works!
Hello Rick,
nice to see you here although I omitted the corresponding slide about this forum in my presentation![]()
mfg
may
No problem May![]()
Lesezeichen