10g pl/sql native os interaction?

i've seen some indication that pl/sql interaction with the host os is native in 10g?
is it now possible for one to list the contents of an os directory and loop through returned values processing each file and deleting them all from a simple pl/sql api?
any information most apprecitated.

You can, yes. It would, however, require writing some Java stored procedures that would do the actual interaction with the host OS and generate the listing of the OS directory. You could then call that from PL/SQL, as in
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584
Justin

Similar Messages

  • Error updating data source from SQL Server ODBC into SQL Native Client 10.0

    I am converting Crystal 8.5 reports into Crystal XI release 2. The data source was ODBC using SQL Server 2000 and pointing to a stored procedure. In the new server the data source has to be ODBC again, but it uses the SQL Native Client 10.0 Driver, because the new server is SQL Server 2008. I have copied the same old stored procedure on the new server and it works fine as a data source to a brand new Crystal XI report. But when I am opening an existing 8.5 version crystal report and updating the data source to the new location I get the error message "Some tables could not be replaced, as no match was found in the new data source".
    I thought I could tackle this error by creating a temporary data source using the standard ODBC SQL Driver linked to the SQL 2008 Server instead of the SQL Native Client 10 ODBC. So I first updated the crystal data source to link to this temp ODBC using SQL Driver and it worked fine. But after that, when I try to update the data source to link to the SQL Native Client 10 ODBC, I get the same error again.
    So I guess that the problem is not the new server itself, but the switch between SQL Server ODBC and SQL Native Client 10 ODBC.
    Does anyone know what's going on with this SQL Native Client 10 in updating crystal report data sources?

    CR XI does not support that driver. Try selecting the Native driver or upgrade to CR XI R2 for free and use SP4, 5 and 6 and then FP 6.4 or upgrade to CR 2008 and SP 3 and Fix Pack 3.3
    Thank you
    Don

  • ODBC Connection problem with SQL Native Client driver with CR 11

    I am having an issue connecting my crystal reports to an ODBC connection that uses the SQL Native Client driver (Version 2005.90.2047.00).  My reports work fine when using the SQL Server driver (Version 2000.85.3006.00).   The ODBC connection is setup to use Integrated Windows Authentication and is defaulted to go to the correct database.  When I test the ODBC connection in the 'ODBC Data Source Adminstrator' it connects fine.
    The reports are trying to connect to stored procedures on a SQL Server 2005 database.  I can log onto the ODBC connection in CR X1.  When I try to set the Datasource connection for one of my reports to the ODBC connection I created, I get the following error:
    'Some tables could not be replaced, as no match was found in the new data source.  Please specify the table required for any unmodified tables.'
    When I drill down to the SP and try to update the datasource location of the SP directly I get the following errors:
    'Data Object cannot be opened/accessed'
    and
    'Unknown Database Connector Error'
    As I said, I don't have any problems when using the SQL Server 2000 driver.  One other thing to mention, when I initially connect to the ODBC connection in CR X1 with the SQL Native Client driver, it asks for a username and password.  I leave these blank since I'm using Windows Authentication.
    Any advice would be appreciated.
    System:
    Windows XP
    Service Pack 3
    Crystal Reports XI:
    Product Version 11.0.0.1282

    Hi Jeff,
    I just tried to create a new report using the native driver and there is no option to use Trusted Authentication. This would be why it's failing.
    I don't believe we fully supported Native driver in Cr XI. Try downloading CR Xi R2 and install SP6 from this info:
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    I tested it in R2 and the Trusted Authentication option is there so your reports should work.
    Thank you
    Don

  • Installing Oracle 10G and SQL Developer for Windows 7 Home Premium

    Hi Folks,
    I need your helping me in getting the correct Database installed for my Windows 7 .
    Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
    So i can install both and get on with it...
    Thanks ,
    satish.p

    user4789048 wrote:
    Hi Folks,
    I need your helping me in getting the correct Database installed for my Windows 7 .
    Can you please help me out in sending me the correct url for Oracle 10G Database & SQL Developer URL
    So i can install both and get on with it...
    Thanks ,
    satish.pWith the caveat (as already pointed out by Srini in this thread) that no Oracle product has ever been certified on any "home" edition of any version of Oracle ...
    If I were looking to download any product, I'd start by going to that company's web site (like, www.oracle.com) and look for a tab or link called "download". I'll bet if you did that, you'd find all sorts of goodies.
    But, again, since you are dealing with a "home" edition of Windows, you'll need to start by installing a virtual machine product -- VM Ware's "VMworkstation" or "VMplayer", or Oracle's VirtualBox. Then you can create a virtual machine running a supported OS. Oracle's own Linux (derived from Red Hat Linux) is also free.

  • Replication of table from Oracle 10g to sql server 2000

    Could i replicate table from Oracle 10g to sql server online. we have tables with same configuration and if any change happen in oracle 10g or sql server in that table we need to replicate that change to other database.
    What is the solution for this two way replication between sql server and Oracle 10g

    But the tutorial is saying that i will have to install Oracle database on the server already having sql server, is it client or whole database, if it is then it will acquire lot of resource.
    I want to find out that for Heterogenous Service ODBC, we need third party software for ODBC Driver of SQL SERVER for Linux and secondly if we use Transparent Gateway then what are the steps for its configuration.
    I could not find steps of configuration of Transoparent gateway, when i am trying to install Transparent gateway from Universal installer, it is not there. where do i find it , Do i need to purchase it too.

  • Heterogeneous Connectivity  10g r2 - SQL Server 2008 64 bit  - DMLs

    Hello,
    How do I update and delete based on condition of a where clause from an Oracle RDB 10g r2 instance to SQL Server database?
    I am using Oracle Database Gateway 11g for ODBC
    For e.g. consider following statement
    update  "ShipConfirm"@testsql set  "PackageReference" = 'test' where "PickListNumber" = '349318'in above example the ShipConfirm table in testsql DB link actually belongs to SQL Server 2008. And I am updating this from Oracle 10g's SQL Plus.
    When Above statement runs, Oracle gives following error
    ORA-02070: database TESTSQL does not support some function in this contextWhen I pass value without single quotes, I get following error
    ORA-02070: database TESTSQL does not support TO_NUMBER in this contextIf I remove where clauses then all Updates and Deletes are working just fine.
    Please advise.
    Thank you
    D

    To diagnose the error, please provide me the SQL statement for the create table command of the SQL Server table.
    In addition make sure no gateway process is loaded, then add/change your gateway init file: HS_FDS_TRACE_LEVEL=255
    Start a new SQL*Plus session and reexecute your statement.
    Upload the generated trace file to a public share like https://www.dropbox.com/tour and provide me the link
    Edited by: kgronau on Dec 4, 2011 9:46 AM
    If you don't want to post your trace file in a public share (security concerns), then please log a service request at Oracle Support.

  • SQL Native Client 11 (ODBC) - SQL Server 2012 - MS DTC - Transaction Promotion

    Hi and thanks for any help in advance,
    Does the SQL Native Client (ODBC) resource manager support automatic transaction promotion?  I don't see anyway to get this to work using the ODBC API or the MS DTC API.
    I have a connection that enlisted into a local transaction (setting auto commit to false).  Then I get another call that is part of the same transaction but to a different server.  So I try to enlist the first connection handle into a new distributed
    transaction but that fails with the error code 25000 - which seems to indicate that promotion is not possible.  Am I missing some other API call?
    Any help appreciated.

    For .Net yes.  If you are using SQL Native client and ODBC - the Enlist keyword is not supported in the connection string.  For .Net System.Transaction takes care of doing the promotion for you if required.  What I am asking is how that is
    achieved using SQL Native client API and the MS DTC using C++?

  • How to set default SQL Native Client in SAP BO?

    Hello,
    is there any possibility to set default SQL Native Client? We must have two SQL NC installed unfortunately, 2005 and 2008. Issue is, that SAP BO chooses the 2008 by default and user must manually switch to 2005 to see pre-defined instances. Is there any way how to select SQL NC 2005 as default? Many thanks
    Best regards,
    Joe

    Hi,
    Try this procedures.
    1. Dont open your SBO program.
    2. Goto C:\Program Files\SAP\SAP Business One\Conf\ folder
    3. Delete file b1-local-machine.xml
    4. Log to SBO program.
    5. Apply all necessary authentication then select SQL_2008 then log.
    6. After logging exit to SBO program.
    7. Re-log again if SQL_2008 is already in default.
    Thanks.
    Clint

  • MS-SQL Server 2005 SP1 vs MS-SQL Native Client 2008 or 2012

    Hello,
    I woud like to know if it's possible to use on a computer Windows Seven, the MS-SQL Native Client 2008 or 2012, and connect it on a MS-SQL Server 2005 (under Windows 2003 enterprise).
    Regards,

    Hello,
    Yes, the SQL Server Native client is backward compatible, means you can use Client 2008 or higher to connect to a SQL Server 2005.
    With some limitations the client is also forward compatible, means you can use a client 2005 to connect to SQL Server 2008 and higher; but the client isn't aware of new server features.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Oracle 10g to sql server 2005 - how to setup

    Hi,
    I have been searching on how to setup a connection from oracle 10g to sql server 2005 and i have to admit i am struggling a bit.
    I have read about Heterogeneous Services and Database Gateway but we really dont want to fork for licence fees so it looks like i have to investigate HS.
    My environment is:
    10gR2 Linux 32 bit
    SQL Server 2005 32bit.
    Would someone be able to provide me with a list of steps to help me get this setup?
    Thanks.
    B

    Hi,
    If you don't want to pay for any licence fees then you will have to use the 11g Database Gateway for ODBC (DG4ODBC) which is included in your RDBMS license.
    You need to use the 11g versions because all previous gateway versions have been desupported for some time. The latest version is 11.2.0.3 which can be downloaded from My Oracle Support as -
    Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER
    and download -
    p10404530_112030_platform_5of7.zip
    - this is the Gateway media pack and has everything needed for a standalone gateway install.
    This version is certified the following RDBMS versions - 10.1.0.5 + RDBMS patch 5965763, 10.2.0.3 + RDBMS patch 5965763, 10.2.0.4, 10.2.0.5, all 11.1 versions, all 11.2 versions.
    You have 2 choices about where you can install it and it would be better to install the gateway into a new and separate ORACLE_HOME from any existing Oracle installs -
    1. On the Linux 32-bit platform where the RDBMS is running. If you install it here you will need to supply a third party ODBC driver. The only free one I am aware of is from FreeTDS but there may be others. There can be problems with the FreeTDS so another one may be preferable but these usually require a license fee.
    See this note in My Oracle Support -
    How to Configure DG4ODBC on Linux x86 32bit or on HP-UX RISC (DG4ODBC 11.1 only) to Connect to Non-Oracle Databases post install (Doc ID 466228.1)
    2. Install DG4ODBC on the Windows platform where SQL*Server is running. If you install on Windows then you will be able to use the Microsoft SQL*Server ODBC driver which should already be installed. See this note on My Oracle Support -
    How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit (Doc ID 466225.1)
    If you don't have access to My Oracle Support you will need to contact someone in your organisation to access the notes for you or review the gateway documentation -
    http://www.oracle.com/pls/db112/homepage
    Regards,
    Mike

  • Parameter list in SQL native queries

    I need to migrate from Toplink 10 to EclipseLink.
    In my "old" project, I have some SQL native queries like '...... where field in #pFieldValues'
    #pFieldValues is an arraylist/vector.
    It was working perfectly with TopLink 10, but now it fails with 'Oracle Error' 'Invalid column type'.
    How can I achieve this now with EclipseLink?  (I don't want to use EJBQL queries (or JPQL queries).
    Thanks

    I made it work modifying SQL statement for Access database by passing parametres in where clause.
    But it works only for single value , though I have checked Allow multiple values: true. but fails when passing more than one value,
    Error message pops up " Failed to retrive data from database. The Microsoft Access database engine could not find the object tblHirarchy('ANSTG', 'MCIS')
    How to resolve it?
    SELECT tbl_CBP.forcast_in_MON, tbl_CBP.forcast_MON, tbl_CBP.forcast_QTR,
    tbl_Hierarchy.Technology_Group, tbl_Hierarchy.[Business_ Unit],
    tbl_Hierarchy.Product_Family, tbl_CBP.Units, tbl_CBP.Cost, tbl_CBP.REV,
    tbl_Time.Sort_order
    FROM (tbl_Hierarchy INNER JOIN tbl_CBP ON tbl_Hierarchy.Product_Family =
    tbl_CBP.PF) INNER JOIN tbl_Time ON tbl_CBP.forcast_MON =
    tbl_Time.Fiscal_Month
    where tbl_Hierarchy.Technology_Group = {?TG}
    ORDER BY [sort_order]
    union all
    SELECT [Forcast_In_MON] & ' Actuals' AS forcast_In, tbl_Time.Fiscal_Month,
    tbl_Time.Fiscal_Quarter, tbl_Hierarchy.Technology_Group, tbl_Hierarchy.
    [Business_ Unit], tbl_Hierarchy.Product_Family, tbl_Actuals.Units,
    tbl_Actuals.Cost, tbl_Actuals.REV, tbl_Time.Sort_order
    FROM (tbl_Actuals INNER JOIN tbl_Hierarchy ON tbl_Actuals.PF =
    tbl_Hierarchy.Product_Family) INNER JOIN tbl_Time ON tbl_Actuals.Actuals_MON
    = tbl_Time.Forcast_In_MON
    where tbl_Hierarchy.Technology_Group = {?TG}
    ORDER BY [sort_order];
    your HELP is highly appreciated.

  • Error 1603 installing microsoft sql native client

    error 1603 installing microsoft sql native client
    Sagar Chavan

    have a look at this link
    http://support.microsoft.com/kb/834484
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Veritas MS SQL differential backup interrupt MS SQL Native differential backup

    I have MS SQL 2005 Enterprise edition and I am taking weekly(Every Sunday) full backup and daily differential backup using Veritas backup tool.
    Now I got request from application team to take SQL native full backup on Tuseday  and daily differential backup till next 2 days(i.e., till Thursday.) and keep intact current veritas backup strategy of daily differential and weekly full backup
    Now my question is will My MS SQL differential native backup will hamper by daily Veritas SQL differential backup or vice versa.
    Thanks in Advance!!!!!

    Hi,
    You should ask Veritas about this question whether Veritas backup would affect SQL Server backup or not I guess it will do.
    Now a solution here can be
    copy only backup. But unfortunately there is no meaning of differential copy only backup but you can take copy only log backup. What copy only backup does is it does not affect the current backup sequence which is occurring neither effects the restore.
    Now since you already have full and diff backup in place why cant you use Veritas backup.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • 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

  • Creating and Using View Objects on JDev 10g against SQL Server 2005

    I'm currently working on this project on Jdeveloper against a SQL Server 2005 DB (I couldn't talk this people to migrate to Oracle... :-( ), and it's the first time I work with JDev against a database other than 10g.
    I had no problem making the connection, and I can see the DB in Conections->Databases, but when I create an app. module, and create entities and views and add them to the app. module to access them through the Data Controls, these don't work. I can see the view on the Data Controls, and when I drag them to my jspx page it shows the menu that let's me choose whether I want to create a table, or a selection, or a tree, but once I choose one, it does nothing.
    I've search all over the internet and haven't found a solution, so I come to this forum desperate for help, seriously.
    Please get in touch; if anyone knows another solution that doesn't involve not using JDev or SQL Server 2005, please let me know, because I basically need to have a few selectonechoice showing some data from a few tables.
    Thanks for reading this post, and hope to get help.
    Carlos.

    Hi,
    can you run the model in the ADF BC tester ? If this is possible the SQL Server doesn't seem to be the problem. Are you on JDeveloper 10.1.3.3? If not, just get this latest build
    Frank

Maybe you are looking for