|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Quick MyODBC Question
Hi there, just a couple of quick questions...
Firstly, it might sound weired but how do i formulate a query to select %anything%... For example: SELECT * FROM MyTable WHERE name='sss' AND email='&anything%' ... I know i can just leave out the email='&anything%' bit, but is there any other suggestions? Also, is there anyway i can put comments into my queries so they will not get processed? Thanks. |
|
#2
|
|||
|
|||
|
"SELECT * FROM MyTable WHERE name='sss' AND email LIKE '" & anything & "%'"
|
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Quick MyODBC Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|