sql - Query to get specific patterns from column -


one of table column contains below value.

all files (*.*)|*.*|bitmap (*.bmp)|*.bmp|microsoft word document (*.docx)|*.docx|gif (*.gif)|*.gif|jpeg (*.jpg)|*.jpg|png (*.png)|*.png|adobe reader (*.pdf)|*.pdf|tiff (*.tif)|*.tif 

i need query fetch bmp,docx,gif,jpg,png,pdf,tif above values. these values present in brackets.

is want ?

select *  your_table  column_with_types in ('(.bmp)','(.docx)','(.gif)','(.jpg)','(.png)','(.pdf)','(.tif)') 

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -