Just for the fun of it I did edit all from testable, went to the bignocol and 
did edit - replace all column values and put in (invno) and I got 'update 
testable set bignocol = (invno)' in every row...  

Frank Taylor - Director of Information Technology
F.J. O'Hara & Sons,  Inc - Araho Transfer Inc.
Boston, MA - Rockland, ME - Miami, FL
Direct Dial - 617-790-3093
email: [email protected]

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Frank Taylor
Sent: Tuesday, June 18, 2013 1:14 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: 9.5 and BigNum

Karen & Albert

I tried it all ways, including the update testtable  set bignocol = 
(float(invno)) and I get the text of the  command ' update testtable  set 
bignocol = (float(invno))' for every row in that column, same if I leave off 
the float...


Frank Taylor - Director of Information Technology F.J. O'Hara & Sons,  Inc - 
Araho Transfer Inc.
Boston, MA - Rockland, ME - Miami, FL
Direct Dial - 617-790-3093
email: [email protected]

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Albert Berry
Sent: Tuesday, June 18, 2013 1:02 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: 9.5 and BigNum

I fooled around here, and came up with the following from data types:
BIGNUM maps to DECIMAL
DECIMAL maps to DOUBLE
so I made a dummy database using an invoices table from another database 
(59,000+ records)

ALTER TABLE Invoices ADD InvNoBig DOUBLE UPDATE Invoices SET InvNoBig = InvNo 
-- ERROR UPDATE Invoices SET InvNoBig = (FLOAT(InvNo)) -- ERROR UPDATE Invoices 
SET InvNoBig = FLOAT(InvNo) -- Yeah!!!

Albert

On 18/06/2013 10:40 AM, Karen Tellef wrote:
> Good thought.  Nope, gives me the same thing
>
> Karen
>
>
>
> -----Original Message-----
> From: Albert Berry <[email protected]>
> To: RBASE-L Mailing List <[email protected]>
> Sent: Tue, Jun 18, 2013 11:36 am
> Subject: [RBASE-L] - Re: 9.5 and BigNum
>
> A thought on your try #2 - try FLOATing the invoice number when you do 
> the update.
>
> UPDATE ... SET TestBigNum = (FLOAT(InvNo))
>
> That might get the update to work.
> Albert
>
>
>   > > Try #2: So I added a new column to the table TestBigNum (11,0). 
> If I > type in a value, the "select ... = 1037005" works perfectly. So now
>   > to get the data over there... I tried: > UPDATE acctrec SET 
> TestBigNum = InvNo > But I actually get the letters "NaN" in the column!
>   > > Anyone have a clue how to get these old values converted into a 
> BigNum > that is searchable, or is this perhaps a bug (I've never used
>
> BigNum > before) > > Karen > > No virus found in this message. > 
> Checked by AVG -www.avg.com  <http://www.avg.com> <http://www.avg.com>
>
>
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 2013.0.3345 / Virus Database: 3199/6420 - Release Date: 
> 06/18/13
>


Reply via email to