Problems with Database Link in query

When I run this code:
SELECT NVL2(wbs1.wbs1_seq, wbs1.wbs1, pcn.pron) AS pron
     , h.fy AS data_fy
FROM pcn_list@THE_LINK pcn
     JOIN project@THE_LINK x
     ON x.pcn_seq = pcn.pcn_seq
     JOIN
       SELECT h.project_seq
            , EXTRACT(year FROM (h.data_dt + 92)) AS fy
       FROM pcn_data@THE_LINK h
            JOIN setup@THE_LINK
            ON (
                 setup.data_dt = h.data_dt
                 OR (
                      EXTRACT(year FROM h.data_dt) > DECODE(setup.site, 'TYAD', 2006, 2007)
                      AND h.data_dt < setup.data_dt
                      AND TO_CHAR(h.data_dt, 'MMDD') = '0930'
                 OR (
                      EXTRACT(year FROM h.data_dt) BETWEEN 2000 AND DECODE(setup.site, 'TYAD', 2006, 2007)
                      AND TO_CHAR(h.data_dt, 'MM') = '09'
                      AND h.data_dt = NEXT_DAY(LAST_DAY(h.data_dt) - 7, 'FRIDAY')
       WHERE h.data_dt BETWEEN '01-SEP-06' AND '31-OCT-08'
     ) h
     ON h.project_seq = x.project_seq
     LEFT JOIN wbs1_list@THE_LINK wbs1
     ON (
            wbs1.fiscal_yr = pcn.fiscal_yr
            AND (
                  wbs1.legacy_pron = pcn.pron
                  OR SUBSTR(wbs1.legacy_pron, 1, 2) || SUBSTR(wbs1.legacy_pron, 4) = pcn.pron
          OR (
               TRIM(wbs1.legacy_pron) IS NULL
               AND wbs1.wbs1 = SUBSTR(pcn.pron, 1, 2)
                               || SUBSTR(TO_CHAR(wbs1.start_dt + 92, 'YY'), 1, 1)
                               || SUBSTR(pcn.pron, 3, 1)
                               || SUBSTR(pcn.mission, 1, 1)
                               || SUBSTR(pcn.pron, 4, 5)
                               || DECODE(
                                          SUBSTR(pcn.pron, 12, 1)
                                        , '0', SUBSTR(pcn.pron, 13, 2) || SUBSTR(pcn.pron, 13, 2)
                                        , SUBSTR(pcn.pron, 11, 4)
     LEFT JOIN xref_pron_command cmd1
     ON cmd1.command_cd = SUBSTR(pcn.pron, 11, 2)
     LEFT JOIN xref_pron_command cmd2
     ON cmd2.command_cd = SUBSTR(pcn.pron, 1, 2)
     LEFT JOIN mdms@THE_LINK mdms
     ON mdms.pron = SUBSTR(pcn.pron, 1, 8) || SUBSTR(pcn.pron, 11, 1)
     LEFT JOIN if_fedlog fedlog
     ON fedlog.fsc || fedlog.niin = SUBSTR(pcn.nsn, 1, 13)
     LEFT JOIN awpsammo@THE_LINK ammo
     ON ammo.pron = pcn.pron
     LEFT JOIN if_core_workload c
     ON (
          c.site = 'SITE'
          AND NVL2(wbs1.wbs1_seq, wbs1.wbs1, pcn.pron) = c.pron
          AND h.fy = c.data_fy
WHERE pcn.mission != 'NOP'
AND   x.pmc_cancel_fg = 'F'
AND   NVL(wbs1.cancel_fg, 'F') = 'F'
AND   NVL2(wbs1.wbs1_seq, wbs1.wpc, pcn.wpc) <> 'ZZ'I get:
ORA-00904: "SETUP"."SITE": invalid identifier
ORA-02063: preceding line from THE_LINK
However, if I remove any of the cmd1, cmd2, fedlog, mdms, or ammo joins, it runs properly.
It also runs properly if I remove both "WHERE h.data_dt BETWEEN '01-SEP-06' AND '31-OCT-08'" (line 25) and "AND x.pmc_cancel_fg = 'F'" (third line from the end).
Also, there are three different external sites; the problems happen on two of them, but on a third, the code works as is.
The query also works if:
* I remove the links and run it directly on the external sites
* I add something that makes it return no rows immediately (for example, "AND 0 = 1" as the last line)
* "WHERE h.data_dt BETWEEN '01-SEP-06' AND '31-OCT-08'" is replaced by "WHERE h.data_dt = '30-SEP-09'" (which returns rows)
* For that matter, at one of the problem sites, changing the first date in that WHERE clause to anything between '19-JUN-09' and '29-SEP-09' works, but '18-JUN-09' and earlier causes the error; at the other, the earliest working date is '02-NOV-08'.
All three external databases, as well as the database on which this is run, are running 11.2.0.1.0 64-bit Production.
Any ideas as to what is happening?

sb92075 wrote:
WHERE h.data_dt BETWEEN '01-SEP-06' AND '31-OCT-08'With Oracle characters between single quote marks are STRINGS!
'This is a string, 2009-12-31, not a date'
When a DATE datatype is desired, then use TO_DATE() function.Actually, usually I do (since there's no guarantee as to what the "default" date format will be - besides, the default tends to be 2-year dates). The one line where I don't is really just something I added to speed up the query when testing for the error.
However changing that line to:
WHERE h.data_dt BETWEEN TO_DATE('09/01/2006', 'MM/DD/YYYY') AND TO_DATE('10/31/2008', 'MM/DD/YYYY')causes the same results.

Similar Messages

  • Strange problem with Database LInk

    Hi Everyone,
    I have strange problem with Database Link in Oracle 11g Express Edition;
    There are two computers: computer-server and computer-client. Tnsnames.ora are the same on both computers ie.
    CT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof)(PORT = 1521))
    (CONNECT_DATA = (SERVICE_NAME = XE)
    I created database link :
    Create database link zdalny
    Connect to <user_id> identified by <password>
    using ‘CT’;
    Client can’t connect with server when I am using above command. But when I change “using” for using ‘krzysztof:1521’ or using ‘krzysztof’ or using ‘server IP:1521’ – everything is ok.
    Why I am asking. Because in all materials which I am reading about Oracle command with using ‘CT’ should be working correct. But there is not. Do you know, why?
    Thanks in advance and apologize for my English.
    Rgds
    Krzysztof

    Krzysztof Szymaniak wrote:
    Thanks for all replies.
    Below is server's tnsnames.ora
    CT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = krzysztof)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specifie
    Rgds
    Krzysztof
    PS. I tried with using 'XE' - not working.Assuming that is the correct tnsnames, of course XE is not working. You don't have a tnsnames entry for 'XE'.
    You need to be aware that when using a dblink, the client is the db in which the link is defined, not the desktop from which you connect to that database.
    I think you need to start here:
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/
    http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ (Help! I can’t connect to my database )
    http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ (Help! I can’t connect to my database (part duex) )
    The fact that your client (db link) is a database doesn't change anything taught in the above.

  • Ora-12154  problem with database link and transparent gateway

    Hello,
    I’m trying to make a communication between oracle and SQL server 2005.
    I use oracle 10g E.E Release 10.2.0.3.0 and the transparent gateway for SQL server 10201_gatway_win32.zip.
    Install:
    The oracle database is installed into a server named ss-serv. This server has two partition disk C and E. Oracle database is installed in E and the gateway in C. There is already a database (instance) running in the oracle home (in E).
    I configured the gateway as described into: http://download.oracle.com/docs/cd/B...3/conf_sql.htm.
    In sql server 2005, there is a database running named ClientTricks.
    I created a user named Avogadro with a login.
    In the partition C where the gateway is installed, the file inittg4msql.ora is like this:
    HS_FDS_CONNECT_INFO= ss-serv. ClientTricks
    The file sqlnet.ora where the gateway is installed is configured like this:
    SQLNET.AUTHENTIFICATION_SERVICES=(NTS)
    NAMES.DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
    I configured the listener that is in the C partition where the gateway is installed, and the tnsnames that is in the oracle database in E partition disk like this:
    Listener :
    LISTENER=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=ss-serv)
    (PORT=1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=tg4msql)
    (ORACLE_HOME=C:\oracle\product\10.2.0\tg_1)
    (PROGRAM=tg4msql)
    tnsnames:
    mytg4msql=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=ss-serv)
    (PORT=1521)
    (CONNECT_DATA=
    (SID=tg4msql))
    (HS=OK))
    After edited the listener, I stop and start the listener for the transparent gateway from administrative tools in the services.
    Then, connected in oracle (in a database named fakeclient) I created a database link in sqlplus.The the dblink were created, but when I tried to querry some data from ClientTricks by executing the following instructions:
    select * from s_client@dblink
    i got this fatal and terrible error :
    ora-12154 TNS:could not resolve the connect identifier specified
    I verified all my procedure and stapes, all seems to be good. I did a tnsping of mytg4msql
    I got this error in the command prompt:TNS-03505 fail to resolve name
    Could someone help me ?
    Sorry for my English ,I’m French
    best regards

    Hi Mkirtley,
    i clarify you what i've done:
    Pease have a look in the link in my first post. Then, i said that in oracle database home the listener is in port 1521
    here is this listener:
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=PLSExtproc)
    (ORACLE_HOME=E:\oracle\production\10.2.0\db_1)
    (PROGRAM=extproc)
    LISTENER=
    (DESCRIPTION_LIST=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL=TCP)(HOST=ss-serv)(PORT=1521))
    (ADDRESS= (PROTOCOL=IPC)(KEY=EXTPROC0))
    Here is the tnsnames.ora in oracle database home:
    N.B in this ora file, there's already some descriptions for the database running, so i just add these lines under the description in ora file.Here is:
    Jest=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)(HOST=ss-serv)(PORT=2000))
    (CONNECT_DATA=
    (SID=tg4msql)
    (HS=OK)
    for the listener of the gateway (installed in C partition):
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=tg4msql)
    (ORACLE_HOME=C:\oracle\production\10.2.0\tg_1)
    (PROGRAM=tg4msql)
    LISTENER=
    (DESCRIPTION_LIST=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL=TCP)(HOST=ss-serv)(PORT=2000))
    (ADDRESS= (PROTOCOL=IPC)(KEY=EXTPROC1))
    here are all i did.
    Best regards

  • Problem with database links (naming) Windows/Linux

    Hi
    Windows xp SP3_
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 21 10:28:21 2012
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - Production
    name is PORCL30
    Linux (Ubuntu 12.04 LTS)_
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 21 10:28:21 2012
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - Production
    Name is GWORCL
    My domain is Initial-Surname.co.uk (I-Surname.co.uk)
    Tnsnames.ora
    PORCL30 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = home1.I-Surname.co.uk) (PORT = 1521) )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = PORCL30)
    (SERVICE_NAME = PORCL30.I-Surname.co.uk)
    GWORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = freds-server.I-Surname.co.uk) (PORT = 1521) )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = GWORCL)
    (SERVICE_NAME = GWORCL.I-Surname.co.uk)
    From Windows to Linux
    DROP DATABASE LINK "GWLINK4";
    CREATE DATABASE LINK "GWLINK4"
    CONNECT TO "SYSTEM" IDENTIFIED BY VALUES '051BDCE........D55BB704DA'
    USING 'GWORCL';
    results in a working database link named 'GWLINK4.I-Surname.co.uk'
    Where as
    Linux to Windows
    DROP DATABASE LINK "PLINK4";
    CREATE DATABASE LINK "PLINK4"
    CONNECT TO "SYSTEM" IDENTIFIED BY VALUES '0550AA0F39......AE5EF62220FE5A323'
    USING 'PORCL30';
    name is PLINK4 as determined by
    select DB_LINK from user_db_links;
    So what is different between the two databases other than the operating systems they run on? What should I examine?
    I should add that the linux PC is Internet facing and has a Public IP address (USB mobile broadband Modem) to which I-Surname.co.uk resolves via (ZoneEdit.com and ddclient). The ethernet lan port 10.10.1.35 connects to a switch where 10.10.1.30 (home1) is also connected (10.10.1.10 is the AD server)
    Thanks for your time
    Edited by: Neill_R on Nov 21, 2012 1:09 PM

    The problem is that the databases do not work in the same way. As I have said one produces DBLINK.i-surname.co.uk and the other DBLINK. Both machines are members of the i-surname.co.uk domain.
    In Sqldeveloper one can not alter the DBLINK since it has a "-" character (.I-Surname.co.uk)
    Why the difference?
    connect system@TNSGWORCL
    CREATE DATABASE LINK PLINK
    CONNECT TO SYSTEM IDENTIFIED BY
    USING 'TNSPORCL30';
    Connect system@tnsporcl30
    CREATE DATABASE LINK GWLINK
    CONNECT TO SYSTEM IDENTIFIED BY
    USING 'TNSGWORCL';
    connect system@tnsgworcl
    Enter password:
    Connected.
    select 1||' - '||db_link from sys.user_db_links
    union
    select 2||' - '||db_link from sys.user_db_links@PLINK
    DB_LINK
    1 - PLINK
    2 - GWLINK.I-SURNAME.CO.UK
    SQL> connect system@tnsporcl30
    Enter password:
    Connected.
    select 1||' - '||db_link from sys.user_db_links
    union
    select 2||' - '||db_link from sys.user_db_links@GWLINK
    DB_LINK
    1 - GWLINK.I-SURNAME.CO.UK
    2 - PLINK
    Tnsnames.ora
    # tnsnames.ora Network Configuration File: /opt/oracle/11g/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    TNSGWORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = freds-server.i-surname.co.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = GWORCL)
    (SERVICE_NAME = GWORCL.i-surname.co.uk)
    TNSPORCL30 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = home1.i-surname.co.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = PORCL30)
    (SERVICE_NAME = PORCL30.i-surname.co.uk)
    )

  • Problem connecting DataBase Link from windows oracle to oracle on Linux

    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?

    1005745 wrote:
    I'm facing a problem with database links from windows oracle to Oracle hosted on Linux server.
    I'm able to successfully create the Database Link using the following query on oracle database hosted on a windows server
    CREATE DATABASE LINK SampleDB
    CONNECT TO myuser IDENTIFIED BY password
    USING 'sample';
    The tns names entry on windows for database in Linux server is as follows
    DSOFT =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.100)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sample)
    But while executing the query "select count(*) from doctor@SampleDB;" in sql developer on windows, I'm getting the following error
    SQL Error: ORA-12154: TNS:could not resolve the connect identifier specified
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    Using the above tns entries, i'm successfully able to connect to the database in Linux server through sql developer installed on the windows machine. Then why i'm getting this error while executing the query on Database Link?. Can any one help me?A database link is acting as a client to the target, remote database in exactly the same fashion and using exactly the same tns infrastructure as any other client trying to connect to that remote database. your ORA-12154 when querying a db link means exactly the same as if you had gotten it trying to connect with sqlplus, from the same server. Check the link SB provided. Keep in mind that the tnsnames file of concern is the one on the source database server.

  • Interactive report performance problem over database link - Oracle Gateway

    Hello all;
    This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
    The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
    query like this: (due to sensitivity issue, I can not disclose real table name)
    SELECT apex_item.checkbox(1,b.col3)
    , a.col1
    , a.col2
    FROM table_one a
    , table_two b
    WHERE a.col3 = 12345
    AND a.col4 = 100
    AND b.col5 = a.col5
    table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
    Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
    I would like to get ideas from people how to resolve or speed-up the query?
    Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
    Thank you.
    Shaun S.

    Hi Shaun
    Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
    By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
    Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two),
    sourceqry AS
    (SELECT  b.col3 x
           , a.col1 y
           , a.col2 z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5)
    SELECT apex_item.checkbox(1,x), y , z
    FROM sourceqry
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two)
    SELECT  apex_item.checkbox(1,x), y , z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
    We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
    Sorry for all the questions but it helps to answer the question, if I can.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Hi! Everyone, I have some problems with JOIN and Sub-query; Could you help me, Please?

    Dear Sir/Madam
    I'm a student who is interested in Oracle Database and
    I have some problems with JOIN and Sub-query.
    I hope so many of you could help me.
    if i use JOIN without sub-query, may it be faster or not?
    SELECT field1, field2 FROM tableA INNER JOIN tableB
    if i use JOIN with sub-query, may it be faster or not?
    SELECT field1,field2,field3 FROM tableA INNER JOIN (SELECT field1,field2 FROM tableB)
    Thanks in advance!

    Hi,
    fac30d8e-74d3-42aa-b643-e30a3780e00f wrote:
    Dear Sir/Madam
    I'm a student who is interested in Oracle Database and
    I have some problems with JOIN and Sub-query.
    I hope so many of you could help me.
    if i use JOIN without sub-query, may it be faster or not?
    SELECT field1, field2 FROM tableA INNER JOIN tableB
    if i use JOIN with sub-query, may it be faster or not?
    SELECT field1,field2,field3 FROM tableA INNER JOIN (SELECT field1,field2 FROM tableB)
    Thanks in advance!
    As the others have said, the execution plan will give you a better idea about which is faster.
    If you're trying to see how using (or not using) a sub-query affects performance, make the rest of the queries as similar as possible.  For example, include field3 in both queries, or ignore field3 in both queries.
    In this particular case, I guess the optimizer would do the same thing either way, but that's just a guess.  I can't see your execution plans.
    In general, simpler code is faster, and better in other ways, too.  In this case
    tableB
    is simpler than
    (SELECT field1, field2  FROM tableB)
    Why do you want a sub-query in this example?

  • Problems with Dinamic Link between Premiere pro CC and After Effects CC

    I'm having serious problems with dinamic link between premiere pro and after effects, really serious problems that have 2 big projects in trouble (a documentary and a video clip) and I had to redo all the work pipeline to the consumer.
    The documentary for a spanish TV was made on CC 2014 and a video clip was made on CC. Both of them with a lot of after effects composition in the premiere pro timeline. Render freeze, a lot of playback issues, and many more problems... Until I decided to remove these links between premiere and after effects and render out all the after effects compositions one by one and insert as clips in premiere pro. 1 week working away with back and fourth.
    I've got a huge workstation:
    i7 4990
    32Gb ram
    GTX780 3gb
    256 gb system ssd
    2 Tb project storage
    *All my hardware and software are update.
    I know that a lot of folks are on the same huge problem and I want to ask everyone:
    How do you save this?
    What is your pipeline?
    Are there any solution?
    Best practice to use dinamic link in a huge project?
    Thanks,
    Ruben Gimenez.
    R&D iceblink.es
    www.rambot.es

    Thank You, Jim -
    Unfortunately that specifically did not work.
    Based on another comment sent to me, here is what did.
    In PProCC
    File > Adobe Dynamic Link > New After Effects Composition
    In AECC
    From that composition created from PPro, I imported the project (aep) initially created in AECC from another team member. Saved the file.
    Back in PProCC
    File > Adobe Dynamic Link > Import After Effects Composition
    Magic.

  • Problem with database schema objects in the entity object wizard

    Hi All,
    When creating a new entity object, I am facing a problem with database schema objects in the entity object wizard, database schema objects (check boxes for tables,synonyms...) are disabled. Actually I am using a synonym but I am not able to select the synonym check box.
    Can any of you folks tell me how to enable the database schema objects (check boxes for tables,synonyms...).
    Thanks in Advance.
    Raja.M

    Make sure your using rite version of jdeveloper..
    Make sure your using apps schema and check whether your able perform DML operations in the schema vis sql developer.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                           

  • Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it

    Hi guys. i have some problem with a link from a pdf on-line,when i click on it,the page adds a "%" at the and of the link and says "page not found" because of it.
    This happens only when a load my pdf file on my server, because if i click on the link when the file is on my iPad, the page opens without problem.
    Any help please?
    thanx

    the % sign is often used when there's a space in a name. HTML doesn't like spaces so it fills them with % or %20
    try, on the end of that link, see if there's a space built into the page or the link when the page was made
    On the web address you may be able to 'backspace' at the end and erase that space to get the address, but whomever made the page possibly put a mistake in the link

  • Problem with database connectivity

    Hi guys,
    I'm having a problem with database connectivity . I'm using the mySQL database & org.gjt.mm.mysql driver.
    I've kept the org folder under the directory where the Database.java program is residing .
    My program is as follows:
    import java.sql.*;
    public class Database
         Connection con;
         public void connect()
              System.out.println("In connect.");
         public Connection connectDB(String username,String password,String database)
              try
                   Class.forName("org.gjt.mm.mysql.jdbc.Driver");
                   String url="jdbc:mysql:"+database;
                   con=DriverManager.getConnection(url,username,password);
              catch(SQLException e)
                   System.out.println("SQL Exception caught:"+e);     
              catch(Exception e)
                   System.out.println("Exception e caught:"+e);     
              return con;
         public static void main(String args[])
              try
              Connection c;
              Database db=new Database();
              c=db.connectDB("root","","//192.168.0.2/squid");
              System.out.println("Connection created.");
              c.close();
              catch(Exception e)
                   System.out.println("Exception caught:"+e);     
    It gets compiled but gives the following error when run.
    Exception e caught:java.lang.ClassNotFoundException: org.gjt.mm.mysql.jdbc.Driver
    Connection created.
    Exception caught:java.lang.NullPointerException
    I don't know why the class is not found.Pl . help me rectify my mistake.Is there any other path to be set?
    Thanks.

    You need to run it with the JDBC driver in the classpath
    java -classpath .;[mySqlJdbcDriver.jar] Database

  • Problem with Help Link in search result screen of PCUI

    Hi,
      I am trying to access the pcui applications that came out of box with crm using BAB,everthing is working fine but got a problem with "Help" link in top right (beside personalize link) the search result area of all the PCUI screens.
    when i click on that i get "page cannot be displayed" error, seems that it is pointing to some wrong URL, where should i change the url to point to our company's help site for that link..
    clicking on the properties of that link shows that it is pointing to
    javascript:CATshowF1(%20'/sap/bc/bsp/sap/crm_bsp_f1_help/f1help.do?doctype=kw&loio=70B4ED8E03595645A6ABA33B4576BB57&class=IWB_EXTHLP&language=E' );
    Please help me in this regard.
    Thank you

    My response help resolve Kodru's Message which he also posted in EP Implementation Forum. He resolved it by changing the variant noted below.
    The link http://help.sap.com/saphelp_crm40/helpdata/EN/70/B4ED8E03595645A6ABA33B4576BB57/content.htm should display Activity Info.
    First I would check if the crm_bsp_f1_help service has been activated in SICF.
    Secondly I would check the settings in the IMG -> SAP WAS -> Know. Mgt. -> Settings in App. Sys. -> Usage of Help Type "Dynamic Help". The Tab PlainHtmlHttp should have a variant called CRM_HELP, Server Name (help.sap.com) and path.

  • After Effects won't close/Problems with dynamic links

    When I quit After Effects the icon still shows up and it says that it is still open, even force quit will not work. Also having problems with dynamically linked files between after effects and Premiere pro. Rendering in Premiere doesn't work unless I go to AE, save the project, then go back to Premiere. I have OSX Mavericks 10.9.2, a late 2012 mac pro, and AE CC 12.2.1.5

    Kevin: would appreciate further thoughts on this.
    I am using Pr2014, version 8.0.0 I am using AE2014, version 13.0.2.3. When I was on earlier versions of each, I had no problem importing AE comps into Pr. I'd choose import in Pr, then select the AE project, then select the comp. But with my new and improved versions of AE and Pr, I keep getting "importer reported a generic error."
    I also tried to go the other way. I selected in Pr the clips I wanted to work on in AE, and then tried "replace with AE comp" but got the "generic error" message again..
    Finally, I attempted to create a Dynamic Link from Pr via the File menu, but with each of the options from there, I got "failed to connect to AE Dynamic Link"
    Any advice you can share, would be most welcome.

  • Problems with graphics [link removed]

    Hi everyone.
    I have problems with graphics [link removed] - Ogłoszenia Hrubieszów. Darmowe ogłoszenia Hrubieszów i okolice. If you want to help, please [link removed] help me in diagnosis. THX !

    Explain what exactly the problem is rather than spamming the forum with links. The page looks just fine in Firefox and Chrome.
    Mylenium

  • Query a remote table with Database Links

    How do database links work with ODP.NET? The following code produces an "ORA-02041: client database did not begin a transaction" error on the Fill method.
    SQL (in acme instance):
    CREATE DATABASE LINK sales.hq.acme.com
    CONNECT TO scott IDENTIFIED BY tiger
    USING 'sales'
    VB .NET:
    Dim cn As New OracleConnection("Data Source=acme;User ID=scott;Password=tiger;")
    Dim da As New OracleDataAdapter("SELECT * FROM [email protected]", cn)
    Dim ds As New DataSet
    da.Fill(ds, "RemoteEmp")

    Just read running procedure on remote db???
    Changed first line to
    Dim cn As New OracleConnection("Data Source=acme;User ID=scott;Password=tiger;Enlist=false")
    and it works now.
    That's what I get for searching the forum instead of browsing.

Maybe you are looking for

  • Hierarchy View in SAP R/3

    Hello all, Can anyone please tell me how to view the list of hierarchies generated or created in R/3 system? They can be custom or standard hierarchies. This will be of great help to me. Thanks, Naveen

  • Flash Video Doesn't Work

    I'm having serious problems inserting Flash Video into my site (and I have uploaded the script folder and file). Background: I'm fairly experienced with most software, but I am totally new to web creation/web software. Code is above my head. I create

  • Headset for use w/Skype?

    Best headset (head phones & microphone) for use with Skype? In Mexico (La Manzanilla, Jalisco, sm town) for 5 months. Do not have phone (landline, cell, nada) & will depend on Skype for incoming/outgoing calls. Also, no stores nearby (radioshack @ 60

  • [WP8.1][C#]Why when I try to upload an Image with Windows Phone it uploads a random thing?

    I'm trying to upload an image from my Windows Store App (Windows Phone 8.1) to hosting (using PHP) but always when I "uploaded" the image, and I check its result the "image" it's a corrupted file. I think it's related to the byte array conversion but

  • Nokia 5530 XM can't show date and operator on home...

    Hi ! Nokia 5530 XM can't show date and operator on home screen