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
Post a Comment