ASP to Oracle...without the Oracle client...

Hi there. I work in a university setting, complete with politics and territorial departments. I am authoring some web pages using third party software for the content management (which uses SQL Server); the 3rd party software requires these pages use ASP. However, there is some data I need to pull off of an Oracle Database and integrate with the regular content.
I have just begun to learn about my options for connecting to Oracle from ASP, and they all involve, if I understand correctly, installing the Oracle client software on the web server.
The department that controls the web server (Win 2000 IIS) has balked on installing the client software. They want to keep the machine "clean".
Is there a method for connecting to Oracle from ASP that does not involve installing the Oracle client on the web server? Maybe just a driver? Someone told me that I might be able to have the ASP page call a procedure on SQL server (which is not on the web server) which in turn connects to Oracle, pulls the data, then returns it to the ASP page. Sounds convoluted, but I guess if it works...
The issue is not going away; we are pretty much tied to ASP for our web development and Oracle for our database needs. Can anyone give me some advice on what direction I should take? Do I have any options? (Besides stealing the web server away...)
Thanks in advance...

If I were in your position, I would simply explain that if you want to pull data from an Oracle database and use that data to create dynamic ASP web pages, you'll need the Oracle client on the web server. 99%+ of the world does it this way, it'll almost certainly cost more to develop and maintain a nonstandard setup than it will cost to "depurify" the web server with the Oracle client. Save lots of headaches down the road.
Barring that, however, there are a few options technically available to you. I'll list them in my personal order of preference
1) There are some third parties (DataDirect is one) that sell "thin" ODBC drivers which don't require the Oracle client to be installed. They speak the Oracle wire protocol. You can use this thin driver and the Microsoft OLE DB to ODBC translation layer to communicate with Oracle. These aren't particularly cheap products as I understand it, but you may be able to negotiate terms. You'll still have to install something on the web server, it'll just be a smaller something than the Oracle client.
2) You could set up a SQL Server database on a separate machine (you could have SQL Server & Oracle on the same machine I suppose), install the Oracle client on that machine, and set SQL Server up to query from the Oracle database. Your ASP pages could query the SQL Server database on this machine, which would query Oracle and return the data. Not particlarly elegant, but doable. If you have to license the SQL Server install (i.e. you don't have a site license), this is probably more expensive & less elegant than #1.
Side note: the reason you don't need to install "SQL Server client" software on the web server is that Microsoft has helpfully decided that SQL Server client components need to be a standard part of Windows.
3) (Warning, speculative) The goal here is to use Oracle's thin JDBC driver (no Oracle client required) on the web server to query the Oracle database. I don't know if you could cobble together some database access components using Visual J++ called from ASP that called Oracle's thin JDBC driver. This strikes me as requiring a whole mess of bailing wire, duct tape, and chewing gum to hold together if it's possible, but has the benefit of not costing you money (just sanity, time, future maintenance...)
So, it's technically possible to do what you wnat.
I'd strongly advocate getting folks to understand the necessity of installing the Oracle client on their precious web server, no matter how pristine they think it is. If you're really backed into a corner, explain that you can go for option #1, but there will be a financial cost to doing so. Without knowing your precise requirements, I would tend to suspect that you won't be able to meet you project objectives with #2 & #3 both because they'll make development, design, and maintenance more difficult and because they'll involve more "moving parts" which will tend to make performance & reliability suffer. If this is a low-priority system that people won't rely on too heavily, you may be able to get away with it. Of course, if it's a low priority system, my guess is that you wouldn't have to time to develop it.
Justin

