DB link to select only one table

Hi all

I want to create a DB connection in my local DB to access a single table in the remote database.


User a local database

The user remote DB there... There were 200 paintings...

Can I create a DB link in my local DB as user a and access one table DB remotely (figure Y)

Is this possible?


Please let me know if I have not this clear?

Kai

You must create a new user in the remote db, with access to only 1 table.
The database link connects to this user.

------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • Is it possible to select only one column of a table for the redaction?

    Hi, converted a Word doc with a table in PDF format.  You will need to write a single column of the table.

    Is it possible to select only one column for the redaction?  When we select and drag downwards, it selects the other columns in the following lines.

    With the help of Acrobat X Pro.  Any help is appreciated.

    Hold down the CTRL key and drag a selection.

  • LOV cascading if I don't have only one table with the customer name and the name of the product in the ADF.

    Hi Please help me how to use cascade, if I don't have only one table with the customer name and the name of the product in the ADF... I use Jdeveloper 11.1.

    For the client, I used customer VO with client list to fill but to populate the product that I use bind variable PrODUCT_NAME select distinct from TABLE where client_name =: bindCustomer

    so first of all, I need to set the variable of liaison on behalf of the selected customer.

    Can you please tell me how to set this variable binding in this case.

    After you set the LOV to your product attribute, correspondting VO in the LOV will appear under view accessors.

    Change the accessor of the view, you will see the variable binding. Set its value to the customer field of the parent object.

    Visit this link: https://www.youtube.com/watch?v=nXwL2_RP7AQ

    Kind regards

    Elias.

  • Help with the query to select only one record from the result set in double

    Hello

    Please help with the query. Version of Oracle database we use is 10g R2.

    I have a vision that is duplicated IDS, but they are used across the different functions. See below examples of data. Please help me with a query to select only one record (based on ID regardless of the area) from the bottom of the result set of duplicate records. For what is the point of view is there unique records, given the combination of the fields ID, Org, DF, dry, Sub-Sec

    ID
    Org
    DF
    Sec Sub-Sec

    (163)CQCPDMCPDMHD(163)PCENGENGENG(163)CQASICASICIS8888TSTACTACTAC(163)TSHEHESW6789CQINFOINFOFOS6789PCSECSYSSECSYSINFO16789TSSECSYSSECSYSINFO29009PCBMSBMSBMS1

    My result set must eliminate the duplicate identifiers regardless of whoever we choose of the result set. (I mean without distinction Org, DF, s, Sub-s). My expected result set should be.

    ID
    DSB

    DF
    SEC
    Sub-Sec
    (163)CQCPDMCPDMHD8888TSTACTACTAC6789CQINFOINFOFOS9009PCBMSBMSBMS1


    Thank you

    Orton

    Hello

    This sounds like a job for ROW_NUMBER:

    WITH got_r_num AS

    (

    SELECT id, DSB, df, s, sub_sec org

    ROW_NUMBER () OVER (PARTITION BY ID.

    ORDER BY org

    ) AS r_num

    OF view_x

    )

    SELECT id, DSB, df, sub_sec s,

    OF got_r_num

    WHERE r_num = 1

    ;

    He is a Top - N query example, where you choose the elements of N (N = 1 in this case) from the top of an ordered list.

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and INSERT, only relevant columns instructions) to your sample data and the results desired from these data.  (I know that you said that you were a view selection.  Just for this thread, pretending it is a picture and post simple CREATE TABLE and INSERT statements to simulate your point of view).
    Point where the above query is to produce erroneous results, and explain, using specific examples, how you get the right results from data provided in these places.  (I didn't quite understand the explanation above.  I don't know why you want to

    ID ORG DF DRY SUB_SEC

    --      ---     --      ---     -------

    1234 CQ DPRK DPRK HD

    and is not

    1234 IS CQ ASIC, ASIC

    or

    TS 1234 IT IT SW

    or

    1234 CQ ASIC ASIC HD

    )
    If you change the query at all, post your modified version.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

  • Cannot select only one column in a double-column PDF

    See the following pdf file example. I can't select a single column. Whenever I have select several lines, I will have two columns. I currently solve this problem by converting the PDF into an image file and load into Acrobat and OCR on it. But this isn't an ideal solution. I wonder if there is a better solution to fix the pdf file so that I can select only one column at a time.

    https://sites.Google.com/site/sharedacrobat/data/double_column.PDF?attredirects=0 & d = 1

    Use Acrobat Pro to tag a PDF file.

    Look at this PDF file:

    http://www.Adobe.com/content/dam/Adobe/en/DevNet/PDF/PDFs/PDF32000_2008.PDF

    to determine what the appropriate marking is, else "smile, be happy" can become remote.

    Look over article 14.

    Alternatives:

    --| Use Acrobat Pro to add tags to the Document. Does Acrobat to make a "best estimate" for marking. OK for a simple PDF content. not ok for other than simple.

    Use a copy of the PDF test to determine if it meets your needs.

    --| If the file creation supports establishing a logical hierarchy of command content (via the built-in tags, titles and styles) and has a proper Tag for output Tagged PDF management then the majority of the work tag can be done from the outset. Creating applications that are 'good things' - FrameMaker, InDesign, Open Office and MS Word.

    There will always be a need to do some post processing with Acrobat Pro.

    If you have InDesign; See:

    http://blogs.Adobe.com/accessibility/2009/07/indesign_accessibility_best_pr.html

    http://www.Adobe.com/accessibility/products/InDesign/

    http://TV.Adobe.com/watch/accessibility-Adobe/preparing-InDesign-files-for-accessibility

    You will notice that the emphasis on tutorials for 'PDF containing the tag' is mainly for 'Accessible PDF'. Accessible PDF is one of the facilities provided by the tag PDF.

    Another is the export of PDF contents in other applications while maintaining the format/layout in the export. A file PDF containing the tag with a well-trained tree not only supports accessibility, it also supports cut/copy - paste & export of content.

    Other tutorials "Accessible PDF" are available on Adobe TV and the Learning Center community user Acrobat.

    http://acrobatusers.com/learning_center

    Be well...

  • HW 2 get the value to select only one option selected by the user in the bean support

    IAM using the select only one option button that is filled during execution.

    I want to get the value selected by the user of a choice selection in the bean to support for other operations of... .IAM using this method, but I got a null pointer exception.

    Public Sub test (ValueChangeEvent tokenChange)
    {
    Integer tokenIndex = (Integer) tokenChange.getNewValue ();
    DCIteratorBinding tokenListIter is getBindings1 () .findIteratorBinding ("TokenIDVOIterator");. in this line null pointer exception
    Token of the line = tokenListIter.getRowAtRangeIndex (tokenIndex.intValue ());
    currenttoken = (Number) token.getAttribute ("TokenId");
    System.out.println ("token ID selected:" + currenttoken);

    }

    I want to know if there is any method to get the value of the value selected by the user to select a choice...

    pls help? //

    3 words:

    "research on the forum.

    asked and answered countless times.

  • Link from Oracle to MySQL database select only one line

    Hello

    I created a connection to the batabase Oracle 11.2 to a MySQL database via a database link. The following statement shows that 35 lines are in the mySQL table:

    SQL > select count (*) from 'main_pages"@MOREWEB;

    COUNT (*)

    ----------

    35

    But a normal select statement only return 1 row.

    SQL > select 'subject' of 'main_pages"@MOREWEB;

    Object

    ------------------------------------------------

    Übersicht: references

    I use the mysql-connector-odbc driver - 3.51.30 - winx64. One is the newer version be installed because on Windows Server 2008 R2, I get an error with a missing dll file. The DataDirect ODBC driver is not possible, because we like to use the MySQL-database free one only support for DataDirect enterprise edition.

    I have also tried to limit the HS_OPEN_CURSORS or do not limit the HS_FDS_FETCH_ROWS, but there is no difference in the result. I always get only one line.

    HS Init.ora

    # This is an example of initialization file of the agent that contains the HS settings

    # necessary for the database to ODBC gateway

    #

    # HS init parameters

    #

    HS_FDS_CONNECT_INFO = moreweb

    HS_FDS_TRACE_LEVEL = WE

    HS_FDS_FETCH_ROWS = 1

    #

    # Required for the non-Oracle system environment variables

    #

    #set < varenv > = < value >

    HS trace file

    Oracle Corporation - MITTWOCH 5 November 2014 13:56:22.066

    Heterogeneous Agent release

    11.2.0.1.0

    Oracle Corporation - MITTWOCH 5 November 2014 13:56:22.066

    Version 11.2.0.1.0

    HOSGIP to 'HS_FDS_TRACE_LEVEL' returned 'ON '.

    HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.

    HOSGIP to 'HS_FDS_FETCH_ROWS' returned '1 '.

    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".

    HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "

    HOSGIP to 'HS_KEEP_REMOTE_COLUMN_SIZE' returned 'OFF '.

    HOSGIP for "HS_FDS_DELAYED_OPEN" returns 'TRUE '.

    HOSGIP to 'HS_FDS_WORKAROUNDS' returned '0 '.

    HOSGIP to 'HS_FDS_MBCS_TO_GRAPHIC' returned 'FALSE '.

    HOSGIP to 'HS_FDS_GRAPHIC_TO_MBCS' returned 'FALSE '.

    HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.

    HOSGIP for "HS_FDS_TRANSACTION_LOG" returns "HS_TRANSACTION_LOG".

    HOSGIP to 'HS_FDS_TIMESTAMP_MAPPING' returned 'DATE '.

    HOSGIP to 'HS_FDS_DATE_MAPPING' returned 'DATE '.

    HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.

    HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.

    HOSGIP to 'HS_FDS_RESULTSET_SUPPORT' returned 'FALSE '.

    HOSGIP to 'HS_FDS_RSET_RETURN_ROWCOUNT' returned 'FALSE '.

    HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.

    HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.

    using mpgw as the default value to "HS_FDS_DEFAULT_OWNER".

    HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.

    SQL text of hgopars, id = 1, len = 36...

    45 00: 53454 C 43542043 4F554E54 282 HAS 2920 [COUNT (*) SELECT]

    10: 46524F4D 20606D 61 696E5F70 61676573 [FROM ' main_pages]

    20: 60204131 [' A1]

    Delayed open until the first fetch.

    Deferred execution open.

    SQL text of hgopars, id = 1, len = 40...

    45 00: 53454 C 43542041 312E6073 75626 has 65 [SELECT A1.' subje(1)]

    10: 63746020 46524F4D 20606D 61 696E5F70 [ct' FROM ' main_p]

    20: 61676573 60204131 [ages A1]

    Delayed open until the first fetch.

    Deferred execution open.

    Please can someone help me.

    Thank you.

    Bianca

    Bianca,

    Everything I've read on this point to a need to install/reinstall the Microsoft Visual C++ Redistributable Package for windows OS 2008.

    You will need to download the appropriate version for your microsoft form system.  There is a lot of information on this topic.  Just

    search on the web, and it should help you in the right direction.

    Thank you!
    Matt

  • How select only one line

    Hello
    I have a select query that returns a couple of lines.
    now, I would like for the query to return only one row (the first match it can find).
    How do I do that?
    Thank you!

    my sample of my data as below, the registration of the first and the second is equal and I want the column of the first row and ignore the second row.


    9410 20110812 84A8E46E8C97
    9420 20110813 84A8E46E8C97
    84A8E46E8C6E 20110816 9410
    9400 20110819 84A8E46E8AFA

    You can try

      SELECT msid, bsid, starttime
        FROM (SELECT msid, bsid, starttime, ROW_NUMBER () OVER (PARTITION BY msid ORDER BY msid, starttime) rn FROM aaa_bill)
       WHERE rn = 1
    ORDER BY 1, 3
    
  • How can you make boxes select only one?

    I work on the lock to a registration form. There are a few sections with several check boxes, but only one can be marked. We will not accept the form even if there is more than one option marked. Most of the sections there are two boxes, check a box, but not the other. There is a section that has 16 boxes, and Yes only can be marked.  Can I do this?

    Similarly, I also do the same with two text fields, one must be filled.

    Thank you!

    It's easy with checkboxes: give them the same name but different export

    values.

    Not that easy with text fields. You will need to understand how you want

    to work. Other fields must be locked when a field is filled, and

    then unblocked when it's still once empty? They are all would remain editable,

    But if you meet one of them others reset?

    All this must be done with scripts.

  • Procedure with the DML statements that insert values from 1 to 100 in only one table and it is matching word equivalent in the other

    Can someone help me create a procedure with the DML statements that insert values from 1 to 100 in a table "abc" and the procedure must connect the numbers into words in another table "xyz" without doing a commit explicitly. "."

    Currently on trial...

    SQL > create table abc (num number);

    Table created.

    SQL > create table xyz (num varchar2 (100));

    Table created.

    SQL > ed
    A written file afiedt.buf

    1. insert all
    2 values of 1 = 1 then in abc (num) (l)
    3 when the values of 1 = 1 then in xyz (num) (to_char (to_date(l,'j'), 'jsp'))
    4 * Select the level from dual connect by level<=>
    SQL > /.

    200 rows created.

    And the result...

    SQL > select * from abc;

    NUM
    ----------
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    ..
    ..
    ..
    98
    99
    100

    100 selected lines.

    SQL > select * from xyz;

    NUM
    ----------------------------------------------------------------------------------------------------
    one
    two
    three
    four
    five
    six
    seven
    eight
    nine
    ten
    Eleven
    twelve
    ..
    ..
    ..
    98
    Nineteen eighty
    Cent

    100 selected lines.

  • Select only one

    Hello

    I use jdeveloper 11.1.1.7

    I move file a class as a comboBox for page,.

    then I linked that it a bean .but when I call GetValue, it return the index of the selected item.

    How can I get the selected value of a ComboBox instead of its index?

    Thank you

    Check out http://rohanwalia.blogspot.com/2013/09/retrieve-selected-value-from.html

    Or https://blogs.oracle.com/adf/entry/getting_selected_value_from_selectonechoice

    Timo

  • Performance issue with select only one option

    Hello

    We have performance problems with the selected component to a choice that we use on our page. As soon as I have one in the drop-down list select downwards, it displays a "BUSY" icon Here is the code of the component I have on my jsff.
    <af:selectOneChoice id="socInterval" label="Interval"
                                                  value="#{pageFlowScope.usageMB.selectUsageTrend}"
                                                  autoSubmit="true">   
                                <f:selectItem id="si023" itemLabel="Hourly"
                                              itemValue="Hourly"/>
                                <f:selectItem id="si123" itemLabel="Daily"
                                              itemValue="Daily"/>
                                <f:selectItem id="si112" itemLabel="Weekly"
                                              itemValue="Weekly"/>
                                <f:selectItem id="si113" itemLabel="Monthly"
                                              itemValue="Monthly"/>
                                <f:selectItem id="si1123" itemLabel="Yearly"
                                              itemValue="Yearly"/>
                              </af:selectOneChoice>
    Please let me know if you have any suggestions.

    Thank you and best regards,
    Kiran

    Why meet autoSubmit = "true" for the component?
    Are you doing any treatment/PPR on the same? This can cause the problem.

    Thank you
    Nini

  • Call a method to support bean after selection to select only one option

    Hi all

    I'm new to Jdeveloper 11 g, and I'm trying to trigger a method once the user makes a selection on a 'select one choice' (JSF page).

    I have a (backing bean) method that reads the selection and runs a procedure that retrieves data and that fills the input text A and B, unfortunately this is implemented using an af: button and I would that this method to trigger automatically after the user makes the selection without clicking the button. Can you help me?

    Thank you

    Mike.

    Use valueChangeEvent and selectOneChoice autoSubmit = 'true '.

        public void selectOneChoice1_valueChangeListener(ValueChangeEvent valueChangeEvent) {
            if(valueChangeEvent.getNewValue() != null)
         ......
            }
        }
    
    
    
  • How to display the option - Select - for programming select only one option?

    Hi Experts ADF,

    JDEV 11.1.1.4.0

    Hello

    If the LOV is created as below, I get no "- SelectItem -". So any suggestions on how to show that. Sub elements LOV are picked on f: selectItems.

    < af:column sortProperty = "#{bindings." UniquerowlovView1.hints.UniId.name}.

    filterable = "true" sortable = "true".

    headerText = "#{bindings." UniquerowlovView1.hints.UniId.label}.

    ID = "c1" >

    < af:selectOneChoice value = "#{row.bindings.UniId.attributeValue} '"

    autoSubmit label = "#{row." Bindings.UniId.label}' = 'true '.

    required = "#{bindings." UniquerowlovView1.hints.UniId.mandatory}.

    shortDesc = "#{bindings." UniquerowlovView1.hints.UniId.tooltip}.

    ID = "soc1" >

    < f: selectItems value = "#{viewScope.MyBean.associatedCommodityItemList}" id = "vebm_si20" / > "

    < / af:selectOneChoice >

    < / af:column >

    Thank you

    Animesh

    Try this

     
    
                              filterable="true" sortable="true"                           headerText="#{bindings.UniquerowlovView1.hints.UniId.label}"                           id="c1">
    
                      
    
                                          label="#{row.bindings.UniId.label}" autoSubmit="true"
    
                                         required="#{bindings.UniquerowlovView1.hints.UniId.mandatory}"
    
                                         shortDesc="#{bindings.UniquerowlovView1.hints.UniId.tooltip}"
    
                                          id="soc1">
    
                    id="si14" itemLabel="--Select--"/>
    
                      
                      
                    
    

    Ashish

  • rendering problem select only one option

    Hi friends,


    I created static select a choice component in adf rich ethical face following


    < af:selectOneChoice label = "Connection Type".
    requiredMessageDetail = "Please select a connection type.
    ID = "soc2" showRequired = "true" autoSubmit = 'true '.
    value = "#{uploadBillDetails.ConnectionType}" > "
    < af:selectItem label = "Select" value = "Select" id = "si4" / >
    < af:selectItem label = 'Fixed' value = 'Fixed' id = "si3" / >
    < af:selectItem label = "CDMA" value = "CDMA" id = "si2" / >
    < / af:selectOneChoice >

    but when I display or start pages, it went like this.


    < select >
    < option > < / option >
    Select < option > < / option >
    fixed < option > < / option >
    < option > CDMA < / option >
    < select >


    My question is why she puts empty value up to choose the option .and after that when I select any option that the Virgin was hide
    I don't want to show a gap in the first time.


    Prateek

    Published by: David on July 9, 2011 11:40

    Published by: David on July 9, 2011 12:10

    Hi David,

    Try the following code:

    
        
        
    
    

    Kind regards
    Pino

Maybe you are looking for

  • Satellite L640 and Bluetooth functionality

    Satellite L640 come with Bluetooth? If so, how to enable it? If not, should what accessories I buy to get the Bluetooth functionality?

  • Z1 HP: Restore to the factory settings without disc

    Hello I'm trying to clean my computer (HP Z1) to its factory settings. I got my computer with windows 7 installed, so I don't have an instalation disc. I tried the advanced recovery methods, but I only have the options of using a system image I creat

  • Connection Satellite L555 old Emerson TV

    Is it possible to connect my laptop L555 an old Emerson TV? Appears the laptop computer has a VGA output port and the TV has S-video & S-Audio ports separated?

  • "Unplugged network error" appears frequently__

    HelloI use the function wireless of my modem to connect to internet for my laptop and an ethernet cable (rj 45) for my desktop computer for internet access. But my office frequently disconnects from the network saying "disconnected network error" and

  • Microsoft SQL Server 2005 Express Edition Service Pack 4

    I keep offered Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332), but when I try to install it, just to get 65 b error code