Re: Is There Simple Way to Convert Integer to Decimal Within Same
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Sat, 2 Aug 2008 17:43:38 -0400
Nothing infallible that I can come up with on short notice here. I'll think
about it though. Is there some characteristic that you think would help
discriminate the ones that need updating from those that don't?
MJ wrote:
It works great, thank you.
Now a new wrinkle, once I make that update I do not want to repeat it
on values that are already in a decimal format. Is there a good way
to check for it before doing the update?
Thanks again for your inputs.
MJ wrote:
I am at a loss for this issues. Getting some bad data in, one field
in a small subset of entire table should be decimal but coming in as
integer. I know that I can covert it simply by dividing by 100 and
I have been able to do a Make Table query.
Is there a simple way to do this within the existing table WITHOUT
changing the field name? I tried using an Update query, but errors
out...
UPDATE [Table1_OptEditErrors] SET
([Table1_OptEditErrors].ClmAmt/100) AS ClmAmt
wrong syntax. it should be:
SET [ClmAmt] = [ClmAmt]/100
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Follow-Ups:
- Re: Is There Simple Way to Convert Integer to Decimal Within Same
- From: John Spencer
- Re: Is There Simple Way to Convert Integer to Decimal Within Same
- References:
- Re: Is There Simple Way to Convert Integer to Decimal Within Same Tabl
- From: Bob Barrows [MVP]
- Re: Is There Simple Way to Convert Integer to Decimal Within Same
- From: MJ
- Re: Is There Simple Way to Convert Integer to Decimal Within Same Tabl
- Prev by Date: Re: Is There Simple Way to Convert Integer to Decimal Within Same
- Next by Date: Re: Is There Simple Way to Convert Integer to Decimal Within Same
- Previous by thread: Re: Is There Simple Way to Convert Integer to Decimal Within Same
- Next by thread: Re: Is There Simple Way to Convert Integer to Decimal Within Same
- Index(es):
Relevant Pages
|