Jump to content

CHITOWN

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About CHITOWN

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

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