|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi all this is my 1st post i hope you can help what i am tryin to do is an sql
query rthat searches a data base i am using the folowing code successfully but i wanna change it a tiny bit strSQL = "SELECT location.* FROM location WHERE (cardid='1')" i need to change cardid to check against an asp var.. so somethin like strSQL = "SELECT location.* FROM location WHERE (cardid=my_var)" any ideas help would be appricated thanks john |
|
#2
|
||||
|
||||
|
Code:
strSQL = "SELECT * FROM location WHERE cardid='" & my_var & "'" Where my_var is an asp defined variable. Please don't crosspost. http://forums.aspfree.com/t45663/s.html Last edited by lewy : January 16th, 2005 at 09:40 AM. |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > Sql Help..! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|