IS FUNCTION TO_BLOB( ) IS SUPPORTED IN ORACLE 8i

HELP me!!!!
Thanks,
Antonio

Workaround for function to_blob (oracle 8i):
REM* Funzione che simula la TO_BLOB() prsente nella release 9i
REM* ma assente nella release 8i
CREATE OR REPLACE FUNCTION raw_in_blob(in_buffer IN RAW)
RETURN BLOB
IS
PRAGMA AUTONOMOUS_TRANSACTION; -- direttiva per il compilatore per evitare l'errore: ORA-14553
lobloc BLOB;
amount BINARY_INTEGER;
BEGIN
DBMS_LOB.CREATETEMPORARY(lobloc,TRUE); -- creo un lob temporaneo
amount:=ROUND(LENGTH(in_buffer)/2);
DBMS_LOB.WRITE(lobloc,amount,1,in_buffer); -- scrivo il contenuto in RAW nel BLOB
RETURN lobloc; -- restituisco il RAW trasformato in BLOB
END;
/

Similar Messages

  • Responsibilities and duties of oracle apps functional consultant in support project

    Dear Gurus and Experience apps functional consultants,
    Experienced apps functional consultants and Gurus, Please kindly tell me.
    " what are the complete set of responsibilities and duties of a oracle apps functional consultant in support project?"
    Thanking You,
    Abdul Baseer

    Abdul Baseer,
    I'm not a functional consultant but what I would suggest is querying projects responsibilities (Security > Responsibility > Define) "search for %Project%" and see which one should be assigned to your projects users.
    Thanks,
    Hussein

  • Java multithreading support in Oracle JVM

    Dear all,
    I have some questions and observations regarding multithreading support in Oracle JVM. I have some java code that is stored in the database and is multithreaded (in separate threads I run a plsql procedure that does a lot of precessing). If I run the code with my standalone JVM it works like a charm, everything gets executed in separate threads. But if I store the code in the database and run it (with the custom JVM Oracle implemented for the server) it does not do any threading, all I have is a single thread that runs everything sequentially.
    The logic is this: using JDBC I create a connection, get a parameter (number of threads) and then launch the threads (each thread creates its own connection and runs the plsql procedure). No resource is shared (I have no synchronized code, I do not yield).
    My question is: does Oracle JVM supports multithreading or not? If yes, how to achieve it? Maybe there is something handled in JDBC? (although my code useses JDBC is not multithreaded) If this is not possible with java, do you now how to run something (oracle function, procedure) concurrently with PLSQL? (I tried with DBMS_JOBS but it does not work on all my databases and our DBAs discourage the use of them). Performing multithreading my launching different sqlPlus processes is not an option (as we have no security standard regarding the authentication -> connection is made by specifying in clear text the user and password).
    I wanted to use java because is more simple, secure (the connection is already established as the classes are stored in the database) and easy to maintain (until now we use different scripts which run on Unix and Windows and this leads to double work).
    The Oracle versions I use are 10g and 11g.
    Thank you all very much for your time
    Just the best,
    Don

    don wrote:
    My question is: does Oracle JVM supports multithreading or not? If yes, how to achieve it? Maybe there is something handled in JDBC? (although my code useses JDBC is not multithreaded) If this is not possible with java, do you now how to run something (oracle function, procedure) concurrently with PLSQL? (I tried with DBMS_JOBS but it does not work on all my databases and our DBAs discourage the use of them). Performing multithreading my launching different sqlPlus processes is not an option (as we have no security standard regarding the authentication -> connection is made by specifying in clear text the user and password).
    (Obviously the other post answers your question.)
    If I am reading that correctly then you have a management issue - not a technological one.
    You have a task to complete, presumably doing it efficiently is something that the company wants.
    And you have two alternatives both of which the DBAs are not allowing you to use.
    So at that point it is up to management to insist that the DBAs provide specific technological reasons (not hand waving) why those solutions are not suitable. And they should also be required to provide the outline of an alternative that is suitable.
    Besides that you might consider why your solution cannot be implemented entirely in a single threaded PL/SQL routine. The fact that is harder is not a reason when the point of the excercise is to create something that is more efficient.

  • Which XSLT versions are support by Oracle BPEL? v1.1  or v2.0?

    Which XSLT versions are support by Oracle BPEL? v1.1 or v2.0?
    As far as I heard v1.1 is the highest version but some functions of v2.0 are supported as well.
    Is this true?
    If yes: Which XSLT functions of v2.0 are supported?
    Does it matter if I change the
    version="1.1"
    attribute in the topmost
    <xsl:stylesheet......>
    tag?
    Which XSLT processor is built-in/used?
    Peter

    XSL mapper in BPEL supports 1.0 only in-built. And this is true for 11g also. However, we can declare <xsl:stylesheet version = 2.0 ... and use all xpath 2.0 functions. I have used few of them and has been successful so far. Once you declare version as 2.0 the only issue will be that XSL's visual GUI mapper will not work in JDeveloper and you will need to modify the code from the source.

  • DB13 error for CHECKDB task - BR0252E Function _stat() failed for 'D:\oracl

    Hi
    while trying to execute CHECKDB in Db13 i was getting the following error message
    My Operating system is windows 2003 database oracle 10g
    already referred to notes 952080, 134592 and subsequent notes
    E:\ORACLE\NPE\ORIGLOGA\CNTRL\CNTRLNPE.DBF       26066944            4  FILE  NOLINK
    E:\ORACLE\NPE\ORIGLOGB\CNTRL\CNTRLNPE.DBF       26066944            4  FILE  NOLINK
    D:\ORACLE\NPE\SAPDATA1\CNTRL\CNTRLNPE.DBF       26066944            3  FILE  NOLINK
    BR0982I Database disk volumes
    Directory / Raw disk                          Device      Total[KB]      Free[KB]    Used[%]   MaxNeed[KB]   MaxMiss[KB]
    BR0252E Function _stat() failed for 'D:\oracle\EO1\102' at location BrDiskStatGet-1
    BR0253E errno 2: No such file or directory
    BR0277E Determination of disk volume status for D:\oracle\EO1\102 failed
    BR0806I End of BRCONNECT processing: ceadprqb.chk 2009-03-17 18.06.25
    BR0280I BRCONNECT time stamp: 2009-03-17 18.06.25
    BR0804I BRCONNECT terminated with errors
    if any faced simlar problem, please give let me know if you have a solution.
    Regards
    HM

    Hello,
    this type of error happens when there are permission problems. Check permission of BRtools
    Check the permission of files..Check the link below for more information :
    http://www-01.ibm.com/support/docview.wss?rs=667&context=SSZHVN&dc=DB560&dc=DB520&uid=swg21327498&loc=en_US&cs=UTF-8&lang=en&rss=ct667tivoli
    Thanks
    Anju

  • SAP official support of Oracle Dataguard

    Hello all,
    Since which Oracle version SAP ECC6 supported dataguard? Please refer me to SAP note or document.
    regards,
    Daniel

    Hello Daniel,
    all currently supported Oracle versions (10.2.0.5, 11.2.0.2, 11.2.0.3) for SAP ECC 6.0 are supported with Oracle Data Guard. Previous patch sets were supported too.
    Sapnote #105047 (Point  "15. Data Guard") describes the suppported Data Guard functions.
    Regards
    Stefan

  • Hw can i get arabic support in oracleAS using jstl: showing '?????' symbols

    Hello All,
    I am using OracleAS for portal deployment and portlets UI constructed by using jstl.
    i have used spring portlet jstl for the jsp pages.
    when i am trying to change the language, it is showing '?????' symbols.
    I have used correct unicode. i tested in pluto portal server. when i deployed in oracleAS,
    for english not a problem. for arabic it is showing as '????'.
    i have used this code to get arabic in pluto. same code i used. i am getting error.
    <c:set target="${pageContext.response}" property="characterEncoding" value="UTF-8" />
    <fmt:setLocale value="ar" />
    <fmt:requestEncoding value="UTF-8" />
    i know it is not setting charector encoding.
    i tried some other too like:
    <head>
    <META http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    </head>
    and
    <%@ page pageEncoding="UTF-8" %>
    No improvement. please help me out of this.
    how can i get arabic support in oracle AS by using jstl?
    Thanks,
    Arun

    Only Apple Account Security could help at this point. You can try calling Apple Support in Canada - you'll have to find one of the several ways, such as Skype, to call an 800 number from outside of the relevant country - and ask for Account Security and see if they can help. Or you can find a friend who speaks Chinese and ask them to help you talk to Apple Support in China. There are really no other options that I know of.
    Note, by the way, that these are user-to-user support forums. You aren't speaking with Apple when you post here.
    Regards.

  • Details on TAF support in Oracle AS 10g

    Hi experts,
    I'm currently writing a Master's Thesis on High Availability of Applications based on Sun’s JEE platform.
    With Oracle being one of the big players in this market I'm going to investigate the features of the Oracle product stack and compare it with other solutions including opensource.
    At the moment I'm looking for details on TAF-support in Oracle AS 10g. Let’s assume one has installed the latest release of the Oracle 10g database in a RAC configuration on two or more physical nodes to store the applications data. Let’s further assume one has set up the latest release of the Oracle AS 10g on different hosts building an AS farm with clustered OC4J-instances. Now one would like to connect a JEE application running within these OC4J-instances to the RAC database.
    Therefore one can configure an OC4J datasource to use a service definition supporting network failover and transparent application failover (TAF) specified in the tnsnames.ora on the AS hosts or directly describe the service in the data-sources.xml. To my knowledge only datasources configured to use the OCI client can be used with TAF. Everything right so far?
    Now the interesting part. The best what TAF can do is automatically reconnect to the next known database node if it’s current node is not reachable or fails, and continue processing an open cursor for select so that the application can continue to use it’s current connection.
    If the application is running a database transaction it can only be rolled back and rerun after failover.
    In a good old plain Java application one had to implement the OracleOCIFailover interface and register a callback with the db connection in order to receive failover events. Therefore you need to process the query in a different thread.
    In a JEE server only the container should be responsible for creating threads, or? How does the Oracle AS support TAF? How can a user application get notice of a failover and react appropriately. Is the behaviour always the same no matter one decides to implement the data access via simple DAOs or entity beans (CMP/BMP)? I assume it is safe to use a connection pool and container will take care of the necessary cleanup jobs, right? Will the complete connection pool be reconstructed or only connections to the failed node?
    Does the application server internally use these OCI callbacks and wrap them up into special Exceptions? Is there anything an application programmer has to do in order to make his data access code ready for TAF, especially in case of failover while the db is processing transactional code?
    Any insights and/or code snippets would be greatly appreciated!
    Ah, one last question. From a HA perspective is it generally a bad idea to put application logic into the database (use CDM RuleFrame and so on) as there is no support in preserving package states or do you think this makes no difference as one has always to repeat everything since the last commit point no matter in which tier the code resides?
    During the next days I’m going to set up the above environment for testing. A 10.0.2.1 RAC on RHE4 is already up and running fine. AS 10.1.3.0.0 on RHE4 is following today or tomorrow.
    Many thanks for all answers!
    Regards,
    Eric

    Hi,
    well, I thought I could dig into the OC4J documentation before installing the server. After reading the OC4J Service Guide for 10.1.2 and 10.1.3 I'm a little bit confused.
    First I read the 10.1.2 Service Guide and almost everything seemed to be clear. I found a lot of answers to the questions above. I'd like to sum them up. Please correct me if I got something wrong!
    - TAF only works on top of OCI driver
    - TAF can be used with connection pooling
    - OC4J takes care of connection pool cleanup (OC4J and OCI Pool)
    These two pools are mentioned. It's not clear to me how they work together. Do one of you know some source where I can get more information about this?
    - after a failover all connections in the pool are checked by OC4J and only alive ones will survive
    - in case of a failover TAF issues an exception
    - the application has to catch this exception and acknowledge with a rollback, after that the transaction can be restarted (this seems to be the responsibility of the applications code, oc4j will not replay something automatically; If I got it right, CMP entity beans will be an exception to this rule - there OC4J will proceed transparently...)
    - the application can use OCI callbacks to customize the failover behavior (well I would like to see some source code example here, as I can't imagine how this could look like)
    After that I read the 10.1.3 service guide. The section about datasources in conjunction with HA is much shorter. Besides TAF new? mechanism is introduced, namely Fast Connection Failover (FCF). There is not much information about it but references to the JDBC Guide, because FCF is a feature of the implicit JDBC connection cache. Where cache seems to be just another word for pool.
    By the way, the example on p. 4-36 looks wrong at first glance. Enabling FCF and setting:
    <property name="fastConnectionFailoverEnabled" value="false"/> ???
    Seems to be a typo in the docu, or?
    I got the impression, that the text is written as if FCF being TAF's successor, without explicitly saying this. Is this right?
    So I proceeded reading the JDBC Developer Guide to lean more about FCF. Here is what I learned:
    - since 10g available
    - FCF is driver independend (you can also use the thin driver)
    - prerequisites are implicit connection cache (pool) enabled, ONS must be configured
    - in case of a failover the transcation will be rolled back automatically (not by the application); whereas using TAF you have to use a rollback to acknowledge the error
    - only one exception ORA-17008 to catch
    - application has to obtain a new connection from the cache (pool), where as using TAF the old connection object can be used, and resend the transaction (same as with TAF)
    So when to use what? The comparison on p. 27-8 was not very helpful to find an answer to this question.
    On p. 28-1 one can read that TAF does not work with the OCI Connection Pool. That's seems to be contradictory to the statement in Service Guide of 10.1.2 that OC4J takes care of both pools (OC4J and OCI). Or has something changed in 10.1.3 in that regard? May be this is because of the changes in Cache or Pool Management?
    What is the advantage of using TAF within OC4J in 10g, if there is any?
    What about select statements with FCF? You can only read about transactions. I'd assume the application would get the same exception executing a query (ORA-17008) as executing a transaction, right? So TAF should have the advantage of transparently proceeding selects after a failover. Am I right?
    I'd love to see more examples and comparisons of TAF and FCF.
    Regards,
    Eric

  • What are the API's and OS Supported by Oracle TimesTen

    1.) What are all the API supported by oracle TimesTen?
    is the below are correct and whether other than this is there any other API supports oracle TimesTen
    JDBC,
    ODBC,
    OLAP,
    ADO.net,
    C++...............
    2.) What are the Platform supports?
    is the below are correct and whether other than this is there any other OS supports oracle TimesTen
    Linux x86-32 and x86-64:
    Oracle Linux 4 and 5
    Red Hat Enterprise Linux 4 and 5
    SUSE Enterprise Server 10 and 11
    MontaVista Linux CGE 5.0 and 6.0
    Asianux 3.0
    Microsoft Windows x86-32 and x86-64:
    Windows XP, Windows Vista, Windows Server 2003, Windows Server 2003 Release 2, Windows Server 2008, Windows 7
    Solaris SPARC 64-bit:
    Oracle Solaris 10
    Solaris x86-64:
    Oracle Solaris 10
    IBM AIX 64-bit:
    AIX 6.1 and 7.1
    Solaris SPARC 32-bit (client only):
    Oracle Solaris 10
    IBM AIX 32-bit (client only):
    AIX 6.1 and 7.1
    3.) What is the latest Version in Oracle TimesTen?
    4.) Maximum number of rows in a table.     2 Power 28 = 268,435,256 for 32 Bit     / (2 power 31-1) = 2,147,483,647 for 64 Bit
    if the Row value exceeds more than the specified value what will happen ? whether we need to have multiple tables
    Say TableA reaches 268,435,256 values and if few more rows are added then the value can be kept in new table TableB and so on..... or how?
    Thanks

    Dear 933663,
    1. What are all the API supported by oracle TimesTen?
    JDBC
    ODBC
    ADO.net
    OCI
    PRO*C
    +
    PL/SQL
    SQL
    2. What are the Platform supports?
    TimesTen 11.2.2.2.0 supports - Windows (32-bit, 64-bit), Linux x86 (32-bit, 64-bit), Solaris Sparc (64-bit), Solaris x86 (64-bit), IBM AIX Power (64-bit) (http://www.oracle.com/technetwork/products/timesten/downloads/index.html)
    The detailed information I could find only in 11.2.1 documentation (http://docs.oracle.com/cd/E18283_01/timesten.112/e13063/install.htm):
    Microsoft Windows 2000, Windows XP, Windows Vista and Windows Server 2003 and 2008 for Intel IA-32 and EM64T and AMD64 CPUs.
    Asianux 2.0 and 3.0 for Intel IA-32 and EM64T and AMD64 CPUs.
    SuSE LINUX Enterprise Server 10 for Intel IA-32 and EM64T and AMD64 CPUs.
    SuSE LINUX Enterprise Server 10 for Itanium2 CPUs
    Solaris 9 and 10 for UltraSparc CPUs
    Solaris 10 for AMD64 CPUs
    Red Hat Enterprise Linux 4 and 5 for Intel Itanium2 CPUs.
    Red Hat Enterprise Linux 4 and 5 for Intel IA-32 and EM64T and AMD64 CPUs.
    Oracle Enterprise Linux 4 and 5 for Intel IA-32 and EM64T and AMD64 CPUs.
    MontaVista Linux Carrier Grade Edition Release 4.0 and 5.0 for Intel IA-32, EM64T and AMD64 CPUs.
    HP-UX 11i v2 and 11iv3 for PA-RISC
    HP-UX 11i v2 and 11iv3 for Itanium2
    AIX 5L 5.3 and 6.1 for POWER CPUs
    3.) What is the latest Version in Oracle TimesTen?
    11.2.2.2.0 (http://www.oracle.com/technetwork/products/timesten/downloads/index.html)
    4) Maximum number of rows in a table. 2 Power 28 = 268,435,256 for 32 Bit / (2 power 31-1) = 2,147,483,647 for 64 Bit
    Actually, I couldn't find any information about rows limits for TimesTen tables and I've never faced with this problem.
    Best regards,
    Gennady

  • Columns Display Support in Oracle 10g Express Edition..................

    I am working with the Oracle 10g Express Edition, and I Created a Table with 52 Fields and even successfully inserted data into the table via Java Program. But the problem is when I am displaying the table from the Oracle 10g Express Edition Interface, it is displaying only first 31 Fields and displaying "<div class="fielddata">First 31 columns displayed.</div>". What should i do if I want to display all the 52 columns. Awaiting for the Reply. Thank You..

    duplicate post
    Columns Display Support in Oracle 10g Express Edition..................

  • Java function call from Trigger in Oracle

    Moderator edit:
    This post was branched from an eleven-year-old long dead thread
    Java function call from Trigger in Oracle
    @ user 861498,
    For the future, if a forum discussion is more than (let's say) a month old, NEVER resurrect it to append your new issue. Always start a new thread. Feel free to include a link to that old discussion if you think it might be relevant.
    Also, ALWAYS use code tags as is described in the forum FAQ that is linked at the upper corner of e\very page. Your formulae will be so very much more readable.
    {end of edit, what follows is their posting}
    I am attempting to do a similar function, however everything is loaded, written, compiled and resolved correct, however, nothing is happening. No errors or anything. Would I have a permission issue or something?
    My code is the following, (the last four lines of java code is meant to do activate a particular badge which will later be dynamic)
    Trigger:
    CREATE OR REPLACE PROCEDURE java_contact_t4 (member_id_in NUMBER)
    IS LANGUAGE JAVA
    NAME 'ThrowAnError.contactTrigger(java.lang.Integer)';
    Java:
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "ThrowAnError" AS
    // Required class libraries.
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import com.ekahau.common.sdk.*;
    import com.ekahau.engine.sdk.*;
    // Define class.
    public class ThrowAnError {
    // Connect and verify new insert would be a duplicate.
    public static void contactTrigger(Integer memberID) throws Exception {
    String badgeId;
    // Create a Java 5 and Oracle 11g connection.
    Connection conn = DriverManager.getConnection("jdbc:default:connection:");
    // Create a prepared statement that accepts binding a number.
    PreparedStatement ps = conn.prepareStatement("SELECT \"Note\" " +
    "FROM Users " +
    "WHERE \"User\" = ? ");
    // Bind the local variable to the statement placeholder.
    ps.setInt(1, memberID);
    // Execute query and check if there is a second value.
    ResultSet rs = ps.executeQuery();
    while (rs.next()) {
    badgeId = rs.getString("Note");
    // Clean up resources.
    rs.close();
    ps.close();
    conn.close();
    // davids badge is 105463705637
    EConnection mEngineConnection = new econnection("10.25.10.5",8550);
    mEngineConnection.setUserCredentials("choff", "badge00");
    mEngineConnection.call("/epe/cfg/tagcommandadd?tagid=105463705637&cmd=mmt%203");
    mEngineConnection.call("/epe/msg/tagsendmsg?tagid=105463705637&messagetype=instant&message=Hello%20World%20from%20Axium-Oracle");
    Edited by: rukbat on May 31, 2011 1:12 PM

    To followup on the posting:
    Okay, being a oracle noob, I didn't know I needed to tell anything to get the java error messages out to the console
    Having figured that out on my own, I minified my code to just run the one line of code:
    // Required class libraries.
      import java.sql.*;
      import oracle.jdbc.driver.*;
      import com.ekahau.common.sdk.*;
      import com.ekahau.engine.sdk.*;
      // Define class.
      public class ThrowAnError {
         public static void testEkahau(Integer memberID) throws Exception {
         try {
              EConnection mEngineConnection = new EConnection("10.25.10.5",8550);
         } catch (Throwable e) {
              System.out.println("got an error");
              e.printStackTrace();
    }So, after the following:
    SQL> {as sysdba on another command prompt} exec dbms_java.grant_permission('AXIUM',"SYS:java.util.PropertyPermission','javax.security.auth.usersubjectCredsOnly','write');
    and the following as the user
    SQL> set serveroutput on
    SQL> exec dbms_java.set_output(10000);
    I run the procedure and receive the following message.
    SQL> call java_contact_t4(801);
    got an error
    java.lang.NoClassDefFoundError
         at ThrowAnError.testEkahau(ThrowAnError:13)
    Call completed.
    NoClassDefFoundError tells me that it can't find the jar file to run my call to EConnection.
    Now, I've notice when I loaded the sdk jar file, it skipped some classes it contained:
    c:\Users\me\Documents>loadjava -r -f -v -r "axium/-----@axaxiumtrain" ekahau-engine-sdk.jar
    arguments: '-u' 'axium/***@axaxiumtrain' '-r' '-f' '-v' 'ekahau-engine-sdk.jar'
    creating : resource META-INF/MANIFEST.MF
    loading : resource META-INF/MANIFEST.MF
    creating : class com/ekahau/common/sdk/EConnection
    loading : class com/ekahau/common/sdk/EConnection
    creating : class com/ekahau/common/sdk/EErrorCodes
    loading : class com/ekahau/common/sdk/EErrorCodes
    skipping : resource META-INF/MANIFEST.MF
    resolving: class com/ekahau/common/sdk/EConnection
    skipping : class com/ekahau/common/sdk/EErrorCodes
    skipping : class com/ekahau/common/sdk/EException
    skipping : class com/ekahau/common/sdk/EMsg$EMSGIterator
    skipping : class com/ekahau/common/sdk/EMsg
    skipping : class com/ekahau/common/sdk/EMsgEncoder
    skipping : class com/ekahau/common/sdk/EMsgKeyValueParser
    skipping : class com/ekahau/common/sdk/EMsgProperty
    resolving: class com/ekahau/engine/sdk/impl/LocationImpl
    skipping : class com/ekahau/engine/sdk/status/IStatusListener
    skipping : class com/ekahau/engine/sdk/status/StatusChangeEntry
    Classes Loaded: 114
    Resources Loaded: 1
    Sources Loaded: 0
    Published Interfaces: 0
    Classes generated: 0
    Classes skipped: 0
    Synonyms Created: 0
    Errors: 0
    .... with no explanation.
    Can anyone tell me why it would skip resolving a class? Especially after I use the -r flag to have loadjava resolve it upon loading.
    How do i get it to resolve the entire jar file?
    Edited by: themadprogrammer on Aug 5, 2011 7:15 AM
    Edited by: themadprogrammer on Aug 5, 2011 7:21 AM
    Edited by: themadprogrammer on Aug 5, 2011 7:22 AM
    Edited by: themadprogrammer on Aug 5, 2011 7:23 AM
    Edited by: themadprogrammer on Aug 5, 2011 7:26 AM

  • CONVERT function in SQL Server to oracle

    All,
    How to convert CONVERT function in SQL Server to oracle, below mentioned format is in SQL Server:
    variable1 = convert(numeric(20), SUBSTRING( parameter1,parameter2,parameter3)
    parameter1 datatype nvarchar2(100)
    parameter2 datatype bigint
    parameter3 datatype bigint
    I did bit R&D, but was not successful..but still getting on..
    If any help that would be great...
    Regards,
    ~ORA

    You cannot specify the precision/scale or length of input paramters to a stored procedure in Oracle, or at least the pl/sql engine does not respect the sizing. Assuming that you want to do something with variable1 in the procedure, and not just return it, the Oracle equivalent would be something along the lines of:
    SQL> CREATE FUNCTION f (p_param1 IN VARCHAR2,
      2                     p_param2 IN NUMBER,
      3                     p_param3 IN NUMBER) RETURN NUMBER IS
      4     l_var1 NUMBER(20) := SUBSTR(p_param1, p_param2, p_param3);
      5  BEGIN
      6     RETURN l_var1 * 10;
      7  END;
      8  /
    Function created.
    SQL> SELECT f('ABC10DEF', 4, 2) FROM dual;
    F('ABC10DEF',4,2)
                  100You may need to adjust the return type to match what you are actually returning.
    You can also use this iin a direct assignment in pl/sql without doig a select, something like:
    SQL> DECLARE
      2     l_num NUMBER(20);
      3  BEGIN
      4     l_num := f('ABC10DEF', 4, 2);
      5     DBMS_OUTPUT.Put_Line('The number is: '||l_num);
      6  END;
      7  /
    The number is: 100John

  • Does weblogic server 10.3.6 & 10.3.5 supported on oracle linux 5.8 ?

    I am trying to install weblogic server 10.3.6 on Oracle linux 5.8 (64-bit) platform. While creating domain , it does not take any input in password & conform password fields on "configure administrator username and password page". The field remains blank. I am stuck at this point and not able to create domain. The same issue is with weblogic 10.3.5 server. The java i used is jdk1.7 update 3 and jdk 1.6 update 27. In Both the cases i am not to create domain.
    Can anyone of you tell me if weblogic 10.3.6 is supported on Oracle linux 5.8 platform. If it is supported any idea how to resolve this issue?
    Thanks in advance,
    Padma

    Yes. Please refer
    System Requirements and Supported Platforms for Oracle WebLogic Server 10.3 ( xls)
    http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html

  • Where is the file i/o located (File Dialog Function no Longer Support Datalog Files)

    Where is the file i/o located ?
    This is my previous post 
    File Dialog Function no Longer Support Datalog Files

    Please stick to your original post.
    The one where the question was already answered. Twice.

  • NLS SUPPORT FOR ORACLE 8I

    I am trying to use the NLS support of Oracle 8i on windows
    Nt/2000 platforms. I have tried configuring the database
    characterset and the national character set as 'IN8ISCII' - the
    one prescribed in the NLS documentation for India territory and
    Hindi as NLS Language and territory parameters. I have also
    tried configuring them as 'UTF8' a character set prescribed for
    unicode /universal 8 bits ASCII character sets but i am not able
    to insert any rows with these charactersets in NCHAR or NVARCHAR
    columns. if i try to insert them in regualr char pr varchar
    columns i can insert in the ascii formats and I have to retreive
    them on front end through different mask format fonts.
    If any one have tried the NLS support pls let me know how to
    insert the records and retreive thenm in the national language..
    Thanks in advance..
    Manoj Mehta

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Glen Fafara ([email protected]):
    Will Oracle 8i run on an Alpha based machine? I am running Redhat Linux 6.2.
    Thanks
    Glen<HR></BLOCKQUOTE>
    hi:
    I am coming from Taiwan,
    There's a problem,I installed O8iee(linux)
    on Redhat Linux 6.2,when($svrmgrl)...
    error occure:
    Oracle Server Manager Release 3.1.6.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    ORA-03113: end-of-file on communication channel
    would you help me
    my e-mail:[email protected]
    thanks a lot.

Maybe you are looking for

  • Can I use my iphone as a hotspot for the new ipad thru Verizon?

    I currently own an iphone and have service thru Verizon.  Would like to purchase the new ipad.  I didn't know if I needed to spend the extra money for the wi-fi-4g cellular (verizon) and have to pay for the service monthly or could I use my iphone as

  • Create a program, based on a report painter query

    Hi! I would like to create a program, which contains the same data, what I can get from a report, which is made by report painter in transaction GRR2. The given report is for checking the service orders. This report has a key (order number) and addit

  • OS X system installation always starts on reboot.

    Using OSX 10.7.5 on my iMac 2006. The problem started when my address book always crashed on startup. Would try and log in as another user to see if the address book started. Started wrong login user = Guest, and it wanted to install osx. I stopped b

  • Flash player unable to install

    Using IE, Windows 7 64 bit When I try to install flash it get to 100% downloaded and then says it 'couldn't be downloaded' Nothing else and I'm a bit stumped on what to do

  • Error 11111 submitting + no episodes in feed

    Hi, I've been trying for a couple of days to submit my podcast (via Wordpress and feedburner) to iTunes but the store always returns with error 11111. I have read the other threads and tried the workaround via https://buy.itunes.apple.com/WebObjects/