Re: Is There Simple Way to Convert Integer to Decimal Within Same
- From: MJ <MJ@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 2 Aug 2008 14:25:00 -0700
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
"Bob Barrows [MVP]" wrote:
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"
- Follow-Ups:
- Re: Is There Simple Way to Convert Integer to Decimal Within Same
- From: John W . Vinson/MVP
- Re: Is There Simple Way to Convert Integer to Decimal Within Same
- From: Bob Barrows [MVP]
- 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 Tabl
- Prev by Date: Re: compile data from unrelated tables
- 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 Tabl
- Next by thread: Re: Is There Simple Way to Convert Integer to Decimal Within Same
- Index(es):
Relevant Pages
|
Loading