When ever using table of an different database forms exits

Hello
i am using FORMS6i,oracle 8i
i have two database A and B
i have created a forms in A database which is accessing
some table of database B.but when ever i open the form
in form builder and try to compile it exits.So every time
i have to create a local table in A which actually belong to
database B to compile the form.is their any easy process
to follow the above
Regards

It's definately worth applying a newer patch, say patch 17, then trying this again.
You get them from metalink.
Let us know what happens.

Similar Messages

  • Synch Between Tables in Two different Databases

    Synch between Two Tables in two different Databases.
    I have two identical tables, table T1 in Database D1 and table T1 in Database D2. User can insert/update/delete/select from both of these tables in respective databases. Being said that how can keep them in Synch? Any thing added/modified/deleted should reflect in other. We like this to be Real-Time.
    We are thinking of creating a cross (two way) DB link between them and then update/insert/delete both the tables when changing one. Any suggestions?
    Thanks

    One of my colleagues used snapshot in their previous projects, but he told me that the performance of it wind down while the records in tables increase. I have no idea about the exact situation, but I'm believing we'd think twice about it.
    eilison
    [email protected]

  • Query to compare 2 different tables from 2 different database

    Is it possible to write a SQL query to compare 2 Tables from 2 different Oracle Database. Also I need a query to do the same when the database is same.
    Thanks in advance

    OK, well "compare" can mean one of two things: Compare structure or compare contents. Here is a quick script to compare column structures of two tables on one database:
    (select COLUMN_NAME,
    DATA_TYPE,
    DATA_LENGTH,
    DATA_PRECISION,
    DATA_SCALE,
    NULLABLE
    from dba_Tab_columns
    where owner=:OWNR1
    and table_name = :tablename
    minus
    select COLUMN_NAME,
    DATA_TYPE,
    DATA_LENGTH,
    DATA_PRECISION,
    DATA_SCALE,
    NULLABLE
    from dba_Tab_columns
    where owner=:ownr2
    and table_name = :tablename)
    union all
    (select COLUMN_NAME,
    DATA_TYPE,
    DATA_LENGTH,
    DATA_PRECISION,
    DATA_SCALE,
    NULLABLE
    from dba_Tab_columns
    where owner=:ownr2
    and table_name = :tablename
    minus
    select COLUMN_NAME,
    DATA_TYPE,
    DATA_LENGTH,
    DATA_PRECISION,
    DATA_SCALE,
    NULLABLE
    from dba_Tab_columns
    where owner=:ownr1
    and table_name = :tablename)
    If this query returns any rows, then these indicate that there are structural differences between the tables. We do a minus in both directions to ensure that an additional column in either schema will be returned in the query.
    If you are going across dblinks to remote tables then you have to amend the "dba_tab_columns" to "sys.dba_tab_columns@yourdblink"
    If you also want to compare indexes, triggers, etc then do the same sort of thing for the associated dba_ views for those objects.
    And if you want to compare table contents, then often the fastest way is also to check minuses in both directions, if the tables are not too big:
    e.g.
    (select * from schema1.table@dblink1
    minus
    select * from schema2.table@dblink2)
    union all
    (select * from schema2.table@dblink2
    minus
    select * from schema1.table@dblink1)
    local tables, of course, simply omit the "@dblink" issues.
    There are tools to help in such things. TOAD, for example, has a pretty good schema comparison tool, and there are plenty of other options out there. But if you need to script this yourself then the logic I've shown is a good starting point.
    Cheers,
    Mike

  • How to combine 2 the same tables from 2 different databases

    We have made 2 databases company1 and company2
    Both databases contains the same tables
    Now we want to make a report with server reporting services. The report must give us information from the 2 databases.
    We use the following query:
    SELECT     '501'as divisie, GRV_DebtorOutstanding2.[Debtor code] AS Debiteur, GRV_DebtorOutstanding2.cmp_name AS Naam, SUM(GRV_DebtorOutstanding2.[Outstanding Amount]) AS Saldo,
                          GRV_DebtorOutstanding2.blokkade, GRV_Debtors.City
    FROM         [501].dbo.GRV_DebtorOutstanding2 INNER JOIN
                          [501].dbo.GRV_Debtors ON GRV_DebtorOutstanding2.[Debtor code] = GRV_Debtors.[Debtor code]
    WHERE     (GRV_DebtorOutstanding2.blokkade = 'B')
    GROUP BY GRV_DebtorOutstanding2.[Debtor code], GRV_DebtorOutstanding2.cmp_name, GRV_DebtorOutstanding2.blokkade, GRV_Debtors.City
    ORDER BY Debiteur
    when we use the same query to select the data of the other database in the same query it doesn't work. I have tried it with the command Union All
    But it crashes,
    please help, to fix it

    Hi Robert,
    According to your description, you have created two same databases. When you run the same query for the second database, it doesn’t work.
    In your scenario, since databases are the same and the query for first database can work fine, it should also work when query the second database using the same query. When you create second dataset, please check if you have used a correct datasource
    which is second database. Then try to run the query again. If issue persists, please share the error message around the time when you query the second database.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Creating cdc table in a different database

    this is my code which creates cdc table.
    how do i create my cdc table in a different db and not in the db where my source is residing.<i think i need to use db link but where do i specify it??>
    SQL> exec dbms_logmnr_cdc_publish.create_change_table(owner => 'dvd', -
    change_table_name => 'classes_ct', -
    change_set_name => 'SYNC_SET', -
    SOURCE_SCHEMA => 'dvd', -
    SOURCE_TABLE => 'classes', -
    COLUMN_TYPE_LIST => 'class_id NUMBER, -
    class_title VARCHAR2(30), -
    class_instructor VARCHAR2(30), -
    class_term_code VARCHAR2(6), -
    class_credits NUMBER', -
    CAPTURE_VALUES => 'both', -
    RS_ID => 'y', -
    ROW_ID => 'n', -
    USER_ID => 'n', -
    TIMESTAMP => 'y', -
    OBJECT_ID => 'n', -
    SOURCE_COLMAP => 'y', -
    TARGET_COLMAP => 'n',-
    OPTIONS_STRING => null);PL/SQL procedure successfully completed.

    Still fails.  Here is table definition in new database, confirmed identical with original database:
    CREATE TABLE [dbo].[Networks](
            [ID] [binary](5) NOT NULL,
            [Description] [varchar](255) NULL,
            [Network] [binary](4) NOT NULL,
            [Netmask] [binary](4) NOT NULL,
            [Parent] [binary](5) NULL,
            [RowID] [uniqueidentifier] ROWGUIDCOL  NOT NULL,
            [RowVersion] [timestamp] NOT NULL,
     CONSTRAINT [PK_Networks] PRIMARY KEY CLUSTERED
            [RowID] ASC
    )WITH (PAD_INDEX  = OFF,
           STATISTICS_NORECOMPUTE  = OFF,
           IGNORE_DUP_KEY = OFF,
           ALLOW_ROW_LOCKS  = ON,
           ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY],
     CONSTRAINT [IX_Networks] UNIQUE NONCLUSTERED
            [ID] ASC
    )WITH (PAD_INDEX  = OFF,
           STATISTICS_NORECOMPUTE  = OFF,
           IGNORE_DUP_KEY = OFF,
           ALLOW_ROW_LOCKS  = ON,
           ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    I also created an Execute SQL Task which specifically did not include either the RowID or RowVersion columns, and it STILL dies with exactly the same error.
    I'm stumped by this behavior - this makes no sense whatsoever.

  • Check box in tabel view?when to use itereator and when to use table view

    hi,
    I want to have a check box along with the other 7fields  in the table view.
    when the checkbox is checked and the merge complete push button is clicked, the respective code for merge is to be executed.
    how can I do this?
    could anyone tell me hw to get a check boz in table view
    when to use a  iterator in BSP, how table view n iterator in comparision ae used or function/work.
    Regards,
    Pavan P.

    Hi Pavan,
    Table View is an BSP element used to display mass data in a layout similar to a table (table view).
    <b>Iterator</b>is an attribute to modify rendering row-by-row, and make it dependent on the clicked row. In this way, you define an action from a particular line. This action is defined in columnDefinitions or overWriteDefinitions.
    <htmlb:tableView id = "tvX"
                     headerText          = "Department List"
                     design              = "standard"
                     headerVisible       = "true"
                     width               = "30%"
         selectedRowKeyTable = "<%= selectedrowindextable %>"
         onRowSelection      = "MyEventRowSelection"
         sort                = "server"
         keepSelectedRow     = "TRUE"
         selectionMode       = "MULTISELECT"
         table               = "<%= i_dept %>" >
    </htmlb:tableview>
    In your <b> OnInputProcessing </b>, Use this Iterator table to get the data of selected records.
    IF selectedrowindextable[] IS NOT INITIAL.
    DESCRIBE TABLE selectedrowindextable LINES no .
    Rgds,
    Jothi.
    Pls do close the thread if ur problem is solved.

  • How to integrate different tables structures from different databases?

    Hi
    I'm new to oracle ..kindly help me with the below issue...
    I have same set of inter-related attributes (a,b,c,d) in two different databases A and B.
    The structure of tables in both the database are different but they carry same attributes in same relation.
    I have to integrate these attributes into single db object such that any update to base tables updates my object.How can i do this and what object will be helpful?
    Thanks

    Arun Rajesh wrote:
    Hi
    I'm new to oracle ..kindly help me with the below issue...
    I have same set of inter-related attributes (a,b,c,d) in two different databases A and B.
    The structure of tables in both the database are different but they carry same attributes in same relation.
    I have to integrate these attributes into single db object such that any update to base tables updates my object.How can i do this and what object will be helpful?
    ThanksWelcome to Forum!!!
    Please elaborate your question.
    Arun Rajesh wrote:
    I have same set of inter-related attributes (a,b,c,d) in two different databases A and B.1. What are the ATTRIBUTES?
    Arun Rajesh wrote:
    The structure of tables in both the database are different but they carry same attributes in same relation.2. Post the Table Structures.
    Arun Rajesh wrote:
    I have to integrate these attributes into single db object such that any update to base tables updates my object.How can i do this and what object will be helpful?3. What is the end result that you desire? A sample output shall help in our understanding.
    PS:- Please go through this to understand SQL and PL/SQL FAQ.
    Regards,
    P.

  • Query two tables in two different databases.

    Hello,
    I have to query two tables say 'a' in database "D1"and 'b' in database "D2".I am using sql developer and it is accepting only querying for repecting databases.
    i.e if i would like to access b from the sql script of D1 .Please guide me in this regard.
    thank you.

    Create a database link in DB "a" pointing to DB "b" then use the db link in your script.
    Message was edited by:
    skutz

  • Comparing Tables In Two Different Databases

    Hi,
    As part of our project, we need to perform table comparisons in two different databases. I am currently looking for various options to accomplish this.
    One of them is doing minus operation between these two tables.
    Also, i have looked at the data compare option in toad utility.
    Please suggest me any other options that makes my job easy.
    Thanks in advance,
    Sue

    Then just adapt the select that is there
    SELECT stid , c1, c2, c3                      
       FROM
      ( SELECT a.*,
             1 src1,
             to_number(null) src2        
       FROM  a   
       UNION ALL
       SELECT b.*,
             to_number(null) src1,
             2  src2        
        FROM b
       GROUP BY stid , c1, c2, c3
       HAVING count(src1)  count(src2)
       order by stid;Best regards
    Mohamed Houri

  • Cannot access columns in a result set using table alias in Oracle database

    I have a query which joins a few tables. There are a few columns in various tables with identical names. In the query, I have assigned table aliases for each table thinking it'll be the manner in which I access a specific column in a specific database table. However, when trying to retrieve the column, I'm getting an exception stating "Invalid column name". I had no problem doing so in my last project when I was coding against MySQL database so this is likely to be a driver implementation issue. My current workaround is to assign a column alias though I find this to be annoying and it does make the query very verbose.
    My question is whether this option is perhaps a configuration issue, a bug, or something that I'm missing. Also, I would like to know if anybody has an elegant workaround without accessing columns using their numeric index.
    I'm querying an Oracle 10i database in a managed environment (database connection is obtained from a Weblogic data source).
    Sample query:
    select
    a.address1,
    d.address1
    from
    account a
    inner join
    department d on a.department_id = d.department_id
    where
    a.account_id = 1000;
    When trying to access a ResultSet instance in the following manner, I will get an exception:
    rs.getString("d.address1");
    Retrieving "address1" will return the first column in the select clause.

    jonathan3 wrote:
    My question is whether this option is perhaps a configuration issue, a bug, or something that I'm missing. Since you already figured out that you can use an alias one can suppose that it is the last in that you are missing that you already have a solution.
    You can try extracting the meta data to see if it has a name without the alias. Probably not.
    Also, I would like to know if anybody has an elegant workaround without accessing columns using their numeric index.One can only suppose that you consider using names "elegant".

  • Joining tables from two different databases

    Hi,
    I am trying to join W_DAY_D from 1 database to another 2 database to the fact table . The datatype for CALENDER _DTis (DATE) from W_DAY_D  and the Create date from fact table is TIMESTAMP . I changed the the datatype in the phyiscal layer for CREATE DATE from the fact table to DATE and joined it with W_DAY_D (Calender_DT = create_date) Thought the rpd showed me no errors while saving it . But when I try adding the column in the report it throws me error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 46008] Internal error: File server\Utility\Server\DataType\SUKeyCompare.cpp, line 772. (HY000)

    I tried this ealier but it throws me an Invaild expression error. In the Physical Foreign key join
    "ABC"."test"."dbo"."W_DAY_D_Alias"."CALENDAR_DT" = CAST("CT"."EAST"."dbo"."Fact-TEST"."Input date " as DATE)

  • Tables from 2 different database schemas in 1 module

    I'd like to have only one module to store my source transactional tables.
    In my transactional system, I've got, differente database schemas.
    For example:
    I've got a schema, schema1 with a table called table1 and schema2 with table2.
    I've got a public synonym and granted the privileges to select table2 so, from schema1, I can see table2.
    I'd like to have only one MODULE to store my SOURCE transactional tables.
    But, when I create the module, I have to link it with a specific location, and a location is linked with a specific schema. When the list of objects to load is shown, I see the objects of the schema but no the others pointed with synonyms.
    Example: If I have a location linked to schema1 I only see table1, but don't see table2.
    IS THERE A WAY TO LOAD table1 and table2 IN THE SAME MODULE?
    thanks in advance!

    You cannot access objects in another schema via public synonyms.
    If your location is linked to schema 1, then in schema 1 create a private synonym to schema2.table2, grant read on table2 to schema1 from schema2, and then you will be able to see table2 to import it into OWB if you have the option to included objects referenced by synonyms checked.
    Cheers,
    Mike

  • Re : When to Use tables instead of Cursors in Stores Procedures

    Hello All,
    Hope all is well. I know this is very broad questions and requires more specifics. All, I am trying to understand from very high level is to what are some of the instances when one would prefer to have physical/temp tables instead of using cursors in SP. Generic Pointers would really be helpful.
    Thanks in advance,
    Sam

    You are comparing apples and oranges here.
    A cursor is a work area where oracle stores the procession information when it executes a multi-row query.
    Lets say you have a sql query like this
    select * from empWhen such a query is executed oracle allocates a work area where the processing information of the query is stored. This
    is called a cursor. You can explicitly define a cursor like this.
    cursor c_emp
    is
    select * from empIn this case you are giving a name to the work area allocated by oracle. Now you can use this name c_emp to access the
    result set sequentially.
    On the other hand a Table is an oracle Object. It is a logical representation of your physical data.
    Data in a table can be manipulated meaning, you can insert, update or delete it. Data in a table is persistent.
    So i don't think a comparison between this two is appropriate.
    Thanks,
    Karthick.

  • I get ads on websites that aren't there when I use IE or a different computer.

    When using Firefox on Facebook, I get ads that are all over the place on facebook and other websites I normally visit nearly daily. However, using Internet Explorer or other computers and visit the same websites, I don't get the ads issues. I've also had Facebook log in to my account and they don't see the ads on their end either. Therefore it must be in my computer side somewhere. I've tried to delete EVERYTHING involved with Firefox and tried to redownload it. But its not solving my issue. I've deleted cookies, history, temp files, everything, and nothing is getting it to work proper again. But again, works if I don't use Firefox or if I use a different computer. My 3 programs that search and destroy all spam, viruses, malware, adware, etc. are not solving my issue either. Please help.

    I actually did one other thing I hadn't done yet....I had opened the "Add-ons" section of Firefox, noticed there was an add-on I actually never placed there, called something like "Shopanywhere.com" I believe. Once I disabled it, restarted Firefox, reopened the Add-ons, and then removed it. Restarted Firefox once more, now the ads are gone completely. Did another clean sweep with my 3 awesome adware/virus protection programs and have no more issues. Thanks for the help!

  • Disable CSS when we use TABLE

    Hi,
    I use GOLIVE CS2. But when we create a TABLE object, HTML structure is built with CSS tags.
    About that point, I prefer GOLIVE 9 which creates TABLE object without CSS.
    Do you know how to disable CSS tags with TABLE object ?
    Thank you.

    Here are some useful pointers how to avoid GL9's "auto-css":
    There's also Oli's free DeforceCSS extension which addresses the issue
    partly, I'm not sure about tables though.
    Cheers Martin

Maybe you are looking for

  • Why are the Back and Forward arrows gone?

    In Firefox 4 the most irritating change is getting rid of the buttons for Back and Forward. Others have complained, correctly I think, about the Refresh/Reload icon gone, the Stop button gone. But I really MISS the arrows. I also didn't like having t

  • Error message, cannot find server

    Last night l downloaded a security update from Firefox this morning I can open nothing through Firefox. Internet explorer works.

  • To add Billing Plan at Sales Order Header Level

    Dear All, Our requirement is such that for a project, we need to define a billing plan at header level of sales order. As of now we are defining billing plan at sales order line item which are having accunt assignment to WBS elements. Pl. let me know

  • Canon Powershot S120 Adobe Lightroom RAW converter problem

    Have a MacBook running Yosemite. I am an underwater photographer so rely on using White Balance to get colour into my photos. Since upgrading Lightroom from 5.3 or 5.6 to 5.7 all my Canon S120 RAW files change colour after import and become a wishy w

  • Radio Button Focus

    I've had this on the GUI forum all day but have not had any help. (sorry) I have a form that loads empty. I then grab data from the DB and populate the form. I have 3 radio buttons that are part of the radio group. I set one of these after gathering