Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: help with query to search for 3rd decimal

    thanks everyone.. this one below worked best for me..

    SELECT *

    FROM [TSIT1].[dbo].[gl30000]

    where

    SUBSTRING(SUBSTRING(CAST(orcrdamt AS VARCHAR),CHARINDEX('.',CAST(orcrdamt AS VARCHAR))+1,LEN(CAST(orcrdamt AS VARCHAR))),3,1) <> '0'

Viewing post 1 (of 1 total)