S
Smokey Grindel
I have an app that builds where clauses (its 3rd party) and for some reason
it adds an m after decimal numbers... so I get results like this
[NumberItem] = 45.1234m And [OtherCriteria] Like '123%' And [LastCriteria] =
'45.1234m'
well that 45.1234 should not have an m there... sure this works on data
views filters but not on SQL Server which is what the criteria needs to be
for... any regex's out there that would detect a number then look if there
is an m after it so I could replace that m with nothing but only when its a
standalone number and not like in the LastCritiera filter part? thanks!
it adds an m after decimal numbers... so I get results like this
[NumberItem] = 45.1234m And [OtherCriteria] Like '123%' And [LastCriteria] =
'45.1234m'
well that 45.1234 should not have an m there... sure this works on data
views filters but not on SQL Server which is what the criteria needs to be
for... any regex's out there that would detect a number then look if there
is an m after it so I could replace that m with nothing but only when its a
standalone number and not like in the LastCritiera filter part? thanks!