Jump to content

CHITOWN

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by CHITOWN

  1. Is there a way to write a query that has a decimal column, currently set to .nn, to give me results that the hundredths column doesn't end in zero in the hundredths column and excludes .25, .75. For example, finding .35 but not .25 or finding .83 but not .80. Any select statement to find those records is what I am looking for as I have tried where cast(hours as decimal(10,2)) - hours > 0 but brings me back decimals ending in zero as well as .25 and .75. Thanks.
  2. CHITOWN

    SQL Query

    Is there a way to write a sql query that contains a decimal column, currently set to 2 decimals, to give me results that the hundredths column doesn't end in zero and excludes .25, .75. For example, finding .35 but not .25 or finding .83 but not .80. Any select statement to find those records is what I am looking for as I have tried where cast(hours as decimal(10,2)) - hours > 0 but brings me back decimals ending in zero as well as .25 and .75. Thanks.
×
×
  • Create New...