The shift from collection to function error

Hello world.  I am a novice in PL/SQL and I get an error and I don't know why.  Here is my code.

FUNCTION validate_column(
    in_columns IN CHAR_TBL,
    in_column_str IN VARCHAR2)
RETURN VARCHAR2
AS
    avail INT := 0;
BEGIN
    SELECT COUNT(*) INTO avail FROM in_columns WHERE column_name = UPPER(in_column_str);
RETURN '';
END validate_column;



FUNCTION test(
    in_table IN VARCHAR2)
RETURN VARCHAR2
AS
  COLS CHAR_TBL;
BEGIN
    SELECT column_name BULK COLLECT INTO COLS FROM user_tab_columns WHERE table_name = in_table;
    validate_column(COLS, 'abc');
    RETURN '';
END test;

CREATE OR REPLACE TYPE CHAR_TBL
AS
  TABLE OF VARCHAR2(4000);

When I compile this code, I get an error on line 7 above.  ORA-00942: table or view does not exist.

NOTE: user_tab_columns is integrated oracle table.

What I am doing wrong?  I am not able to pass a collection as a parameter to a function?

Thank you

There are quite a few errors, see the example below:

CREATE OR REPLACE TYPE CHAR_TBL

AS

TABLE OF THE VARCHAR2 (4000);

/

(Validate_column) CREATE or REPLACE FUNCTION

in_columns IN CHAR_TBL,

in_column_str IN VARCHAR2)

RETURN NUMBER

AS

avail INT: = 0;

BEGIN

COUNT (*) of SELECT INTO TABLE OF (in_columns) WHERE COLUMN_VALUE available = UPPER (in_column_str);

RETURN nothing.

END validate_column;

/

CREATE or REPLACE the FUNCTION test)

in_table IN VARCHAR2)

RETURN NUMBER

AS

PASSES CHAR_TBL.

v_cnt NUMBER;

BEGIN

SELECT column_name BULK COLLECT INTO PASSES FROM user_tab_columns WHERE table_name = in_table;

v_cnt: = validate_column (PASSES, 'abc');

RETURN v_cnt;

END test;

/

Tags: Database

