That's what I meant :=)

Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
Itasca IL 60143
630-980-8461
[email protected]
From: [email protected] [mailto:[email protected]] On Behalf Of Kramer, Jason J
Sent: Tuesday, June 18, 2013 12:39 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: 9.5 and BigNum

                Unless I missed it, BigInt is not a supported R:BASE data type.
                                                                                
Jason

Jason Kramer
University Archives and Records Management
002 Pearson Hall
(302) 831 - 3127 (voice)
(302) 831 - 6903 (fax)

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]]<mailto:[mailto:[email protected]]> On Behalf Of 
Dennis McGrath
Sent: Tuesday, June 18, 2013 1:36 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: 9.5 and BigNum

You need a BigInt

Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
Itasca IL 60143
630-980-8461
[email protected]<mailto:[email protected]>
From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On 
Behalf Of Karen Tellef
Sent: Tuesday, June 18, 2013 12:17 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: 9.5 and BigNum

I didn't think about double.  The problem with doing this is that the "update" 
puts a period at the end of every record.  I would have to strip off that 
period to print...   But still a possibility if we don't want to do Text

Karen



-----Original Message-----
From: Albert Berry <[email protected]<mailto:[email protected]>>
To: RBASE-L Mailing List <[email protected]<mailto:[email protected]>>
Sent: Tue, Jun 18, 2013 12:03 pm
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]<mailto:[email protected]>>

> To: RBASE-L Mailing List <[email protected]<mailto:[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>  
> <http://www.avg.com>

>

>

> No virus found in this message.

> Checked by AVG - www.avg.com<http://www.avg.com> <http://www.avg.com>

> Version: 2013.0.3345 / Virus Database: 3199/6420 - Release Date: 06/18/13

>




Reply via email to