i want select family from my_table where family LIKE '%HEX(9D)' family hex format ended with 9D hex i convert excel file in to sqlite database but some of my data add 9D in ended i can not search correctly please guide me how can remove 9D hex character in family column?
相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
To get HEX(9D) in SQLLite use
cast(X'9D' as text)
. So to update use something like:UPDATE YOURTABLE SET YOURCOLUMN=REPLACE(YOURCOLUMN,cast(X'9D' as text),'') where YOURCOLUMN like '%'||cast(X'9D' as text)||'%'
;or just