How to convert bitwise operator for oracle

hi all,
Please help me to get convertion for (IP/16777216)&0xFF like
If I have query select (IP/16777216)&0xFF I need IP address like 10 is there any way to do this
Thanks in Advance
Prashant

Hi..
Well not very clear with the question.
If you want the ip you can use
select utl_inaddr.get_host_address(Host_Name) from V$INSTANCE;
If you want some conversion from decimal to hexadecimal you can refer to
[http://arjudba.blogspot.com/2008/10/convert-decimal-to-hexadecimal-on.html]
[http://www.jlcomp.demon.co.uk/faq/base_convert.html]
Anand

Similar Messages

  • How to convert a dedicated running oracle server to a shared server

    i need help as to how to convert a dedicated running oracle server to a shared server.(step by step plz i am fairly a fresh person)
    there are presently 10 users but have to configure for 125 users accessing from 5 locations.
    also need how to implement connection manager

    125 users are not so much, unless your database server is a quite small one. Anyway, you have to configure Dispatchers and Shared Servers. See Configuring Oracle Database for Shared Server
    About Connection Manager see Configuring and Administering Oracle Connection Manager

  • How to create business operation for starting workflows

    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java class everything
    works fine(wlpi-ejb.jar is required), but when I call business operation from
    Studio I can't use classes from wlpi-ejb.jar.

    Business operation is called by WLIS. So, I include wlpi-ejb.jar into WLIS classpath.
    Studio uses deployed EJB from wlpi-*.jar, I don't know why Studio doesn't see
    methods from deployed EJBs when WLIS classpath contains wlpi-ejb.jar.
    "Andrew Pitonyak" <[email protected]> wrote:
    >
    When studio starts, what is your classpath? If you use the included batch
    file to start it, then your class path may not include this :-)
    Andrew
    "Raul" <[email protected]> wrote in message
    news:[email protected]..
    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java classeverything
    works fine(wlpi-ejb.jar is required), but when I call business operationfrom
    Studio I can't use classes from wlpi-ejb.jar.

  • How to configure SNMP agent for Oracle 10g

    Hello,
    I've installed oracle 10g in a Windows 2000 SP4 and I want to monitor database using SNMP.
    I've already installed Windows SNMP agent but I haven't any idea how to configure Oracle in order to grant SNMP monitoring.
    What should I do?
    Is Oracle database ready to be monitored via SNMP by default?
    Thanks in advance for your help.
    Regards,
    Carles

    Hello,
    Thanks for your message.
    In fact, I already found this doc in oracle, but it just show executables I have to install and my question can I install these executables.
    I've already installed Windows SNMP agent, configured and testedwith disk space checkings, but it doesn't work fine with Oracle.
    I launched Oracle Universal Installer and I checked Installed Products, but I haven't found how to install SNMP agents for oracle.
    How can I add Oracle Peer Master Agent and Encapsulator to my oracle installation?
    Thanks again for your help.
    Regards,
    Carles

  • Hi, can anyone guide me how to convert Freehand MX for PC into Mac Version?

    Hi, can anyone guide me how to convert Freehand MX for PC into Mac Version?

    You can upgrade to Mavericks free, just run the App Store program and search for Mavericks. But before you do upgrade I recommend the following:
    1) make sure you have a recent backup. TimeMachine is fine.
    2) Mavericks is somewhat more memory hungry than 10.7 was. You will need 4 GB of RAM and I strongly recommend 8 GB.
    Go back to the Apple menu and select About this Mac - look under the OS info you just looked at. You'll see how much RAM your computer has now. Then click on the More Info button. There you will see your computer info listed as in: iMac, 21.5" mid 2010, for example. Return back with that information and we can tell you how far the computer can be upgraded.
    If you decide to procede and you have enough RAM upgrading to Mavericks is quite simple. Click on the download button and let it do its job.

  • How to install OJDBC driver for oracle in PI7.1

    Hi,
       I am getting the following error for JDBC adapter communication .
    Error during database connection to the database URL 'jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=x.x.x.x)(PORT=x.x.x.x)))(CONNECT_DATA=(SERVICE_NAME=cpuerp)(SERVER=dedicated)))' using the JDBC driver 'JDBC DRIVER: oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Can not establish connection:: SAPClassNotFoundException: JDBC DRIVER: oracle.jdbc.driver.OracleDriver'
    Would like to install the OJDBC14.jar for oracle in PI 7.1 Can anybody help to let me know how to install the OJDBC.jar file in PI7.1?
    Thanks
    Regards
    suk4023

    Hi Sukande,
    Deployment procedure is same irrespective of operating system.
    On AIX, you have to copy the file com.sap.aii.adapter.lib.sda to your desktop and modify using winrar as explained in the below article and copy the modified file back to the respective path on AIX server.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00b4a020-4ae6-2c10-5a95-fed4ad9a4b60?QuickLink=index&overridelayout=true
    Thanks,
    Siva Kumar

  • How to create a DSN for Oracle Provider for OLE DB in a web server

    Dear Guys,
    I am a Excel VBA developer.
    My requirement is from the Excel I have to call a Stored Procedure with REF CURSOR.
    Normally I am using Microsoft ODBC for Oracle Driver for connecting Oracle DB, which is in the Server .
    We have users using the Excel reports across the globe.
    Sending Excel report is enough, the clients can connect DB from Excel via the DSN created in a web server.
    But, I came to know that we can't access the REF CURSOR using Microsoft ODBC for Oracle Driver and it is possible to access by using ORA OLE DB Provider.
    I have installed Oracle Client in my machine and tried using ORA OLE DB Provider like below
    +con.ConnectionString = "Provider=OraOLEDB.Oracle.1;User ID=user_name;" & _+
    +"Password=pwd;Data Source=Oracle;"+
    The Excel worked fine in my machine but when I run the same Excel in my user machine in a different country I couldn't connect to DB.
    Because the user machine doesn't have Oracle Client installed. We have n number of users across the world and we can't install Oracle client individually.
    So, I have the plan of creating a DSN in a web sever as I used for Microsoft ODBC for Oracle Driver.
    But, my doubt is how can I create a DSN for accessing ORA OLE DB provider? Is there any driver for ORA OLE DB provider? or is there any alternate solution for my issue?
    Can anybody help me on this ASAP?
    Thanks & Regards,
    Satz

    I have created a DSN in a web server (a Public IP machine) that is mapped to a Oracle DB.
    In my Excel using VBA coding, with the help of RDO object I will call the DSN in the Web server using the connection string like "DSN=ORS;UID=SDATA;PWD=SDATA;"
    This is working fine and in this case the client machine doesn't need Oracle client to be installed or any TNS entry.
    The user can run the Excel report by clicking a button and the click event connects the DSN in the web server (through its URL) and routes to the mapped DB and fetches the quried data.
    Please note that the above DSN is created based on Microsoft ODBC for Oracle driver.
    But the issue is using the Microsoft ODBC for Oracle driver I couldnt call the SP with Ref Cursor.
    When I searched in Internet I came to know using the provider oraoledb.oracle we can call SP that uses REF CURSOR.
    Now my question is what is the driver name that I can use to create a DSN to make use of the provider oraoledb.oracle for calling the SP with REF CURSOR from Excel VBA coding ?
    Appreciate your prompt reply.
    Thanks & Regards,
    Sathish

  • How to setup JNDI Name for Oracle Apps adapter?

    Hello,
    I am learning Oracle SOA 11g and trying to do some tutorial on Oracle Application Adapter.  I know how to configure JNDI for DBadapter and I did that successfully. I followed same steps to create New JNDI for Oracle Apps Adapter.
    1. I Created new data source using Path Services->Data Sources -> New Genric Data Source. Connection to database was successful and created new JNDI Name: jdbc/PKDTAPPS.
    2. Then Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> New and created JNDI Name eis/Apps/PKDTAPPS.
    However I did not find newly created JNDI Name in step 2 under Deployment-> OracleApps Adapter-> Configuration-> Outbound Connection Pools -> javax.resource.cci.ConnectionFactory.
    Please let me know if am I following correct steps to create new Oracle Apps Adapter JNDI Name or not.
    Since above approch did not work I created new JNDI for DBAdapter with same database connection details. And then latter on use that JNDI Name while creating Oracle Application Adapter in JDeveloper composite. And it allowed me to access Oracel Apps open interface. However while deploying the application it gave me following error.
    <Feb 16, 2015 10:50:59 AM CST> <Error> <oracle.integration.platform.blocks.deploy.servlet> <SOA-21537> <Sending back error message: There was an error deploying the composite on AdminServer: [JCABinding]
    [adapter-Apps-101-JournalImport.InsertJournal/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.apps.AppsTableWriteInteractionSpec: Cannot locate Java class
    oracle.tip.adapter.apps.AppsTableWriteInteractionSpec..>
    Since I have no past experience kindly suggest me what is right way to do this.
    Thanks,
    Shri

    Hi shri,
    Can you check the targets of oracle apps adapter that is it deployed on both cluster and admin server both.
    Deployment-> OracleApps Adapter-> Targets
    Regards,
    Anshul

  • Urgent:How to get the Sqltext for Oracle Sumbitted Jobs in 10g

    Dear All,
    Could you help me out in sorting the below problem.
    I use to get the current running sql's with following below query in 9i.
    SELECT A.SID,B.HASH_VALUE, OSUSER, USERNAME, SQL_TEXT
    FROM V$SESSION A, V$SQLTEXT B
    WHERE B.HASH_VALUE = A.SQL_HASH_VALUE
    AND USERNAME LIKE upper('%SCHEMA%')
    ORDER BY B.HASH_VALUE, B.PIECE;
    This is will work in 10g also for user-triggered sqls,stored procedures etc.
    But when oracle submits job i'm not able find which qurery is running.
    Seems For oracle jobs in 10g for V$session contain column SQL_HASH_VALUE as Zero and hence i'm not able find the any sql's running.
    Could you please any of you help me out how to get the Sqltext for Orcle submited Jobs in 10g.
    Please revert asap as this is very urgent for me.
    Thanks in Advance
    Anil.

    Have you tried to query WF_ITEMS? -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=WF_ITEMS&c_owner=APPLSYS&c_type=TABLE
    bde_wf_item.sql - Runtime Data of a Single Workflow Item [ID 187071.1]
    Thanks,
    Hussein

  • How to convert mongodb data  to oracle

    The requirement is I need to convert the mongodb or JSON data which is provided to us in Oracle format
    so that it can be used in Oracle Data Integrator ODI
    Edited by: 918554 on Aug 9, 2012 10:37 PM
    Edited by: 918554 on Aug 9, 2012 11:02 PM
    Kindly reply soon its urgent
    Edited by: 918554 on Aug 9, 2012 11:03 PM

    918554 wrote:
    how to convert mongodb data to oracleThis is NOT an Oracle problem or solution.
    http://www.mongodb.org/display/DOCS/SQL+to+Mongo+Mapping+Chart

  • How to use Batch operation for two xsodata services?

    Hi All,
    I have two xsodata services. How to use submit batch for two xsodata services
    Thanks,
         Mj

    Gateway Batch Calls from SAPUI5

  • How to convert SQL to PL/ORACLE

    Hi All,
    I have the MSSQL SQL statement as below:
    select column_name
    from information_schema.key_column_usage
    where constraint_name in ( select constraint_name
    from information_schema.table_constraints
    where table_name = 'cppuUTMSTATS' and constraint_type = 'PRIMARY KEY' )
    order by ordinal_position;
    I would like to have the equivalent PL statement for ORACLE.
    Please help.
    Thanks,
    JP

    The only possible problem I see is that you're trying
    to order with a non selected column, you need that
    the order by column is in the select to make it
    work.Really?
    SQL> select ename, job
      2  from emp
      3  order by empno
      4  ;
    ENAME      JOB
    SMITH      CLERK
    ALLEN      SALESMAN
    WARD       SALESMAN
    JONES      MANAGER
    MARTIN     SALESMAN
    BLAKE      MANAGER
    CLARK      MANAGER
    SCOTT      ANALYST
    KING       PRESIDENT
    TURNER     SALESMAN
    ADAMS      CLERK
    JAMES      CLERK
    FORD       ANALYST
    MILLER     CLERK
    14 rows selected.
    SQL>I don't have a problem with ordering by columns that aren't selected.

  • How to download language pack for Oracle E-Business Suite 12.1

    Hi,
    I want to download Portuguese language pack for Oracle E-Business Suite 12.1.
    However on Oracle E-Delivery, I could not find any language pack for downloading (as it was available for OEBS 11i)
    Is there any change in installing language pack on Oracle E-Business Suite 12/12.1 as compared to 11i.
    Should i download complete Oracle E-Buisiness Suite installer by selecting the Portuguese language on first page of Oracle E-Delivery?
    Please guide.
    Thanks,
    Rohit

    Hi rohit;
    I want to download Portuguese language pack for Oracle E-Business Suite 12.1.
    However on Oracle E-Delivery, I could not find any language pack for downloading (as it was available for OEBS 11i)
    Is there any change in installing language pack on Oracle E-Business Suite 12/12.1 as compared to 11i.
    Should i download complete Oracle E-Buisiness Suite installer by selecting the Portuguese language on first page of Oracle E-Delivery?What is your OS? I checked for linux, In e-delivery if you choose :
    Oracle E-Business Suite Release 12.1.1 (with NLS Supplement) Media Pack for Linux x86
    You will see:
    Oracle E-Business Suite NLS Release 12.1.1 - Portuguese     V16178-01     681M
    Its avaliable there
    Hope it helps
    Regard
    Helios

  • How to make Bitwise operation in Labview ?

    Hello.. everyone,
    I need to make the bitwise operation (or) in Labview, but I can't find it somewhere!!!
    Anybody has the experiece about it, pls help me !!
    Thanks a lot

    Hi Nok,
    The standard OR function in the boolean sub palette of the functions palette performs a bitwise operation on it's input data. This is a polymorphic function so you can input scalar booleans, arrays of booleans or numerics.
    Hope this helps,
    Nick

  • How to get best material for Oracle 10G PL/SQL

    Please help me out to get best material for Oracle 10G PL/SQL form oracle site.
    Thanks in Advance

    There's no special book or material related Oracle 10g PL/SQL. Can you explain what you want ?
    Please refer to this page for more information:
    http://www.oracle.com/technology/tech/pl_sql/index.html
    Edited by: Kamran Agayev A. on Aug 14, 2009 11:41 AM

Maybe you are looking for

  • Is it possible to use Time Machine with an external hard drive for two separate computers?

    I'm looking to purchase an external hard drive to use as with time machine as a backup for two separate computers.  I'm not sure if I should buy 2 EHDs and dedicate one to each computer, or if Time Machine has the capacity to back up both computers s

  • How to set up Virtual Hosts in Apache (OS X Server 10.9)

    I want to host more than one website on my mac mini with OS X Server 10.9 1.) I edited /etc/apache2/httpd.conf for uncommenting the include line: # Virtual hosts Include /private/etc/apache2/extra/httpd-vhosts.conf 2.) I edited /etc/apache2/extra/htt

  • TFTP transfer problems

    I am trying to upgrade multiple 1841 routers with a new ios which is IOS Software-12.4.24T5 advanced security. The Routers have 256 dram and 64 flash Min Requirements are 192/64 for the new ios. the ios file is about 32 mb in size and i have made at

  • Is there a way to make Photoshop Elements 5 (2006) compatible to a Dell Windows 7 laptop?

    I received a copy of Photoshop Elements 5 (2006) and have a Dell Windows 7. I installed and registered my name to the software, but am aware that the program is compatible with Windows Vista or XP. Is there a way to make it compatible to my computer

  • IPhoto crashes when started

    iPhoto 6.0.06 crashes whenever I start it. It will crash within about 10 seconds on the first try, quicker with subsequent attempts. Screen saver photos still work. Any advice?