sql server - How do you write a SQL query to find all the rows that has a float currency value like $15.34 in a nvarchar field -


how write sql query find rows has float currency value like $15.34 , not round currency value 15 in nvarchar field.

assuming have mix of numeric , non-numeric, should work return decimal values not whole dollar amounts:

select * tablename  colname '%.%' --has decimal (as in original query) , colname not '%.00' --does not end 00 

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? -