Similar Questions

  • CANCELLATION of the INSTALLATION: Master Collection CS5.5 errors

    Hello

    I bought, downloaded and tried to install my CS5.5 Master Collection (install.app). Installation allows me to enter my serial number, asks me my password system, crunches the screen of installation for a minute or two, and then returns with an error (a long I pasted at the bottom of this message).

    Someone knows how to fix this?

    Thank you

    Rich

    Installation has been cancelled.

    Please try to reboot your system and install again.

    Exit code: 24

    -------------------------------------- Summary --------------------------------------

    -0 fatal Error (s), 109 (s), 16 WARNING (s)

    WARNING: DS013: Payload {298CF0B0-8B47-46DF-B726-8E4BFAD5432E} AdobeHelp 1.0.0.0 is already installed and the load of the session {0175676F-8C92-49F2-9131-D0D6AD654B41} AdobeHelp 3.4.0.0 has no connection to upgrade/conflict with it.

    WARNING: DS013: Payload {B86DCC32-8B28-4788-8A09-6D1C9F7EAAAD} AdobeHelp 3.4.0.0 is already installed and the load of the session {0175676F-8C92-49F2-9131-D0D6AD654B41} AdobeHelp 3.4.0.0 has no connection to upgrade/conflict with it.

    WARNING: DS013: Payload {A8798E04-96FF-4564-9157-0D4C89CB794C} DynamiclinkSupport 5.0.0.0 is already installed and the load of the session {1A1E5FF9-D0FD-42A3-8E18-E5E7E95E1AB4} DynamiclinkSupport 5.5.0.0 has no connection to upgrade/conflict with it.

    WARNING: DS013: {66173EC7-974E-4652-9468-4A93D2481BF0} payload CSXS Extension 1.0.0.0 story is already installed and the load of the session {3450d4c5-a82b-4428-a512-842ee1555a14} CSXS Extension 2.5.0.0 history has no connection to upgrade/conflict with it.

    WARNING: DS013: Payload {78A53622-CDBA-49D1-A3D0-D563FB398D0C} AdobeColorCommonSetRGB 3.0.0.0 is already installed and the load of the session {45063C56-A2A2-4FD1-A56A-A964723EEE1E} AdobeColorCommonSetRGB 3.1.0.0 is not related to upgrade/conflict with it.

    WARNING: DS013: Payload {39CB2E53-5326-4939-8B5A-0402C6EFBFE3} AdobeColorCommonSetCMYK 3.0.0.0 is already installed and the load of the session {54D89F03-8EED-4FF9-BCDF-3B2E11D448A6} AdobeColorCommonSetCMYK 3.1.0.0 is not related to upgrade/conflict with it.

    WARNING: DS013: payload {F8918124-1CFB-4AB9-9BC2-39B961DBBBEE} Pixel Bender Toolkit 2.0.0.0 is already installed and the load of the session {9FBC5BF9-5019-49D6-A1B3-6BB0E2A1FA54} Pixel Bender Toolkit 2.6.0.0 has no connection to upgrade/conflict with it.

    WARNING: DS013: Payload {925ED7E4-E1B6-4544-8141-1C98A18D2E2E} AdobeOutputModule 3.0.0.0 is already installed and the load of the session {AC003BC0-704F-4F02-A72E-AC8B7044DE24} AdobeOutputModule 3.1.0.0 is not related to upgrade/conflict with it.

    WARNING: DS013: Payload {CD693E49-C5EF-4FA6-9037-9B636931C02B} AmericanEnglishSpeechAnalysisModels 1.0.0.0 is already installed and the load of the session {CCB778B5-25B8-4E57-9F20-72B11B443EF9} AmericanEnglishSpeechAnalysisModels 2.5.0.0 has no relationship to upgrade/conflict with it.

    WARNING: DS013: payload {09E9550D-7D89-4B9D-B6BB-72AF22CA9D3B} Flash Player 10.2.153.1 is already installed and the load of the session {DEA79551-23E3-430A-9B15-B544479B7DB2} has Flash Player 10.2.153.1 no upgrade/conflict relationship with her.

    WARNING: DS013: payload {ED679BB6-B428-4DCF-A52F-F9AAAA117101} Flash Player 10.0.45.2 is already installed and the load of the session {DEA79551-23E3-430A-9B15-B544479B7DB2} has Flash Player 10.2.153.1 no upgrade/conflict relationship with her.

    ERROR: DS013: check the integrity of the payload: failed with code 1

    WARNING: DW031: payload: Adobe XMP panels CS5 3.0.0.0 {6A2E619B-E4AC-433B-A648-D458CE543A96} has been updated and has been selected for repair. The {6F064E9A-480A-4B35-9765-533F8D3F472E} patch Adobe XMP panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 are uninstalled now.

    WARNING: DW034: WARNING: {3F023875-4A52-4605-9DB6-A88D4A813E8D} camera profiles Installer 6.0.0.0 will not be repaired, because the update patch of the payload and a payload of high level is being installed.

    WARNING: DW034: WARNING: {37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 will not be repaired, because the update patch of the payload and a payload of high level is being installed.

    WARNING: DW034: WARNING: {E0BCE1AA-B57D-4983-A05A-1B2CBF124494} AIR for support of iOS of Apple (FB) 2.6.0.0 will not be repaired, because the update patch of the payload and a payload of high level is being installed.

    WARNING: DW031: payload: Adobe XMP panels CS5 3.0.0.0 {6A2E619B-E4AC-433B-A648-D458CE543A96} has been updated and has been selected for repair. The {6F064E9A-480A-4B35-9765-533F8D3F472E} patch Adobe XMP panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 are uninstalled now.

    ERROR: DW001: payload cancelled Set status

    ERROR: DW049: payload {007A2A28-D6A8-4D91-9A2B-568FF8052215} has an action to 'fix' but not resultState

    ERROR: DW049: payload {0175676F-8C92-49F2-9131-D0D6AD654B41} has an action 'install', but not resultState

    ERROR: DW049: payload {03FB981A-5170-11E0-A90E-3CEDE2AB3DC5} has an action 'install', but not resultState

    ERROR: DW049: payload {08EF22BC-43B2-4B4E-BA12-52B18F418F38} has an action 'install', but not resultState

    ERROR: DW049: payload {0A186736-9C62-48B2-B1DF-8A9C5CF7C997} has an action 'install', but not resultState

    ERROR: DW049: payload {0AA9D11A-227D-45AB-A5D5-6F5F6E81D5E3} has an action 'install', but not resultState

    ERROR: DW049: payload {0CCF0458-5171-11E0-BC45-DC59E3AB3DC5} has an action 'install', but not resultState

    ERROR: DW049: payload {0D96CFE6-376D-44B8-808A-16F3BEB73263} has an action 'install', but not resultState

    ERROR: DW049: payload {0DFE8222-EDF8-4D17-8CCE-614D630A32F5} has an action 'install', but not resultState

    ERROR: DW049: payload {11E1188F-E576-47BC-B215-600C02C7EABF} has an action 'install', but not resultState

    ERROR: DW049: payload {128cd5a7-6018-4360-b4c0-b0258b1a5a34} has an action 'install', but not resultState

    ERROR: DW049: payload {1A1E5FF9-D0FD-42A3-8E18-E5E7E95E1AB4} has an action 'install', but not resultState

    ERROR: DW049: payload {22C26C10-5C22-4674-A52C-100112664305} has an action 'install', but not resultState

    ERROR: DW049: payload {24516988-6529-480E-8FE3-8428704FCAAB} has a 'delete' action but not resultState

    ERROR: DW049: payload {270C312D-7EC7-474C-BEB2-79CD398E02A3} has an action 'install', but not resultState

    ERROR: DW049: payload {2EA9B52E-8613-41A0-9EEF-FF54AD4CC810} has an action 'install', but not resultState

    ERROR: DW049: payload {3450d4c5-a82b-4428-a512-842ee1555a14} has an action 'install', but not resultState

    ERROR: DW049: payload {37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} has an action to 'fix' but not resultState

    ERROR: DW049: payload {3D51982E-45C6-4B4B-9362-B356E1610821} has an action 'install', but not resultState

    ERROR: DW049: payload {3EE734CB-F7AD-4691-9712-066E9FEC3E62} has an action 'install', but not resultState

    ERROR: DW049: payload {3F023875-4A52-4605-9DB6-A88D4A813E8D} has an action to 'fix' but not resultState

    ERROR: DW049: payload {3FA63389-0091-497A-8522-998E43648AEF} has an action to 'fix' but not resultState

    ERROR: DW049: payload {4058E728-84D8-45CE-8E2D-5F35BD6659A1} has an action 'install', but not resultState

    ERROR: DW049: payload {419B81A0-6282-456C-9B1E-8DBABA0DE2DC} has an action 'install', but not resultState

    ERROR: DW049: payload {45063C56-A2A2-4FD1-A56A-A964723EEE1E} has an action 'install', but not resultState

    ERROR: DW049: payload {4603E0C5-6880-4A4F-BCF8-DF1F6AE0E317} has an action 'install', but not resultState

    ERROR: DW049: payload {49E6D00F-3456-11E0-AE83-842B2B67A8CC} has an action 'install', but not resultState

    ERROR: DW049: payload {4A8546D0-CEDF-48C1-9BA1-DD5B4ADFC154} has an action 'install', but not resultState

    ERROR: DW049: payload {4B1B3BF0-B3E4-477C-84BF-4FCB42D84445} has an action 'install', but not resultState

    ERROR: DW049: payload {4B204697-D302-42D9-94B4-8BDDE6DD359C} has an action 'install', but not resultState

    ERROR: DW049: payload {4B4C871D-9C8A-4C8A-B92A-C37273D6CE7D} has an action 'install', but not resultState

    ERROR: DW049: payload {4B51E596-6BB0-4244-9AB9-344AD5FA6726} has an action 'install', but not resultState

    ERROR: DW049: payload {4C08199E-0D93-4227-8325-F024E71CA7A1} has an action to 'fix' but not resultState

    ERROR: DW049: payload {4FFA83C0-007A-4DB3-955C-B5EEE73BEDAF} has an action to 'fix' but not resultState

    ERROR: DW049: payload {50491591-A44F-429E-B7C8-87E03FECFD78} has an action 'install', but not resultState

    ERROR: DW049: payload {54D89F03-8EED-4FF9-BCDF-3B2E11D448A6} has an action 'install', but not resultState

    ERROR: DW049: payload {5C0FEBDA-5A0E-4FC8-91CB-229A4C1561E9} has an action 'install', but not resultState

    ERROR: DW049: payload {5D2A85AB-7391-4EAC-AA61-D5D9C09E4F17} has an action 'install', but not resultState

    ERROR: DW049: payload {606A0AC5-5F90-4379-81AE-11B44707E094} has an action 'install', but not resultState

    ERROR: DW049: payload {62ED7AE1-01FA-4066-97B7-1CD93A68DD0D} has an action 'install', but not resultState

    ERROR: DW049: payload {6A2E619B-E4AC-433B-A648-D458CE543A96} has an action to 'fix' but not resultState

    ERROR: DW049: payload {6BC81374-1E33-4495-93E2-DD2B10D358EE} has an action 'install', but not resultState

    ERROR: DW049: payload {6F064E9A-480A-4B35-9765-533F8D3F472E} has a 'delete' action but not resultState

    ERROR: DW049: payload {6F3A624B-1B72-4081-96E8-23261F389C5C} has an action to 'fix' but not resultState

    ERROR: DW049: payload {71BC8278-815D-4F8C-8FA5-C6F782C73892} has an action 'install', but not resultState

    ERROR: DW049: payload {75CD59C0-516F-11E0-892C-26ECE2AB3DC5} has an action 'install', but not resultState

    ERROR: DW049: payload {7745F18B-FD8A-4011-BE16-588900C503D0} has an action to 'fix' but not resultState

    ERROR: DW049: payload {7CAD45EF-24AD-4281-9236-7F8DDB0B9538} has an action 'install', but not resultState

    ERROR: DW049: payload {7CF76BDA-73EA-4C46-A59D-FC3142D83E65} has an action 'install', but not resultState

    ERROR: DW049: payload {83478D6E-4AA8-11E0-A479-24B1F9D7AC32} has an action 'install', but not resultState

    ERROR: DW049: payload {8AB04F7C-8AEF-4023-9CDB-F761E4ECF9CC} has an action 'install', but not resultState

    ERROR: DW049: payload {970C9F3A-39C5-480B-BE51-7C70AB9F84DB} has an action 'install', but not resultState

    ERROR: DW049: payload {99BDA97A-4AA8-11E0-9E8D-32B2F9D7AC32} has an action 'install', but not resultState

    ERROR: DW049: payload {9B4F8AA7-DDFA-4A0F-A36C-D0F66CCD66F7} has an action 'install', but not resultState

    ERROR: DW049: payload {9BA136BE-0077-41E1-AD56-56AB5D4A1A67} has an action 'install', but not resultState

    ERROR: DW049: payload {9F747BEC-FB4E-4830-8C58-363B8DCC26EB} has an action 'install', but not resultState

    ERROR: DW049: payload {9FBC5BF9-5019-49D6-A1B3-6BB0E2A1FA54} has an action 'install', but not resultState

    ERROR: DW049: payload {9FE2BFB0-1DBE-4269-AEBA-A870C5990BEA} has an action 'install', but not resultState

    ERROR: DW049: payload {A1181890-9FA4-11DF-A25D-A35DF04EC7B1} has an action 'install', but not resultState

    ERROR: DW049: payload {A2502D10-2D75-4620-8A8B-73F39D5C1243} has an action to 'fix' but not resultState

    ERROR: DW049: payload {A44863BF-8DB8-4D22-88DB-5A02BE319840} has an action to 'fix' but not resultState

    ERROR: DW049: payload {A516708E-EC03-40F5-B82E-0851A44B3780} has an action 'install', but not resultState

    ERROR: DW049: payload {A80C015C-1939-42A5-AD2F-E76C7F194505} has an action 'install', but not resultState

    ERROR: DW049: payload {AC003BC0-704F-4F02-A72E-AC8B7044DE24} has an action 'install', but not resultState

    ERROR: DW049: payload {AC76BA86-1033-F400-7760-000000000005} has an action 'install', but not resultState

    ERROR: DW049: payload {AD60EB24-4CEE-4CA0-A6AA-526EAF41F2DB} has an action 'install', but not resultState

    ERROR: DW049: payload {ADC78ABC-AF09-47D2-977F-E27850E3CC1C} has an action 'install', but not resultState

    ERROR: DW049: payload {B7091600-995D-44EC-9B67-0E2025FDA600} has an action 'install', but not resultState

    ERROR: DW049: payload {BAE5212B-6651-4AD8-B26A-1B284D2665C6} has an action to 'fix' but not resultState

    ERROR: DW049: payload {BD0D6363-E961-410F-8BF4-ECD8795F3923} has an action to 'fix' but not resultState

    ERROR: DW049: payload {BD6EEC48-4A2E-4B19-B36E-C3A94A97C99E} has an action 'install', but not resultState

    ERROR: DW049: payload {BD85DFD4-005F-4219-8E27-C922CC4D8A61} has an action 'install', but not resultState

    ERROR: DW049: payload {BF093B6B-F94F-4D77-99C9-4C0F6B2F44B6} has an action 'install', but not resultState

    ERROR: DW049: payload {C1302004-7A3C-467A-80AC-4D0C9F6982C1} has an action 'install', but not resultState

    ERROR: DW049: payload {C1646326-4AA6-11E0-AE8E-4C9CF9D7AC32} has an action 'install', but not resultState

    ERROR: DW049: payload {C2F8BD34-1692-40F9-BA1B-1CFB2B5FED3A} has an action 'install', but not resultState

    ERROR: DW049: payload {C61B093E-259E-45D8-B9B6-24630A700398} has an action 'install', but not resultState

    ERROR: DW049: payload {CBDD7465-CE11-4A58-9497-C370B65923F1} has an action to 'fix' but not resultState

    ERROR: DW049: payload {CC35904A-0197-4F06-BD70-9CE3DB24DBFD} has an action 'install', but not resultState

    ERROR: DW049: payload {CCB778B5-25B8-4E57-9F20-72B11B443EF9} has an action 'install', but not resultState

    ERROR: DW049: payload {CE1C14E2-7C20-47A9-817D-596F2173A582} has an action 'install', but not resultState

    ERROR: DW049: payload {CE45CAE5-0B56-4C52-AE07-98A05027A049} has an action 'install', but not resultState

    ERROR: DW049: payload {CE6E1448-516F-11E0-B3C0-13EDE2AB3DC5} has an action 'install', but not resultState

    ERROR: DW049: payload {D5B1535A-FDFC-4B40-B2E2-21DA83D9CB57} has an action 'install', but not resultState

    ERROR: DW049: payload {D682C558-6F3F-4800-885C-4C5EB1B7338C} has an action 'install', but not resultState

    ERROR: DW049: payload {D8B9B5FB-D388-4D79-AA4B-6C09641189F6} has an action 'install', but not resultState

    ERROR: DW049: payload {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has an action 'install', but not resultState

    ERROR: DW049: payload {DD18D60C-87B1-47D9-8312-67508B402FB9} has an action 'install', but not resultState

    ERROR: DW049: payload {DEA79551-23E3-430A-9B15-B544479B7DB2} has an action 'install', but not resultState

    ERROR: DW049: payload {E0BCE1AA-B57D-4983-A05A-1B2CBF124494} has an action to 'fix' but not resultState

    ERROR: DW049: payload {E348E466-429A-4FB0-AFCF-8306C16BBFF1} has an action 'install', but not resultState

    ERROR: DW049: payload {E39A5ABD-516B-46F9-A042-694BBA6A4E08} has an action to 'fix' but not resultState

    ERROR: DW049: payload {E82097B9-A3B8-404A-9A92-AC16A8AC9576} has an action 'install', but not resultState

    ERROR: DW049: payload {EB186BF2-0A84-40A2-B794-0326D3DF9973} has an action 'install', but not resultState

    ERROR: DW049: payload {ED28819E-310F-4F17-925C-C69B0A1C1F7F} has an action 'install', but not resultState

    ERROR: DW049: payload {ED9DC850-516E-11E0-9096-1FE5E2AB3DC5} has an action 'install', but not resultState

    ERROR: DW049: payload {EDE888ED-3BD7-4D8C-AB35-7E4C661A94D9} has an action 'install', but not resultState

    ERROR: DW049: payload {EE85C227-0148-4825-B659-6A1E142571EE} has an action 'install', but not resultState

    ERROR: DW049: payload {EF45880C-DD84-46C3-A054-0BC5F76A6BBE} has an action 'install', but not resultState

    ERROR: DW049: payload {F313167E-5172-11E0-ACE7-30C2E3AB3DC5} has an action 'install', but not resultState

    ERROR: DW049: payload {F8ABD584-A99C-4304-AC4B-CCFD0914D871} has an action 'install', but not resultState

    ERROR: DW049: payload {FB720658-01F4-4002-BB69-49E66CD82E30} has an action 'install', but not resultState

    ERROR: DW049: payload {FE35B66A-C8F1-4D62-B823-C2EE2C7DA702} has an action 'install', but not resultState

    ERROR: DW049: payload {FECCB1BF-038D-41C2-861B-4560E7667005} has an action 'install', but not resultState

    ERROR: DW050: the following payload errors were found during the installation:

    ERROR: DW050:-HIL help search: installation cancelled by user

    ERROR: DW001: the user cancelled the operation

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

    I called Technical Support Adobe and we tried a number of things, but to no avail. The installer was not all files that might look at newspapers or run Adobe Support Advisor against.

    After further reading on forums, I read that someone has solved this same problem, only the preview, by doing this:

    Restart the computer in "safe" mode (do not exactly know what what except it makes everything very slow performance) by starting the Mac while keeping your finger on the SHIFT key.

    I ran the installation successfully after that. Then rebooted normally and ran updates, everything seems fine now.

    Don't know what everything is current but running the installer, while in the security mode enabled me to run the installer. All is well in the city that once more ;-)

    Rich

  • Implementation of the shift from table register

    Hi all

    I am a novice in Labview and I'm trying to implement entrelaceur Convolutional.

    I have a problem with the implementation of the shift register using tables.

    Here I use interleaver in channel 4. First bit should go directly to the output. 2nd bit should go in a shift register which is initialized to 0. 0 should go to the exit and entry should replace the registry of offset value.

    Similarly, in the 3rd round, 2 element shift register is present initialized to 0. Here, too, 0 should go to the exit element (0) first should get input should come in the shift register. And in the 4th inning, 3 element shift register will be there.

    I tried to apply this using tables, but I'm not be able to crack. Using loops with disabled automatic indexing is the key to this?

    Your help to solve this will be highly appreciated.

    Thank you

    Try something like this:

  • Select the data from collections plsql

    Hi all

    I'm not a developer but working as a DBA, so not very familiar with pl/sql, always crossed with documentation and could lead to a solution of my problem. I need advice from expert here.

    Problem: I am writing in a kind of special program plsql for surveillance of certain lots, I know that we have much option to do the same db/grid control including... etc but for some
    the reason I have to do this, use only plsql.

    Requirement: my requirement is to select data in the plsql table and then have the opportunity to ask questions again and again. I prefer not to go to table, rather than directly from plsql...

    I wrote below the code for the sample, bulk data in collection type collection and can print using the loop.

    Declare
    TS type is table v$ session % rowtype index by pls_integer;
    tsess ts.
    Start
    Select * bulk collect into tsess from v$ session;
    I'm looping 1.tsess.count
    dbms_output.put_line (tsess (i) .terminal);
    end loop;
    end;
    /

    But is it possible same collection (tsess in the example above) can be queried using a select as ' select * from table (Tsess) "I searched the net and found this can be done using create type at the database level.» But my problem is that I can't create any object in the database as being it's a production one.

    I was looking as if is it possible even can be accomplished... as cast / multiset... However, I could not get it through.

    your help would be appreciated!

    Kind regards

    I don't think you should use the tables here, only SQL, take a look at the factors of subquery and will indicate if it is not enough...

    Published by: BrendanP on February 12, 2012 03:07 for an example:

    I understand you want to "Refresh" of data that you already have the database purely to be able to use the SQL such as ORDER BY in multiple ways. Here's how you can do it in the original SQL for a particular example, where you query v$ sql time control processor and disk reads separately (I tested it but the result won't be good look here, so omitting it):

    WITH v AS (
    SELECT
        Substr (sql_text,1,500)             sql_text,
        cpu_time/1000000                    cpu_seconds,
        disk_reads,
        buffer_gets,
        executions,
        CASE WHEN rows_processed != 0 THEN Round( buffer_gets / Nvl (Replace (rows_processed, 0, 1) ,1)) END Buffer_gets_rows_proc,
        Round (buffer_gets / Nvl (Replace (executions, 0, 1), 1)) Buffer_gets_executions,
        elapsed_time / 1000000              elapsed_second,
        module
    FROM v$sql s)
    SELECT
        'CPU'                order_by,
        cpu_seconds          order_val,
        sql_text,
        cpu_seconds,
        disk_reads,
        buffer_gets,
        executions,
        buffer_gets_rows_proc,
        buffer_gets_executions,
        elapsed_second,
        module
    FROM v
     UNION
    SELECT
        'Disk reads',
        disk_reads,
        sql_text,
        cpu_seconds,
        disk_reads,
        buffer_gets,
        executions,
        buffer_gets_rows_proc,
        buffer_gets_executions,
        elapsed_second,
        module
    FROM v
    ORDER BY order_by, order_val DESC
    
  • Remove the object from HsvDSData2 invalid registration error

    Dear Experts,

    I have an HsvDSData2 error object while performing remove invalid record. Could you please give me more information about this error?

    Thanks for your help.

    Best regards

    Benoit

    Based on previous experiences and discussions, all you have to do is restart the server by stopping all the services of EPM, Reboot HFM server and then start all services.

  • I can't activate my Adobe Audition 3.0.  I installed the program from my drive.  The program works. I have the serial number.

    I bought the program 5 years ago.   My computer crashed and I move the program to the new hard drive.    It is installed.    Whenever I start the program I get the message to activate.   But it will not be activated.  I have the original disc and the serial number.

    The direct link to the instructions from Adobe is HERE: error: "Activation Server unavailable". CS2, Acrobat 7, pass a hearing 3

    As Steve says, you must uninstall your existing discs, software and then download and install the version on the page above.  Note that this page is about everything in the CS2 package, so you need to scroll a bit to get to the hearing.

    A small number of people have problems with this system and the related FAQ Steve to the above includes instructions for some changes of registry fix that... but most people can just follow the Adobe pages.

  • Lasso tool polygon binding angles trying to add to the selection with the SHIFT key

    Since upgrading (downgrading?) of Photoshop CS6 Extended Photoshop CC I have a problem with the lasso tool of polygon limited at certain angles when you try to add to a selection.

    Here's the scenario, I select a color background with the magic wand tool, then I would like to add a few things to the selection, so I click on the polygon lasso tool and hold the SHIFT key to add to the playlist and then start to use the polygon lasso tool... often very randomly the polygon lasso tool will limit his movements to a 90 degree angle Sometimes something that seems like an angle of 30 degrees and sometimes he'll do any.

    I'm doing something wrong or is this a bug?

    The SHIFT key has two functions in the creation of a selection.  The first is as you know to add to any selection using another selection tool.  The second is forced to angles in drawing and selection, but also rotation tools.  So for your example, you have to hold down the SHIFT key when you click on to add to your selection using the polygon lasso tool, but after making the first click with the tool, Photoshop knows that you want to add to the selection.  So do not hold the SHIFT key after the first click, otherwise Photoshop assumes that you also want to compel the angles drawing of your choice.  (Unless that's what you really want to)

  • Cancellation of registration user stored in the shift register event generates the error 1 if Subvi runs intermittently

    Hello

    I'm trying to understand the behavior of the attached excerpt from a larger overall vi functional.

    In a State, I'm generating a user event and in a State later unsubscribe from the event and destroy it.

    Now, if I went through the VI together in one step (i.e., step through events? set to FALSE), the VI runs without generating an error. However, if I run the VI by intermittent and output after each execution of the loop, the vi generates error 1. Why is it so? Please notify. Thank you.

    Peter

    Why are you registration and deregistration of events user, but you have no event structure in your VI who use them?

    When you run events, probaby the event you registered disappears when your VI stops running.  If you were able to keep your VI in the foreground running, then the life of the event would persist.

    The event number still exists in the uninitialized shift register, but it does not say more once your high level VI stops and you get the error 1.

    If it was really a global functional VI, you would terminals connected to the connector table in your VI, you would call this as a Subvi as part of a main VI and life event would persist and you wouldn't mistake 1.

  • My browser is blocked for security reasons. Code error-QFR5000RT11C. My incoming connections in open State distance. Then I got the call from the United States 1 (866)986-3669, I picked up the phone, but they put the phone down. No matter what? Help, plea

    My browser is blocked for security reasons. Code error-QFR5000RT11C. My incoming connections in open State distance. Then I got the call from the United States 1 (866)986-3669, I picked up the phone, but they put the phone down. No matter what? Help, please.

    It's probably a SCAM.  Do not call these numbers.  Force Quit Safari and reopen it by holding down the SHIFT key.

    Ciao.

  • Get 7 Volume Info.vi returns an error when you try to get the information from disk on the cRIO-9025

    Hello

    I use a cRIO-9025 controller and want to get the information from the c: disk volume using the function to read the Volume information in the palette file I/O. When I run the function with the path as "C:\". ", the function returns a 7 error indicating that the path is incorrect.

    I used this function before with cRIO but unfortunately I have not any older devices with me to check this out now. I'm using LabVIEW 2009 SP1.

    Thank you very much!

    See you soon!

    Sankah2k

    On real-time targets VxWorks, the root of the path of the file is here (in lowercase). Try and let us know if it works. You would be better to use the constant path of the file to understand what looks like the path of the root directory.

  • error 0x80071ac3: difficult to copy the files from my old, but still working, USB

    I have just brought a new USB and can't copy files from my old, but still function, USB. Both are Kingstons not that it matter. I get the object from the error message "the volume is dirty" etc. I ran the disk of the property toolbox check both via the command prompt "chkdsk x:/F and / r." I still can't copy a large number of files.

    I have just brought a new USB and can't copy files from my old, but still function, USB. Both are Kingstons not that it matter. I get the object from the error message "the volume is dirty" etc. I ran the disk of the property toolbox check both via the command prompt "chkdsk x:/F and / r." I still can't copy a large number of files.

    Hello

    Files that cannot be copied are in bad clusters.

    Try running chkdsk x:/b

    The /B switch will cause the disk check to reassess the bad clusters and try to fix them again.

    Let us know the results.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • 5.7.1 Lightroom and NIK collection. I installed Nik Collection correctly. I followed the instructions from Adobe for importing the plugin in Lightroom. If I go to "photo" / "past to" (I use the Italian version, so I don't know if the translation of the po

    Lightroom 5-7-1 and NIK Collection. I installed Nik Collection correctly. I followed the instructions from Adobe for importing the plugin in Lightroom. If I go to "photo" / "past to" (I use the Italian version, so I don't know if the translation functions and controls is correct!) happens that all plugins are visible but not active. And even the default plugins are no longer active. I have repeated several times the procedure installation, but without result. Can anyone help? Tiziana

    You may need to do a manual install. See if this link helps:

    https://support.Google.com/nikcollection/answer/3002259?HL=it

  • IM have downloaded on windows 10 software adobe reader DC. Cannot install the update 15.009.20069 - gives error 1635. the drive is not all the functions associated with it - does not seem to download documents - opens in mocrosoft edge despiye moxilla fir

    I downloaded the CD player on windows 10. Unable to install the 15.009.20069 update. gives error 1635. Reader is not all functions available - documents opens on the edge of microsoft despite moxilla firefox as my default browser

    Hi Jacqueline,.

    Please check the steps in the article that Sukrit Dhingra shared with you. If in case the issue is not resolved with who perform a clean installation of drive using the cleaning tool and install offline using. Links provided below.

    Download Adobe Reader and Acrobat cleaning tool - Adobe Labs

    Adobe - Adobe Acrobat Reader DC Distribution

    To set the default on Windows 10 drive, try the steps from here: Reader/Acrobat is not the default PDF owner | Windows 10 threshold 2

    Thank you

    Abhishek

  • How do they affect times a clip and the clip from movie of child in the same function?

    I have really two questions: how both affect a clip and the clip from movie of child in the same function? and how to get information of a component in one service for another?

    My basic setup is a clip of choice of fonts, one on each image: "bodyText_mc." Each of these frameworks has a clip of the child 'bodyText_mc.bodyText' with choice of alignment for the police. For example, the user chooses 'Script' in the first ComboBox, then selects "Align right" in the second. (This text is static, because I need more great design control I can get with dynamic text.)

    First of all, I have a combobox "cbBodyFont" that I use to go from one image to the image on movieclip 'bodyText_mc.' It works fine:

    cbBodyFont.addEventListener (Event.CHANGE, changeBodyFont);

    function changeBodyFont(e:Event):void {}

    var bodyFontFrame:String = cbBodyFont.selectedItem.data;

    bodyText_mc.gotoAndStop (bodyFontFrame);

    }

    However, if I also want to assign a child element of "bodyText_mc", like this:

    cbBodyFont.addEventListener (Event.CHANGE, changeBodyFont);

    function changeBodyFont(e:Event):void {}

    var bodyFontFrame:String = cbBodyFont.selectedItem.data;

    bodyText_mc.gotoAndStop (bodyFontFrame);

    bodyText_mc.bodyText.gotoAndStop (2);

    }

    It won't let me. Add a command to the clip of the child 'bodyText_mc.bodyText' runs to a null object reference error. I can affect the parent element or the child element, but not both. Why?

    And part 2 of my question:

    I have an another combobox "alignBodyCb" that I use to go from one image to the image in this child clip "bodyText_mc.bodyText". The user selects Center, left, or right alignment.

    alignBodyCb.addEventListener (Event.CHANGE, changeBodyAlign);

    function changeBodyAlign (e: Event): void {}

    var elementAlignBodyFrame:String = alignBodyCb.selectedItem.data;

    bodyText_mc.bodyText.gotoAndStop (elementAlignBodyFrame);

    }

    The problem is that when the user switches to a new image of "bodyText_mc" with the changeBodyFont function, always, it goes to frame 1 of the child clip "bodyText", change the font, but back to the alignment of the centre. I need the font combobox to "remember" the active data from the drop-down list alignment, can still send the clip of the child to that frame. What I want is something like this (although it obviously does not):

    cbBodyFont.addEventListener (Event.CHANGE, changeBodyFont);

    function changeBodyFont(e:Event):void {}

    var bodyFontFrame:String = cbBodyFont.selectedItem.data;

    bodyText_mc.gotoAndStop (bodyFontFrame);

    bodyText_mc.bodyText.gotoAndStop (elementAlignBodyFrame); <--(l'image sélectionnée par fonction d'autres combobox)

    }

    alias "go to the frame (do) that they just took and then send the clip of the child to the frame (alignment) they chose earlier."

    Help? If I'm going about this wrong in the first place, I am open to that, too.

    SWF file attached for Visual reference. (Not everything works yet, but the Type of body section is where I concentrate for the moment).

    Just to avoid any confusion in the timeline (not yours, Flash), I recommend alternating the movieclips bodyText of one layer to another with empty frames between those on the same layer.  Funny things can happen when you have adjacent keyframes of the things, and giving them the same name may be composed the strangeness is at stake.

    If kGlad wants to take action to tackle the rendering event thing, it's OK, but whatever it is, I don't think that it is involved in what I mean.

    All I'm saying is that when you go to a particular frame in the bodyText_mc, you must run this second line of code here and not back where you had it.  If you want to move the command for the bodyText movieclip go to a frame inside the bodyText_mc on the frame where it lands in your first line of code.

  • Got a 27 "monitor from Apple, with thunderbolt (error). My MacPro can't love at first sight. Apple won't bring back the monitor. Will using a USB 3 map and then using a hard drive with USB 3 and Thunderbolt works?

    Got a 27 "monitor from Apple, with thunderbolt (error). My MacPro can't love at first sight. Apple won't bring back the monitor. Will using a USB 3 map and then using a hard drive with USB 3 and Thunderbolt works?

    N ° you need a computer logic board which has built in Thunderbolt.

Maybe you are looking for