Similar Messages

  • Can apex work without the oracle applications server? How?

    My question is just what the title says.
    Can apex work without the Oracle applications server?
    I've heard it needs a web server to work but not necessarly the oracle applications server.
    Is it true?
    With ONLY apache installed can apex work on top of it?
    Thanks
    Don't forget to assign points to those who help you! (Mark the thread Helpful/Correct)
    My Homepage
    Best Regards
    Edited by: Igor Carrasco on May 29, 2009 2:59 PM
    Edited by: Igor Carrasco on May 29, 2009 2:59 PM

    Hello,
    Take a look at the Installation Guide which covers all the different options you have (as there are a few variations) -
    http://download.oracle.com/docs/cd/E14373_01/install.32/e13366/toc.htm
    but yes, in short you can have a configuration where there is no external webserver which uses the embedded PL/SQL gateway.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • When u install oracle where the oracle installation inventory information s

    when u install oracle where the oracle installation inventory information store in unix and windows . can we change location of this

    Again 'u' doesn't appear in any English dictionary.
    Assuming you are not a royal, can you please stop using the so-called 'majestic plural'.
    Why do you need to change the location?
    If you want to change to location: people here aren't get paid to abstract the installation manual on your behalf.
    If you can't be bothered to read it, please don't use Oracle.
    Sybrand Bakker
    Senior Oracle DBA

  • When configuring a datasource for Oracle using the thin client, I get an Oracle error.

    We have had no problems using Oracle up to this point, and have been using ColdFusion and Oracle very happily for a long time. 
    Due to security requirements where the ColdFusion server is hosted, the following changes were made to the Oracle client on the Oracle RDMS machine which caused ColdFusion to be unable to connect. 
    In the sqlnet.ora file, we had to add the follwing line:
    SQLNET.ALLOWED_LOGON_VERSION = 10
    That parameter was required, it is not optional and we cannot lower it.
    Info about our ColdFusion Server:
    System Information
    Server Details
    Server Product
    ColdFusion
    Version
    ColdFusion 10,285437
    Edition
    Enterprise  
    Operating System
    Windows Server 2008 R2  
    OS Version
    6.1  
    Update Level
    /D:/ColdFusion10/cfusion/lib/updates/chf10000011.jar  
    Adobe Driver Version
    4.1 (Build 0001)  
    We are using Oracle 11.2.0.3
    Once that change is in place, connections from our ColdFusion server get refused with the following error:
    ORA-28040: No matching authentication protocol
    I have verified that I can connect to the database with our credentials, and verified that the connection is valid:
    From the local server's ODBC Data Source Administrator console, I create a system DSN using the Oracle OCI client driver (ojdbc6.jar) by indicating that the TNS Service name is the same as defined in the TNSNames file, and it tests out fine.
    Everything I have found on the net indicates that I would need to make a change to the Client, but the Client in this case is the ColdFusion server.  It doesn't seem like other than the fact that it seems to be using the correct driver, that it is making any use of any of the additional settings, including those found in the sqlnet.ora file.
    HELP!  I don't know where else to go... i don't believe that this is an Oracle error, since everything seems to be functioning correctly.  I believe this to be a ColdFusion issue.
    Any help or pointers would be greatly appreciated.

    Thank you VJ, however that didn't provide any help.  There are no pointers at all within that post.
    Please keep in mind that I don't believe this to be an Oracle issue.  The Oracle client is functioning fine when I use the ODBC tools in windows to verify the connection.
    I can google, "SQLNET.ALLOWED_LOGON_VERSION = 10" and get a billion links that say basically nothing too.
    I believe this is the way ColdFusion is configured to use the Oracle drivers... Which is why I can't ask Oracle, they'd just tell me to go to Adobe!
    But, I have searched Oracle Support, and there wasn't much there either, so I am turning to the community in hopes that someone has seen this and solved it.

  • Using Oracle Developer Suite 10g Without the Oracle Database

    I have never used Oracle, but have used MS SQL Server 7. I need to learn Forms. An Oracle salesperson suggested I download Oracle Developer Suite 10g (the demo product). It includes the Oracle Developer Suite (with Forms Developer), and many other programs.
    The salesperson said it includes a database server, but I suspect it does not. I only downloaded the package last night, and have begun to skim the documentation, but I see nothing that looks like a database server.
    In SQL Server 7, the database engine is run as a service and you create and manage your tables (do all the database admin stuff) using SQL Enterprise Manager.
    So, does this package include a database engine/server? Or must you also have the Oracle Database?
    I don't see a demo version of the Oracle Database - is there one?
    Thanks in advance for any help.

    Hi,
    The Developer Suite does not contain a demo version of the Oracle Database.
    You can download the database from this page:
    http://otn.oracle.com/software/products/oracle9i/index.html
    Vincent

  • ASP & Clob fields in the Oracle Database 8i

    Hi All,
    This is the first time I am posting a question. We are having a problem interfacing ASP pages with Clob fields int he Oracle Database.
    We are trying to display clob fields in an oracle database from ASP PAge. The ASP Page does a select to a clob field from a table. But we lose the formatting od the data inside the clob field when we display it out using ASP. We display it as a
    single stream of data. But when we display the clob using SQLPLUS we do see the formatted data.
    How can we solve this issue or circumvent it ?
    We are not looking to parse through the clob field in ASP, rather we already have a stored procedure that parses the data for us. The parsed data is then stored in a clob field already formatted the way we need it. The problem occurs when the ASP
    page reads the clob field. The ASP page reads it as one continuos string instead of the formatted data that exists in the clob field.
    I imported the data from Oracle to Access in order to view the raw data. The data is shown formatted properly in Access, so we know our stored procedure is doing what it supposed to do. As far as getting the data to display. The only way to retrieve (as far as I know) a clob field using ASP is by a built in function called GetChunk(). Is there a better method of displaying the formatted data aside from parsing on the client side, using ASP?
    Let me know if anyone has a solution to this problem.
    Thanks for your help and time. Sanjiv.

    Sanjiv, you might want to try some of the Windows development forums:
    ODBC: http://forums.oracle.com/forums/forum.jsp?id=763957
    New .NET provider forum: http://forums.oracle.com/forums/forum.jsp?id=1015160
    Oracle Objects for OLE: http://forums.oracle.com/forums/forum.jsp?id=763961
    Oracle Provider for OLE DB: http://forums.oracle.com/forums/forum.jsp?id=763961
    Oracle Services for MTS: http://forums.oracle.com/forums/forum.jsp?id=763960
    You'll reach a more appropriate audience than just the Web services audience.
    Mike.

  • Access Oracle 9i from a Client Application without Oracle Client Install.

    Is it possible to access an Oracle Database from a Client Application without having an oracle Client Installation ?
    I want to write a program that connect to an Oracle Server. I use Borland C++. But my Programs only works with having the Client Oracle Software installed on the Client. Is there any way to realise this ?

    The way that 99% of the people that want to do this manage is to write Java code that connects to the database via JDBC, using Oracle's thin JDBC driver.
    If you absolutely have to use C++, you can purchase thin ODBC drivers from third parties (DataDirect for example) that will connect to the database without the Oracle client. I'm not aware of any thin, free ODBC drivers.
    Justin

  • ASP Crystal Report 2008 (12) Oracle 9 and Visual Basic!

    Hi All,
    I'm mainting an old application and I need to simulate the same client environment in my machine.
    I have a VB application (with COM+ server components) that's creates a report object with parameters. But the only thing that this application does it's call an ASP page that contains all the logic to call a .rpt file, connect to Oracle 9i and then show the crystal report inside a MS webbrowser component (activeX) in the VB form.
    I already setup the IIS, and the site there, I put all the .rpt files in the site and if you try to access without calling from VB you can run the asp pages, but the reports still doesn't appears.
    These ASP pages should connect to Oracle and then show the rpt file, but I'm facing the following error:
    The url that's the application creates is for example this: http://localhost/application1/createreport.asp?sSessionId=2&ReportName=TransactionsProcessed.rpt&parameter1&parameter2... etc etc...
    Script Error Number: -21471922153
    File could not be opened because the library "P2sora7.dll" cannot be found.
    User Error Text: An error has ocurred in CreateReport.asp while logging onto the Oracle database server. Please try again.
    I already check the database connection and it is working fine using ODBC, and the application works fine with the database.
    The file p2sora.dll is in C:\WINDOWS\SYSTEM32, I already copied from another machine, and I have installed Crystal Report 2008 (12) in my server machine with Windows 2003 server, that's the application and web server where report should be run. I know that the old application was executed with Crystal 7, but I cannot found this version to buy.
    Edited by: Don Williams on Mar 21, 2010 9:05 AM

    This is the code of the createPage.asp that it's called from VB:
    <%
    On Error Resume Next
    Dim sDLLName
    Dim sDatabaseType
    Dim sServerName
    Dim sUserId
    Dim sPassword
    Dim arrayInteger
    Dim sReportDbName
    Dim oTransStore
    Dim oReportObject
    Dim oCRSections
    Dim oCRSection
    Dim oCRSubReportObject
    Dim oCRReportObjects
    Dim oCRReportObject
    Dim oCRSubReport
    Dim oCRPageEngine
    Dim sSessionId, sReportPath, sReportName, sTablename
    ' Errorhandling Parameters
    Dim lUserErrorNumber, sUserErrorText
    ' -- Get parameters --
    sSessionId = Request.QueryString("SessionId")
    sReportName = Request.QueryString("ReportName")
    sStartDay = Request.QueryString("StartDay")
    sStartMonth = Request.QueryString("StartMonth")
    sStartYear = Request.QueryString("StartYear")
    sEndDay = Request.QueryString("EndDay")
    sEndMonth = Request.QueryString("EndMonth")
    sEndYear = Request.QueryString("EndYear")
    sAccName = Request.QueryString("AccId")
    sUserName = Request.QueryString("UserName")
    ' -- Initialisation --
    Session("ImageFolder") = ".\images"
    sDatabaseType = Request.QueryString("DbType")
    sServerName = Request.QueryString("ServerName")
    sUserId = Request.QueryString("DbUserId")
    sPassword = Request.QueryString("DbPassword")
    sReportPath = Request.QueryString("ReportsFolder")
    ' -- Select DLL for DB Type
    - Hide quoted text -
    sDLLName = "P2sora7.dll"
    Response.Write "DATABASE SELECCIONADA: " & sDatabaseType
    Select Case sDatabaseType
    Case "Oracle":
      sDLLName = "P2sora7.dll"
      sReportDbName = ""
            Case "SQLServer":
                 sDLLName = "P2ssql.dll"
      sReportDbName = Request.QueryString("ReportsDbName")
            Case "Informix":
                 sDLLName = "P2sifmx.dll"
    End Select
    ' -- Set the ErrorNumber to 400 and sErrorText.
    sUserErrorText = "An error has occurred in CreateReport.asp while loading the report details. CreateObject(CrystalRuntime.Application) . Please try again."
    lUserErrorNumber = 400

  • Using ODBC without the 8i or 9i Client

    Connecting Access.mdb on a windows station to Oracle 8i or 9i using ODBC
    Can an oracle ODBC driver be installed programatically on a station without installing the complete 8i or 9i client?
    The Microsoft ODBC driver for Oracle produces a message stating that the client needs to be installed.
    Perhaps there is an automated way of installing the client by running a script or something.
    Ideally there would be a method of using one setup program on any station that would install all required elements for this application including the Oracle ODBC driver.
    Would InstallShield contain an Oracle ODBC driver that would work on 8i and 9i?

    In order to use the Oracle ODBC driver or the Microsoft ODBC driver for Oracle, the Oracle client needs to be installed. You can invoke the Oracle Universal Installer from InstallShield (optionally with a response file), but I'm not aware of a more 'integrated' solution.
    If the Oracle client is too large a fottprint, there are third parties (i.e. DataDirect) that would be more than happy to sell you a wire-protocol ODBC driver that can run without the Oracle client.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com

  • Is Oracle Text the right solution for this need of a specific search!

    Hi ,
    We are on Oracle 11.2.0.2 on Solaris 10. We have the need to be able to do search on data that are having diacritical marks and we should be able to do the serach ignoring this diacritical marks. That is the requirement. Now I got to hear that Oracle Text has a preference called BASIC_LEXER which can bypass the diacritical marks and so solely due to this feature I implemented Oracle Text and just for this diacritical search and no other need.
    I mean I set up preference like this:
      ctxsys.ctx_ddl.create_preference ('cust_lexer', 'BASIC_LEXER');
      ctxsys.ctx_ddl.set_attribute ('cust_lexer', 'base_letter', 'YES'); -- removes diacritics
    With this I set up like this:
    CREATE TABLE TEXT_TEST
      NAME  VARCHAR2(255 BYTE)
    --created Oracle Text index
    CREATE INDEX TEXT_TEST_IDX1 ON TEXT_TEST
    (NAME)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('LEXER cust_lexer WORDLIST cust_wl SYNC (ON COMMIT)');
    --sample data to illustrate the problem
    Insert into TEXT_TEST
       (NAME)
    Values
       ('muller');
    Insert into TEXT_TEST
       (NAME)
    Values
       ('müller');
    Insert into TEXT_TEST
       (NAME)
    Values
       ('MULLER');
    Insert into TEXT_TEST
       (NAME)
    Values
       ('MÜLLER');
    Insert into TEXT_TEST
       (NAME)
    Values
       ('PAUL HERNANDEZ');
    Insert into TEXT_TEST
       (NAME)
    Values
       ('CHRISTOPHER Phil');
    COMMIT;
    --Now there is an alternative solution that is there,  instead of thee Oracle Text which is just a plain function given below (and it seems to work neat for my simple need of removing diacritical characters effect in search)
    --I need to evaluate which is better given my specific needs -the function below or Oracle Text.
    CREATE OR REPLACE FUNCTION remove_dia(p_value IN VARCHAR2, p_doUpper IN VARCHAR2 := 'Y')
    RETURN VARCHAR2 DETERMINISTIC
    IS
    OUTPUT_STR VARCHAR2(4000);
    begin
    IF (p_doUpper = 'Y') THEN
       OUTPUT_STR := UPPER(p_value);
    ELSE
       OUTPUT_STR := p_value;
    END IF;
    OUTPUT_STR := TRANSLATE(OUTPUT_STR,'ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖØÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöøùúûüýÿ', 'AAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy');
    RETURN (OUTPUT_STR);
    end;
    --now I query for which name stats with  a P%:
    --Below query gets me unexpected result of one row as I am using Oracle Text where each word is parsed for search using CONTAINS...
    SQL> select * from text_test where contains(name,'P%')>0;
    NAME
    PAUL HERNANDEZ
    CHRISTOPHER Phil
    --Below query gets me the right and expected result of one row...
    SQL> select * from text_test where name like 'P%';
    NAME
    PAUL HERNANDEZ
    --Below query gets me the right and expected result of one row...
    SQL>  select * from text_test where remove_dia(name) like remove_dia('P%');
    NAME
    PAUL HERNANDEZMy entire need was only to be able to do a search that bypasses diacritical characters. To implement Oracle Text for that reason, I am wondering if that was the right choice! More so when I am now finding that the functionality of LIKE is not available in Oracle Text - the Oracle text search are based on tokens or words and they are different from output of the LIKE operator. So may be should I have just used a simple function like below and used that for my purpose instead of using Oracle Text:
    This function (remove_dia) just removes the diacritical characters and may be for my need this is all that is needed. Can someone help to review that given my need I am better of not using Oracle Text? I need to continue using the functionality of Like operator and also need to bypass diacritical characters so the simple function that I have meets my need whereas Oracle Text causes a change in behaviour of search queries.
    Thanks,
    OrauserN

    If all you need is LIKE functionality and you do not need any of the complex search capabilities of Oracle Text, then I would not use Oracle Text. I would create a function-based index on your name column that uses your function that removes the diacritical marks, so that your searches will be faster. Please see the demonstration below.
    SCOTT@orcl_11gR2> CREATE TABLE TEXT_TEST
      2    (NAME  VARCHAR2(255 BYTE))
      3  /
    Table created.
    SCOTT@orcl_11gR2> Insert all
      2  into TEXT_TEST (NAME) Values ('muller')
      3  into TEXT_TEST (NAME) Values ('müller')
      4  into TEXT_TEST (NAME) Values ('MULLER')
      5  into TEXT_TEST (NAME) Values ('MÜLLER')
      6  into TEXT_TEST (NAME) Values ('PAUL HERNANDEZ')
      7  into TEXT_TEST (NAME) Values ('CHRISTOPHER Phil')
      8  select * from dual
      9  /
    6 rows created.
    SCOTT@orcl_11gR2> CREATE OR REPLACE FUNCTION remove_dia
      2    (p_value   IN VARCHAR2,
      3       p_doUpper IN VARCHAR2 := 'Y')
      4    RETURN VARCHAR2 DETERMINISTIC
      5  IS
      6    OUTPUT_STR VARCHAR2(4000);
      7  begin
      8    IF (p_doUpper = 'Y') THEN
      9        OUTPUT_STR := UPPER(p_value);
    10    ELSE
    11        OUTPUT_STR := p_value;
    12    END IF;
    13    RETURN
    14        TRANSLATE
    15          (OUTPUT_STR,
    16           'ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖØÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöøùúûüýÿ',
    17           'AAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy');
    18  end;
    19  /
    Function created.
    SCOTT@orcl_11gR2> show errors
    No errors.
    SCOTT@orcl_11gR2> CREATE INDEX text_test_remove_dia_name
      2  ON text_test (remove_dia (name))
      3  /
    Index created.
    SCOTT@orcl_11gR2> set autotrace on explain
    SCOTT@orcl_11gR2> select * from text_test
      2  where  remove_dia (name) like remove_dia ('mü%')
      3  /
    NAME
    muller
    müller
    MULLER
    MÜLLER
    4 rows selected.
    Execution Plan
    Plan hash value: 3139591283
    | Id  | Operation                   | Name                      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |                           |     1 |  2131 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| TEXT_TEST                 |     1 |  2131 |     2   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | TEXT_TEST_REMOVE_DIA_NAME |     1 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("SCOTT"."REMOVE_DIA"("NAME") LIKE "REMOVE_DIA"('mü%'))
           filter("SCOTT"."REMOVE_DIA"("NAME") LIKE "REMOVE_DIA"('mü%'))
    Note
       - dynamic sampling used for this statement (level=2)
    SCOTT@orcl_11gR2> select * from text_test
      2  where  remove_dia (name) like remove_dia ('P%')
      3  /
    NAME
    PAUL HERNANDEZ
    1 row selected.
    Execution Plan
    Plan hash value: 3139591283
    | Id  | Operation                   | Name                      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |                           |     1 |  2131 |     2   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| TEXT_TEST                 |     1 |  2131 |     2   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | TEXT_TEST_REMOVE_DIA_NAME |     1 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("SCOTT"."REMOVE_DIA"("NAME") LIKE "REMOVE_DIA"('P%'))
           filter("SCOTT"."REMOVE_DIA"("NAME") LIKE "REMOVE_DIA"('P%'))
    Note
       - dynamic sampling used for this statement (level=2)
    SCOTT@orcl_11gR2>

  • Point Object of the Oracle Spatial

    Dear All,
    This is C. T. Lin. I got some problem about point object of the Oracle geometry!
    Describe:
    1.I use the GeoMedia Professional to export the points to Oracle, but the oracle do not insert the geometry data into the SDO_Point, the Geomedia put the point geometry into the Ordinate_Array.
    2. I also use the MapInfo Professional to export the points to oracle, then the geometry write in the SDO_Point!
    3. the problem is occur! the MapInfo look like support the Point object that define the coordinate in the SDO_Point ,only!
    So, Can some one tell me how to write the coordinate data from the Ordinate_array into SDO_point!

    First you should create a PL/SQL function that does this convertion. Here is two version of this function, one 2D and one 3D:
    CREATE OR REPLACE
    Function changePoint3D ( Geo Mdsys.Sdo_geometry )
    return Mdsys.Sdo_geometry AS
    declare
    Point mdsys.sdo_geometry ;
    begin
    Point := Mdsys.Sdo_geometry( 3001, 82344,
    Mdsys.Sdo_point_type( geo.sdo_ordinates(1), geo.sdo_ordinates(2), geo.sdo_ordinates(2) ),
                   NULL, NULL );
    return Point;
    end;
    Function changePoint2D ( Geo IN Mdsys.Sdo_geometry ) return Mdsys.Sdo_geometry AS
    Point mdsys.sdo_geometry ;
    begin
    Point := Mdsys.Sdo_geometry( 2001, 82344,
    Mdsys.Sdo_point_type( geo.sdo_ordinates(1), geo.sdo_ordinates(2), NULL ),
    NULL, NULL );
    return Point;
    end;
    When you have these functions defined it is very easy to do what you want with a simple update sentence , like this :
    update table_X set Geo_Column = changePoint3D( Geo_Column );
    Hope this helps you.
    Hans

  • Oracle 10gR2 on Oracle Linux

    Hi,
    The Oracle Linux 5 is better than another distribution such as Suse?
    Has he some better performance relative to other distributions?
    My OS SLES9
    My DB Oracle 10gR2

    Hi;
    The Oracle Linux 5 is better than another distribution such as Suse?
    Has he some better performance relative to other distributions?
    My OS SLES9
    My DB Oracle 10gR2This is deeply question to its better to ask this on Linux related forum site which is avaliable at Forum Home » Linux » Oracle Linux
    But i can tell you all big companies prefer to use OEL or RHEL distributions for their works wiht my experience. I also advice Rhel or OEL for my customers if they want to use linux on their servers.
    I never meet any client which is working wiht Suse for a now. But it doesnt mean some company can use this distribution.
    Regard
    Helios

  • Migration oracle 7 to oracle 10 database

    i need to migrate oracle oracle database version 7 to oracle database version 10
    i hope somebody could help me....

    Hi,
    This forum handles queries relating to the migration of non-Oracle databases to Oracle, using the Oracle Migration Workbench tool. The "Database-General" forum should be able to offer you assistance with your upgrade query - General Database Discussions
    I hope this helps.
    Regards,
    Hilary

  • SAP NW Installation on Oracle with original Oracle DVDs

    Hi all,
    I heard that it should be possible to instal SAP NW 7.0 with Oracle DVDs which are not packaged by SAP.
    If this would be the case I have 2 questions:
        - is this procedure documented (and where)
        - would the resulting SAP system supported by SAP
    Thanks in advance Gerold

    Hello Gerald,
    Just be careful, because if you face any issue during the installation no using the SAP DVDs the support may no be able to help you.
    Also, one of the most important thing, follow the guide:
    http://service.sap.com/instguides
    > Database Upgrades
    > Oracle
    > Choose the Oracle version and Platform
    Regards,
    Eduardo Rezende

  • Does Oracle Lite support Oracle Spatial

    Does anybody know whether Oracle Lite or Personal Oracle supports the Oracle Spatial plug-in. Also, for extra credit does anybody know what the difference between Personal Oracle and Oracle Lite is?
    We will be needing to provide some attribute and spatial data from our Oracle Enterprise database to several laptops for field personnel using an electronic map we developed. We would like to use a portable version of Oracle that supports Oracle Spatial objects.
    Any help would be greatly appreciated.
    Thanks
    Dan

    oh, I didn't realize it was so limited. No, that won't do. We're looking for a "mini" version of the real production database including stored code, triggers etc. Should be scaled down enough to allow rapid syncing of data and schema changes from the production (or really QA) database, but full enough to include the objects necessary to allow the developers to test their code changes to the front end applicaiton on their own environment.

Maybe you are looking for