c# - Delimiting data from a query -


i want write query in c# visual studio 2012 on winforms application delimits information access database. want able rid of data contains / or @ symbol i'm not quite sure how write query. this,

select * date expression *does not have / or @* 

if lend appreciated.

assuming you're connecting access db file oledb, try ...

select * [date] not [expression] '%[/@]%'; 

if testing query within access application session, need change wild card characters ...

select * [date] not [expression] '*[/@]*'; 

or can use alike instead of like, , query operate same in either situation ...

select * [date] not [expression] alike '%[/@]%'; 

note date , expression both reserved words. enclosing them in square brackets avoids confusing db engine.


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -