|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Problem with SQL "LIKE"
Hi!
I've created this function with the purpose to take all the values in the db that start with the '1' character ... Quote:
the field 'CodProd' has this values: '11110001', '11110010', '11110011' after the rs.open statement the rs.eof value is True ![]() Why? ![]() Thx |
|
#2
|
||||
|
||||
|
Try
Code:
strSql = "SELECT * FROM TableName WHERE CodProd LIKE '1%'" |
|
#3
|
|||
|
|||
|
Yes, it works!!
![]() Thx Sir Memnoch !! ![]() |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Problem with SQL "LIKE" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|