Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: PLS_INTEGER vs. LONG datatype in C

RE: PLS_INTEGER vs. LONG datatype in C

From: Goulet, Dick <DGoulet_at_vicr.com>
Date: Fri, 18 Jul 2003 08:30:07 -0400
Message-Id: <25956.338436@fatcity.com>


NUMBER Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA

-----Original Message-----
From: Foelz.Frank [mailto:Foelz.Frank_at_Scheidt-Bachmann.de] Sent: Friday, July 18, 2003 4:54 AM
To: Multiple recipients of list ORACLE-L Subject: PLS_INTEGER vs. LONG datatype in C

Hi all,  

first of all, I am no C professional, so please forgive me if I am not specifiying everthing as correct as neede, I am asking this on behalf of a colleague of mine.  

He has run into some problems in a plsql procedure, while moving to from Oracle 7.3.4 to Oracle 8.0.6. In
one of his C applications he is performing a checksum, by just adding values. This still works ok, when he
uses his C application.  

Now, he is in the need to replicate his simple checksum routine in plsql. That works ok under 7.3.4, but gives
an overflow under 8.06.  

He is using the datatype PLS_INTEGER / PLS_BINARY, whereas PLS_BINARY is to be told, not to check
an overflow (like it is under C), but it does.... :-(  

Is there any equivalent datatype (and handling of overflows) to the C long datatype (dWord unsigned).  

hope I made the problem understandable

> Frank <



Confidentiality Note   

Diese E-Mail mit allen angehängten Dateien ist ausschließlich für die Person/Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung!   

This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent.
Thank you for your cooperation!


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Foelz.Frank
  INET: Foelz.Frank_at_Scheidt-Bachmann.de

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
Received on Fri Jul 18 2003 - 07:30:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US