database - SQL SELECT WHERE Columns Data begins and ends with [ ] i.e. [Unchecked] -
this question has answer here:
as title says im trying select statement in database find data begins , ends square brackets i.e. [unchecked]
ive tried folowing select query doesn't seem correct...
select * [db_table] [db_column] '[%'
this doesnt seem of data starts [. although if change [ letter such gets data beginning a.
is possible '[%' (beginning with) , '%]' (and ending with)?
this link how can escape square brackets in clause? not duplicate of mine different.
change query
select * [db_table] [db_column] '[[]%'
you need wrap '[' in square brackets escape , treat text used searching. note sql server.
also, if wanted search values starting '[' , ending ']', this:
select * [db_table] [db_column] '[[]%]'
Comments
Post a Comment