| Author |
pass a varble in WHERE clause instaed of a constant
|
naveen yadav
Ranch Hand
Joined: Oct 23, 2011
Posts: 380
|
|
hi ranchers ,
i'm developing a application in JavaScript for TItanium(Android) where i need to execute a query something like :
i had number of rows in database with same date so i need to figure out that for each date how many rows are there
let say
above is working fine it is returing 2 rows
but i need to pass date in a variable like
its not working as desired returning 0 rows.how can i resolve this?
|
 |
Ivan Jozsef Balazs
Ranch Hand
Joined: May 22, 2012
Posts: 380
|
|
|
You might have forgotten the apostrophes that delimit a string literal.
|
 |
 |
|
|
subject: pass a varble in WHERE clause instaed of a constant
|
|
|