php - mssql CONTAINTS return invalid row -
i have mssql table below:-
and mssql query php page below:-
select * tblstatusjadual (idjadual '1%' , contains(idjadual,'1.1 or 1.2 or 1.3 or 1.4 or 1.5 or 1.6 or 1.7 or 1.8 or 1.9')) , tahun='2011'
as can see, contains bracket no 1.10 value, when run query return result idjadual 1.10. why happen?
any appreciated.
check out example msdn
use adventureworks2008r2; go select name production.product contains(name, ' "mountain" or "road" ') go
based on might try this:
select * tblstatusjadual (idjadual '1%' , contains(idjadual,'"1.1" or "1.2" or "1.3" or "1.4" or "1.5" or "1.6" or "1.7" or "1.8" or "1.9"')) , tahun='2011'
Comments
Post a Comment