With the help of Oracle heterogeneous access table to sql server database services

I created a dblink "POC_HS" of oracle to sql (heterogeneous services implemented) and I can't go out data from the default database to which the DSN (for sql server) is connected successfully.

So, this ' select * from ' Test@POC_HS is works perfectly well on the Oracle database as 'Test' table resides in the default database (that the system DSN is connected to).

But when I do ' select * Abc.Test@POC_HS' where the Test table resides in the 'ABC' database which is not the default survey database an error as follows:

ORA-00942: table or view does not exist the name of incorrect [generic object using ODBC Connectivity] [Microsoft] [ODBC SQL Server driver] [SQL Server] 'Abc.Test '. [Microsoft] [ODBC SQL Server driver] [SQL Server] Instructions could not be prepared. (SQL State: S0002;) SQL code: 208)

I also tried "select * from Abc.dbo.Test@POC_HS' but oracle throws this exception" ORA-00933: not correctly completed SQL command "."

The dblink and system DSN user account has access to database 'Abc '.

Thoughts?

No, this is not possible.

Tags: Database

Similar Questions

  • With the help of Oracle AQ in Weblogic 10

    Hello

    I have a small problem for this race, and maybe someone can help me?

    So maybe I'm telling you what I want and what I've done so far.

    What I want to do:
    1. I have an Oracle 10 g (10.2.0.4) database with 5 lines.
    2. I have a Weblogic 10 (10 MP1) server with 5 Message Driven Beans
    3. I want that message driven beans stay connected with the queues of the oracle, but it is important that they use an XA connection and they use a connection pool.

    What I've done so far:
    1. I created an Oracle data source on the Weblogic Server. It uses the Thin (XA) Oracle driver and a connection pool.
    2. I created an ApplicationLifecycleListener (it's like a startup class) that retrieves the jndi data source context.
    3. the class I get from the context is not the 'normal' oracle driver class Because I use the connection pool the oracle class is wrapped in a RMIDatasource object.
    4. This RMIDatasource not implements the XADatasource, so I created a wrapper class that implements XADatasource, but uses the RMIDatasource object.
    5. after that I have a XADatasource object I can call AQjmsFactory.getXAQueueConnectionFactory)
    6. now, I create an object XAQueueConnection and XAQueueSession
    7. at this point, I can get the queues of the Oracle and so I put them in the weblogic jndi context
    8. when the message driven beans are deployed, I get the following error message:

    Unable to deploy EJB: TestHandlerBean of MyProjectEJB:
    Error getting information of Member JMSServer

    When I search on the internet I found some documents describing an error similar to MQSeries message, but this should be fixed with Weblogic 10 MP1.
    In some other threads, I found the solution seems to be using the following project code: [https://jmsbridgesxa.projects.dev2dev.bea.com/]
    But this code is only for weblogic 8.1.

    Someone has an idea for this problem?

    I have not tried, the road I used before was the method of code/code-share your reference. One of the guys produced WLS was told this.

    This page of OTN:
    http://www.Oracle.com/technology/products/IAS/OEMs/index.html

    There is a link: How to: Oracle Advanced Queuing Integration with WebLogic Server
    http://www.Oracle.com/technology/products/IAS/OEMs/files/aqjms_v2.0.zip

    This zip file contains a frame that records the QA destinations in WebLogic JNDI and enables support of tx.

    Have you looked at who?

  • Problem with the migration of key primary and foreign from SQL Server to Oracle

    Hi people, I use SQL Developer to migrate Oracle to a SQL database, and I'm stuck with a few questions:

    So far, the worst of them is the fact that I can not migrate the PKs and FKs. After having successfully captured the model DB in SQL Server and Oracle conversion, when the tool generates scripts, all ALTER TABLE queries that add pharmacokinetics and the FKs have their columns duplicate targets.

    for example: when I'm trying to migrate a simple table that contains an Id (PK) and the columns name, the tool generates the following scripts:


    PROMPT create Table TestTable...
    CREATE TABLE TestTable)
    ID NUMBER (10,0) NOT NULL,
    Name VARCHAR2 NOT NULL
    );

    The PROMPT create constraint primary key on the table TestTable PK_TestTable...
    ALTER TABLE TestTable
    ADD CONSTRAINT PK_TestTable PRIMARY KEY
    (
    ID,
    ID
    )
    ENABLE


    Regarding the FKs, the tool duplicates the columns thus:

    ALTER TABLE SomeTable
    ADD CONSTRAINT FK_SomeTable_SomeTable2 FOREIGN KEY
    (
    SomeTable2Id,
    SomeTable2Id
    )
    REFERENCES SomeTable2
    (
    ID,
    ID
    )
    ENABLE
    ;

    Does anyone have an idea on how to solve these problems? I would be very grateful for answers!

    Hi Fernando,

    I was unable to reproduce this problem. My primary / foreign keys when defined using unique columns.

    The PROMPT create constraint primary key on the suppliers table PK_Suppliers...
    ALTER TABLE suppliers
    ADD CONSTRAINT PK_Suppliers PRIMARY KEY
    (
    Vendor No.
    )
    ENABLE
    ;

    I tried a few things like
    capturing twice and rename the two models of the same
    Rename the converted templates
    but without success.
    I think that this problem occurs is in the capture phase or convert.

    (1) you perform the capture online or offline?
    (2) can provide you a DDL together for one of these tables and the indexes to see if I can reproduce?
    (3) made of capture or convert fail or be again at any stage?

    I all else fails I would attempt a capture and convert again using a new repository (create a new schema in Oracle and associate him the migration repository).

    Kind regards
    Dermot
    SQL development team

    Published by: Dermot ONeill on October 22, 2009 12:18

  • With the help of a number variable in a SQL statement

    Hello

    I am trying to use a variable in a sql statement, and I ran into problems when the variable is a number. The following line of code works if the variable is a string, but not if it is a number.

    "SELECT PAGE 1 UUT_STATUS OF UNIT_UUT_RESULT WHERE UnitID = '" + Locals.LocalUnitID + "' ORDER BY DESC START_DATE_TIME.

    Is there a difference in the use of single and double quotes and the sign for numbers variables +?

    Thank you

    Stuart

    Jervin is almost correct in the post above.

    While it is correct that numbers in SQL are not enclosed in single quotes ('), we still need the entire expression to a string.  If Locals.LocalUnitID is stored as a number to TestStand, you will need to cast to a string so that the string concatination works properly.

    I believe that the correct form is as follows:

    "SELECT PAGE 1 UUT_STATUS OF UNIT_UUT_RESULT WHERE UnitID ="+ Str (Locals.LocalUnitID) + 'ORDER BY DESC START_DATE_TIME'

  • Update of security for the SQL Server 2005 Service Pack 3 (KB970892)

    Windows tells me that the following update must be installed: update for SQL Server 2005 Service Pack 3 (KB970892) security
    I told it to install and it says that the installation is complete.  Minutes later he tells me I need to download the same update.  This has happened for months.  Can someone help me?

    + SQL Server Setup & upgrade
    http://social.msdn.Microsoft.com/forums/en-us/sqlsetupandupgrade/threads/

    There is a special forum for SQL.

    TaurArian [MVP] 2005-2010 - Update Services

  • With the help of Acrobat with MS Access VBA

    With the help of Acrobat 9.5. I'm trying to analyze a problem, so I have this test code:

    CODE

    Void testObjects()
    Dim i As Boolean
    Dim objapp As acrobat. AcroApp
    Set objapp = New acrobat. AcroApp
    objApp. Show
    I have = objapp. CloseAllDocs
    Debug.Print I have
    I have = objapp. Output
    Debug.Print I have
    Set objapp = Nothing
    End Sub

    After Objapp.closealldocs I I = true (successful) but after I get i = objapp.exit I = false (no), and of course Acrobat is still active. How can I get Acrobat to close? It is a bit of test code. In the real application Task Manager indicates acrobat using memory more and more as the application moves through the records.

    I suspect I'm missing something obvious here, but what? My experience with Acrobat automation and access is limited, so be gentle with me! smile.gif

    If this is the wrong forum, please tell me where I should go.

    I thought people might be interested to know that I found a work around for the problem of memory leak. I inserted a break every so many documents and that seems to be enough to let the Acrobat to free the memory.

    On the development of PC a break of 10 seconds every 50 records (or probably more) are sufficient enough. but I'll have to do some settings on the computer target to find the optimal number. This means that the process is extended, but it is once a year of operation, so I don't think that will be a problem. I'm estimating that the final time will be approximately 15 minutes.

    Of course, I thought of the solution until after that I had worked to generate Word documents instead, but it now means that we can offer the form in PDF or Word format.

    Thank you all for all the help and suggestions.

  • Insert the record of one table to another with the help of the cursor

    Help, please!

    the tables are - 1. countries (country_id pk, country_name, region_id)
    2A (country_id, country_name, region_id)
    table data are
    1 to 1
    2 b 2
    3 C 3
    NULL d 4
    5 e 5
    6 f 6
    7 g 7
    -----------------------
    Insert the record in the table a country table with the help of the cursor, insert all the non-null records.
    This procedure does not correct result
    -----------------------

    create or replace
    Amit procedure as
    cursor c1 is select * from a;
    RW a % rowtype;
    Start
    Open c1;
    Fetch c1 into rw.
    While (C1% found)
    loop
    insert into countries values (rw.country_id, rw.country_name, rw.region_id);
    commit;
    Fetch c1 into rw.
    If rw.country_id is null then
    Fetch c1 into rw.
    end if;
    end loop;
    Close c1;
    exception
    while others then
    dbms_output.put_line ('exception = name ' |) RW.country_name);
    end;

    You don't need cursor at all;

    create or replace procedure amit as
    
    begin
      insert into countries (Country_ID, Country_Name, Region_ID)
      (select a.Country_ID
             ,a.Country_Name
             ,a.Region_ID
       from a
      );
    
      dbms_output.put_line('Rows inserted : ' || sql%rowcount);
    
      commit;
    
    end;
    /
    
  • With the help of AMPA on non - WS Data Controls

    Hello community MAF .

    I'm developing an Application of MAF that consumes the REST API of WebCenter portal (which is based on the model of HATEOAS).

    I want to make powerful from scratch, including the following:

    -Offline mode (using the SQLite).

    -Persistence, of setting cache and synchronization using AMPA.

    Looks like it's not easier to apply directly on the REST API of WCP AMPA.

    The REST API of WCP is the result of a call of two steps:

    1) authenticate using BASIC authentication against http://Host/repos/api/resourceIndex for the utoken

    (2) use utoken as the URL parameter for the next call of REST for the specific service.

    I know that the Bus Service could be a possibility on the creation of a more simple REST on the WCP REST API, but is not an option right now because that is not easy to map.

    My questions are:

    (1) can we use AMPA on data controls in Java that will call internally to (DB in case of offline mode, REST by program in the case of online mode).

    (2) can define us manually in the persistenceMapping.xml?

    (3) is there anything else more easy to use wizards with HATEOAS base based Services?

    Thanks in advance

    Kind regards.

    Daniel,

    Why is it not service bus an option? You say 'not easy to map', but do the mapping in the MAF makes it not easier, it? the REST API of pressurization is not very easy to mobile, so this transformation to a more usable by using bus service API cost as a good idea for me. See also this article from the A-team.

    Answers to your questions:

    (1) Yes, this is the added value of nucleus of AMPA. You get a service generated the DTC Assistant classes, then you turn this class in a bean data control and use this data control bean for the construction of your user interface. The service class will access local DB and the service REMAINS remote. By default, AMPA will directly show the current data of the local DB, and then in the background call the REST service (online) and refresh the UI, once the REST call has been processed. But this behavior is very configurable and can be changed as you wish.

    (2) Yes, of course, you can manually create data objects, classes of service and persistence mappings, but the wizard is generally much faster.

    (3) HATEOAS logical not for the dynamics of UI where the next action is determined by a link returned in the payload. It is a different model from the static of the UI we build in general with MAF. What is your problem with the help of the wizard of the AMPA?

    Steven Davelaar,

    Oracle Mobile & Cloud A-team.

  • Help? With the help of file system Ext3 on key USB on Linux RT target

    We have been affected by problems with the SD cards and USB drives formatted in FAT32 on some devices, according to Linus RT of long-term monitoring (mainly the cRIO-9035). It seems that readers are vulnerable to fluctuations in current and unexpected reboots (which are inevitable on these sites). Write aborted operations make the damaged discs, thus sabotaging logging after reboot.

    We have identified two solutions; implement both gives the best redundancy:

    (1) installation of UPS (uninterrupted power supply for emergency supplies/batteries) - done

    (2) using the file system apparently more robust 'ext3', which is available on the target RT Linux (FAT32, ext2 and ext3) - don't have not so far:

    ->, I was not able to properly format a USB stick for ext3. I use the MiniTools Partition Manager and don't get any errors when create and format partitions. But they appear as 'read only' when it is inserted into the chassis of the RT. All attempts to access it, other than to observe the empty folder sdxx in ' / media "is returning errors.

    Someone had a bit of luck with the help of ext3 disks formatted as data drives on the objectives of the RT Linux? It is worthwhile to solve my problems or should I use FAT32 and the observed risk?

    I do not consider this but a temporary solution:

    I ran into issues when you use MiniTools Partition Wizard to partition and format my thumb on Win10 records. An unidentified change makes the inaccessible disks and freeze the browsing of file on the PC when I try to delete the partition. It was quite annoying!

    I decided to try another partition tool and went for the EaseUs Partition Master (free version for the moment). I formatted successfully one of the troublesome discs with it (to add some uncertainty to the solution, I used another brand sp * banking, new PC to do). The reader now mounted in read-write and allows the startup application create the I want to store files in folders.

    I'm very curious to know the difference between the tools of both partitions and their formatting...

  • Is it possible to delete a plot with the help of the mouse select the chart control?

    For example, when I use the plot to draw thousands of lines on the chart control, I want to delete some of them, but there are thousands of generated plotHandle.

    How can I get the plotHandle of the specific line on the chart control with the help of the mouse to select the option?

    If I save the information from the lines, such as the plotHandle and the coordinates on a table or list, etc, I compare information lines for the plotHandle of the specific line.
    Is it all a user-friendly way to remove a track selection on the chart control?

    I can't give you a reasonable way to solve this problem, since as you have already noted plot do not snappable plots.

    A possible warkaround would be to replace the plot of individual instructions with a PlotXY matching with 2 bays 2 points each, which correspond to the x 1, x 2, y1, y2 parameters to plot. PlotXY plots are snappable, so you can enable this procedure select the plot and remove it.

  • With the help of HP printers in Windows 8

    Windows 8 is the latest operating system produced by Microsoft, Inc.  There are a few differences in the way that you access functions such as printing and scanning from older versions of Windows operating systems.

    Whenever you install a printer in Windows 8, there are a few options to do: complete features in OS driver or driver from Windows Update.  There are similarities between the various drivers, but not everything works the same.

    However, HP has released a document with detailed instructions on the use of HP printers in Windows 8. The document can be found below:

    With the help of HP printers in Windows 8

    Good impression!

    Hope this helps everyone!

  • OEBS 12.1.3 purchase request for approval Notification - SOUL with the help of approvals.

    1. We discovered that the version of the SOUL of this notification is generated via a framework of OA.
    2. We have a requirement for the company to add details of the additional topics to the part of the notification.  These fields are not standard for objects of view OA executives Business so an extension of necessary view.
    3. With the help of this and other sites, I was able to extend the view object in the favorite jDeveloper IDE and transfer it to my development OEBS instance.
    4. I see my view extended on the OFA Page, when you look at the content of 'About' from the page.

    My problem is when I try to 'Customize' and add a column of extended view, errors Page OAF that I am trying to come back since the customization session.

    I joined "Personalization_Error_when_adding_new_column_from_OA_Extended_view_object.docx" detailing what I try to run.

    Support of Oracle said that extension of the view OFA is considered a "customization" and that he does not want to help.

    Can anyone advise on what I should look at to solve this error?

    Any feedback/assistance would be greatly appreciated.

    Best regards

    Rich

    The View attribute is referred to as "LAST_UPDATE_DATE". If this is what we call in the SQL query, the attribute of the view object might be different like "LastUpdateDate". Please check back in the XXVO.xml.

    If that has not solved the problem, its running diagnostics by activating the option FND:Diagnostics profile. Then you will get the link 'click here' link on the error page to get the error stack. You can stick the stack of error here.

    Thank you

  • With the help of JavaScript condition in the dynamic action of JQuery selector

    Hi guys,.

    I have a Setup master detail on a page.

    The detail section, I have a tabular presentation.  One of the fields is a selection list.  The first record in the select contains the value * not * that has a value of primary key for the 1.  I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.

    I want than the region of text element to only appear if the value * not listed * is selected.

    I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.

    However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.

    I guess I need some sort of NVL in JavaScript condition?

    I use APEX v4.2.

    Any advice would be appreciated.

    Chris

    Cashy wrote:

    I have a Setup master detail on a page.

    The detail section, I have a tabular presentation.  One of the fields is a selection list.  The first record in the select contains the value * not * that has a value of primary key for the 1.  I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.

    I want than the region of text element to only appear if the value * not listed * is selected.

    I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.

    However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.

    I guess I need some sort of NVL in JavaScript condition?

    I use APEX v4.2.

    Simple solution is to hide the region containing the element of text by default, using the style = "" view: no ' in the property of the attributes of the area in the region. " It will be always hidden when the page initially, but its visibility will be controlled by the DA subsequently.

  • Need the pdf file must be stored directly in the database with the help of jasper

    I use the package of integration of jasper... www.opal-consulting.de
    using apex 4 and am now able to generate the invoice pdf... with the help of jasper and store it in a database... Board.

    I need to generate the pdf in the background... without dispalying invoice in my screen...
    Without having to download on my computer... And store directly in the database table.
    *.. *

    Is this possible...
    All information is very appreicated.


    Here is my part existing code... Kindly Guide.


    DECLARE
    l_blob BLOB;
    l_mime_type VARCHAR2 (100);
    BLOB l_blob2;
    l_mime_type2 VARCHAR2 (100);
    MPort varchar2 (200);
    mrserver varchar2 (20);
    BEGIN
    Warn('fsubdno'||:P103_SUBSCRIBERDNO);
    commit;
    mrserver: = rserver();
    MPort: = ' http://'|| mrserver | ' / JasperReportsIntegration/report ';


    ------------------------------------------------------------------------
    -generate the report and return to BLOB
    ------------------------------------------------------------------------
    xlib_jasperreports.set_report_url (mport);
    Warn ('firststrikeeee');

    xlib_jasperreports.get_report
    (p_rep_name = > 'reinvx',)
    p_rep_format = > "pdf."
    p_data_source = > 'failures. "
    p_rep_locale = > 'de_DE ',.
    p_rep_encoding = > 'UTF - 8',
    p_additional_params = > ' & Psubscribe_no ='. : P103_SUBSCRIBER_NO | ' & Psubscribed_no ='. : P103_SUBSCRIBERDNO,.
    p_out_blob = > l_blob,
    p_out_mime_type = > l_mime_type
    );
    WPG_DOCLOAD.download_file (l_blob);
    Warn ('secondstrikeee');

    WPG_DOCLOAD.download_file (l_blob);
    BLOB_LOADB (MID (),: P103_SUBSCRIBER_NO, NULL, 'RENEWAL_INVOICE', 'RENEWALINV' |: P103_SUBSCRIBER_NO, L_MIME_TYPE, L_BLOB);
    ------------------------------------------------------------------------
    -free resources
    ------------------------------------------------------------------------
    DBMS_LOB.freeTemporary (l_blob);
    ------------------------------------------------------------------------
    -judgment of the APEX page
    ------------------------------------------------------------------------
    apex_application.g_unrecoverable_error: = TRUE;
    EXCEPTION
    WHILE OTHERS
    THEN
    xlog (SQLERRM, "PRC_GET_REPORT_TUNNEL", "ERROR");
    LIFT;
    END;

    Published by: susf on 16 July 2012 08:47

    Hello

    try to do a procedure from your original like this code:

    procedure make_pdf(p_subscriber_no in number, p_subscriberdno in number)
    is
       l_blob blob;
       l_mime_type varchar2 (100);
       l_blob2 blob;
       l_mime_type2 varchar2 (100);
       mport varchar2(200);
       mrserver varchar2(20);
    begin
       warn('fsubdno'||p_subscriberdno);
       commit;
       mrserver := rserver();
       mport := 'http://'||mrserver||'/jasperreportsintegration/report';
       -- generate the report and return in blob
       xlib_jasperreports.set_report_url (mport);
       warn('firststrikeeee');
    
       xlib_jasperreports.get_report
          (p_rep_name => 'reinvx',
          p_rep_format => 'pdf',
          p_data_source => 'chess',
          p_rep_locale => 'de_de',
          p_rep_encoding => 'utf-8',
          p_additional_params => '&Psubscribe_no='||p_subscriber_no||'&Psubscribed_no='||p_subscriberdno,
          p_out_blob => l_blob,
          p_out_mime_type => l_mime_type
          );
       blob_loadb (mid(),p_subscriber_no,null,'renewal_invoice','renewalinv'||p_subscriber_no,l_mime_type,l_blob);
       -- release resources
       dbms_lob.freetemporary (l_blob);
    exception
       when others
       then
          xlog ('prc_get_report_tunnel', sqlerrm, 'error');
          raise;
    end;
    

    Then, you can call this procedure in a database job that you create with an apex as this process:

    begin
      dbms_scheduler.create_job (
        job_name        => 'make_pdf_job',
        job_type        => 'PLSQL_BLOCK',
        job_action      => 'begin make_pdf(' || :P103_SUBSCRIBER_NO || ',' || :P103_SUBSCRIBERDNO|| ') end;',
        start_date      => systimestamp,
        repeat_interval => null,
        end_date        => null,
        enabled         => true,
        comments        => 'Make pdf job from Apex page 103.');
    end;
    

    Kind regards
    Erik-jan

  • With the help of Back-End SQL Server 2008

    I intend to launch a project with JDeveloper 11 g R2 as front end and SQL Server 2008 as primary server.
    ADF does support SQL Server 2008 as a backend?

    According to the http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html#Databases, yes SQL Server 2008 is supported.

    additional for configuration, these links should help –ADF with SQL Server

    Published by: detrilles on June 11, 2012 Sudipto 16:09

Maybe you are looking for

  • Qosmio X 500 does not start and the power LED is flashing every 5 seconds

    HelloI need help my X 500 does not start now. I tried to launch the NB as usual and suddenly the X 500 start or even power up. If I press the power button / stop it makes no noise, the power LED on the button and the second power LED just bliks once

  • FTP Get file error

    Hello! I try to use FTP_Get_File.vi to transfer a file from a ftp server on my computer. But whenever I get the following message is displayed: "Error 0 to ftp validate the data connection: invalid data connection. However, it works using a tradition

  • Close all files in sequence

    I need a sequence to close all files in sequence. I was hoping to find a method of engine as "CloseAllSequenceFiles". Unfortunately, this method does not exist. Any ideas on how I can accomplish this? Thank you Steve

  • WANT to M6 1117TX RAM and the limits of the WSSD?

    Hello I have an ENVY M6 1117TX. Is anyone know the Max RAM and bigger WSSD that I can put in it? Kind regards.

  • Clearing memory songs. Clip.Zip

    I can see folder on the disc-S and music Albums.   It lists even the tracks.  When I go to the PC and click right properties to the G: drive it shows that 2/3 of the bytes are used.   D G: for Sanza ClipZ click it shows nothing in any record, except