How can I select stuff of table has created in the PL/SQL script?

When I execute a select statement, SQLplus complains of the table does not exist. But it has been created? Don't know what goes wrong... Thanks in advance...

The code is as follows:




DECLARE

column_table varchar (50): = "column_table";
r_count NUMBER (10): = 0;

BEGIN
column_table: = UPPER (column_table);

-I created the table here and validation
IMMEDIATELY RUN 'CREATE TABLE' | column_table | "(varchar2 (100) from table_name, column_name varchar2 (1000))';
commit;

IF someCondition THEN
Bonneau
-It's where SQLPLUS complains about the table or view does not exist
Select count (1) in the column_table r_count where table_name = someValue;
Bonneau
END IF;


END;
/

You will need to use dynamic sql to access objects created by using dynamic sql.
>
Select count (1) in the column_table r_count where table_name = someValue;
>
During this "compilation" the table declaration that it is trying to reference does not exist then you get an error.

The table does exist when the code is executed.

Tags: Database

Similar Questions

  • How can I select all instances of a component in the timeline at once without manually shift clicking on each instance?

    Title says it all!

    How can I select all instances of a component in the timeline at once without manually shift + click each instance?

    The reason why I want to do this is because I have a video clip with MANY quick cuts. So the clips are cut out and splattered everywhere. I'm color correction now and so I want to be able to select a clip around wherever it exists in the timeline so I can drag the effect on all the at once, without having to search each occurrence of the item in the timeline panel. This lot "select" would make it so I don't miss not all instances of the clip and saving a ton of time going through the timeline and Shift clicking whenever the clip is also up.

    I hope that the PP is smart enough to do this

    Thanks in advance!

    -Tim

    Choose a single instance of the element, perhaps even the first bit... and use the new Master Clip feature... Firstly here is a written explanation and a video tutorial on this operation... This is a great feature.

    Adobe Premiere Pro help. Master Clip effects

    How to apply effects to all instances of a clip. Adobe first Pro CC tutorials

    Neil

  • How can I select several clips in a timeline in the opposite direction, for example the Middle at the front?

    I know how to click on 'a' and select items in the chronology with impatience, but how to choose several clips from a central point at the front of the timeline?  I don't want be lasso - is there another way?

    Who's going to do.

  • How can I select several albums in each cell in the row? Then, copy, delete, paste, change font?

    I have over 100 tables, each with about 40 individual cells that need to be revised. In each cell, there are 2 numbers stacked. The top number is "BOLD", the light at the bottom. My client wants that these figures transposed, with the new higher number as "BOLD" and the new substantive issue being as light. As you can see it will be very long and tedious to do.

    When I try to choose the number of albums, the 2nd number below is selected as well. Is there a way to select only the most important numbers in the cells, copy and paste them under the bottom numbers, and then change the font on both?

    I inserted two graphs as examples. The first 'Original' and the second 'publishes customers' to help illustrate my problem. Please keep in mind that I know little about scripting. I can open the AppleScript editor and that's all. I'm working on it in CS3. Please help me.

    Original Header 2 Header 3 Header 4

    100

    200

    200

    400

    400

    800

    800

    1200





















    Changes to clients

    Header 2 Header 3 Header 4

    200

    100

    400

    200

    800

    400

    1200

    800





    You are welcome! (Remember to press the button that says 'Response').

    The problem of font style is a well known, you can set the style of a font if that really exists. To fix it, change the background lines

    table. Rows [Row]. Cells [Cell] .paragraphs [0]. FontStyle = "Bold";

    apply evenly to the 2nd paragraph

    table. Rows [Row]. Cells [Cell] .paragraphs [1]. FontStyle = "Regular";

    TO

    table. Rows [Row]. Cells [Cell] .paragraphs [0] .appliedFont = "universe LT Bold Condensed Std\t67";

    apply evenly to the 2nd paragraph

    table. Rows [Row]. Cells [Cell] .paragraphs [1] .appliedFont = 'universe LT Std\t57 condensed. "

    (Off the top of my head; it is, first you give the name of the font family, then a tab-'\t' in Javascript-, then the font style).

  • How can I select some files to be transferred with the migration assistant

    Can I transfer files selected in the Migration Wizard, or if I need to transfer all the files?

    You cannot select individual files, apps, or anything else.

  • How do I know if a table has login?

    I need to temporarily disable the registration and restore logging affecting later.
    How can I determine if a table has logging or turn off before my change?
    TUBBY_TUBBZ?alter table tablea nologging;
    
    Table altered.
    
    Elapsed: 00:00:00.28
    TUBBY_TUBBZ?select logging from dba_tables where table_name = 'TABLEA';
    
    LOGGING
    ---------
    NO
    
    1 row selected.
    
    Elapsed: 00:00:00.00
    
  • How can I select 'search yandex' as a default search in the night Navigator engine 44.0a1 x 64

    How can I select 'search yandex' as a default search in the night Navigator engine 44.0a1 x 64?

    Now, I see a lot of search engines but did not have "yandex".

    And how do I install elements of Yandex, when this may be available?

    If you are not able to install a search plugin for Yandex from the modules or Mycroft site, you can try to install one on the site (this works in Firefox 41, I have not tested in every night):

    Visit https://www.yandex.ru/ and notice that there is a green circle with a + on it on the search bar of Firefox. Click on that and then find the line on the menu drop down to add the site as a search engine.

    I have attached a screenshot, but since I can't actually read the language, I apologize if it's totally another thing.

    To make Yandex your default, you can use the link at the bottom of the Panel to the Options page search section.

    Success?

    Regarding Yandex elements, is the problem that Yandex has not presented the extension to be signed by the team of Add-ons? It's something that you might feel free to encourage them to do.

  • I have Pages version 5.6.1. How can I convert a document that I create in this version to an older version (Maverick) of Pages? I created documents in version 5.6.1 and I need for my colleague to open documents, but it has the ol

    I have Pages version 5.6.1. How can I convert a document that I create in this version to an older version (Maverick) of Pages? I created documents in version 5.6.1 and I need for my colleague to be able to open the documents, but it has the old version. I already clicked on 'option' and select 'duplicate' to get the prompt "save under". However, when I do this it does not to choose another version.

    To create a document that can be opened with previous versions of Pages, open the document in Pages, and go to the menu file (in the menu bar)-> export as-> Pages ' 09. Save the file and send it to your friend, if she can open it without any problem.

  • How can I design square wave which has a positive and negative values equal to the other and separated from each other by controlled time or distance

    How can I design square wave which has a positive and negative values equal to the other and separated from each other by controlled time or distance, as indicated in the figure below. and enter this signal in a data acquisition.

    At the time wherever you go for the beautiful diadram, you could have done the vi

    Your DAQ would like a waveform (table of values and dt ak 1/sampling rate)

    If you set the sampling rate you know the length of the array, create a matrix of zeros and set the values of the two amplitudes...

    Because I don't want to connect other duties here are some photos

    And it does have a few drawbacks leaves to be desired in my solution, just think... rounding errors and what might happen if the tables are becoming more...

  • How can I report a scam that has happened on December 9, 2009

    How can I report a scam that has happened on December 9, 2009 (Wednesday), while that on the internet a site popped up in a separate window indicating that my system has been infected by malicious viruses.  Site showed documents, personal, c: files / disks etc be infected.  A small window emerged to analyze my system and all kinds of virus appeared.  The small window not could be reduced or cancelled, the window will redirect you to save or run a program to make a purchase. It a scam scam. I discovered that it is the Middle East. and it cost me $129,85. and I called the Bank and we will be challenging the transaction... Hopefully I can get my money back... I fixed my computer in going back to restore the system in a week. the site used freeantyspywaretool.com and shown on my CC as REALGOLDSOFT BAKU
    Found on the scam report: microsoft REALGOLDSOFT BAKU AZ security system...
    December 10, 2009... REALGOLDSOFT BAKU BAKU AZ AJ BAKU select State United States phone: Internet site address: Middle East...
    www.ripoffreport.com/.../realgoldsoft-Baku.../realgoldsoft-Baku-AZ-Microsoft-be984.htm
    It happened again this morning in antyvirusbusiness.com this time I XE off everything before everything could happen. but I fn-prtsc. and glued to the screen of painting so I have a record of it.
    How to stop and make sure that my computer is safe.

    Please carefully follow all of the steps in this post: How to get rid of malware

    To report an Internet crime, please contact IC3 or your local FBI sales office

    Hope this helps,

    Vincenzo Di Russo
    Microsoft® MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003.
    My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo

  • Muse, how can I select "secure web fonts" in the Korean police?

    When I using Muse,

    How can I select "secure web fonts" in the Korean police?

    There is only English muse web security policies.

    so I can't select language (korean) national web safe fonts...

    has he updates in this topic... ?

    now in muse, I still using Korean fonts in the image;

    At that time, English and Japanese is the local only for which Muse offers another set of web-safe fonts. You wouldn't see them in Korean. A same thread here - http://forums.adobe.com/message/5492379

    Thank you

    Vinayak

  • How can I convert an existing table to the ITO

    Hello

    My Oracle version is 10.2.0.4

    Here's my my test_table structure.

    He has 1141580 rows.

    I want to convert to table index. However, there is no secondary indexes.
    How can I convert an existing table to the ITO.

    CREATE TABLE test_table (
       Column1             NUMBER        NOT NULL,
       Column2             DATE          NOT NULL,
       Column3             VARCHAR2(100) NOT NULL,
       Column4             VARCHAR2(8)   NULL,
       Column5             VARCHAR2(40)  NOT NULL,
       Column6             VARCHAR2(3)   NULL,
       Column7             NUMBER        NOT NULL,
       Column8             NUMBER        NULL,
       Column9             VARCHAR2(32)  NULL,
    )
    
    /
    
    
    
    ALTER TABLE test_table
      ADD CONSTRAINT test_table_pk2 PRIMARY KEY (
        Column1,
        Column2
      )
      USING INDEX
        STORAGE (
          INITIAL   30720 K
        )
    
    /
    
    
    ALTER TABLE test_table
      ADD CONSTRAINT test_table_cons1 FOREIGN KEY (
        Column1
      ) REFERENCES test_table2 (
        Column1
      )
    /

    Documentation Oracle say:
    Redefinition of Table online allows you to change the organization from a normal table (heap-organized) to an organized in index table and vice versa.

    For example, you might want to try.

  • How can I make my smaller mailboxes, so that all the stuff does not appear after that I have opemed it?

    The email I'm reading is very large with a lot of things that I did not need to see. How can I make my mailbox smaller?

    Remove the stuff that you don't need to see and to compact the folders later.
    http://KB.mozillazine.org/Compacting_folders

  • How can I select multiple messages at the same time for archiving

    I want to archive multiple messages in a folder from archive. How can I select multiple messages at once?

    To select a block of eg: 10 emails.

    • Click on the first email
    • Hold down the SHIFT key and click the last email.
    • This will highlight all in the interval

    To hightlight all the emails in a folder.

    • Click on the first email to focus.
    • Press on and hold down the 'Ctrl' key and press 'A '.
    • This will highlight all emails.

    To select several emails:

    • Press and hold down the 'Ctrl' key and then use the mouse to select multiple e-mails
    • they will appear as "conversations in the messages pane.
    • Click on archives.

    Info on setting up your archive' Options ': '.

  • How can I selectively transfer files from an iMac 2009 to a new iMac in 2015? The two running os 10.11

    How can I selectively transfer files from an iMac 2009 to a new iMac in 2015? The two running os 10.11.3.

    I do it with a G4 OS Tiger and the Mavericks MacBook by plugging into an Ethernet jack on my router and by enabling the sharing of files on the G4 in System Preferences > sharing.  If items are placed in a folder called 'Public', it can be read by anyone on the network by logging in as a guest. Otherwise, if I login with my user ID on this computer I get access read/write for all of my folders.

Maybe you are looking for

  • How a cRIO can access remote systems VISA resources?

    I have a NI 9871 RS485 module on an ethernet 9148 RIO. I have also a laptop and a cRIO 9073. I can access each of the 9871 serial ports on the computer but not the 9073. When you try to access it from the cRIO, I get error:-1073807192, VISA: (Hex 0xB

  • Prints dark

    I just bought a Selphy C1200 but my pictures are printing gray and dark, not bright and vivid colors I see on my phone and computer.  I have an all in one Canon printer that prints the bright and sharp images, but I wanted the small portable printer.

  • Why I got the warning that I didn't not pay the Bill?

    I bought Creative cloud photography plan from amazon. I received my new payment and invoice from amazon. But when I opened the LR or PS, I've always had a warning that I haven't paid the Bill. How can I solve it?

  • How to get an anchor text in history?

    Hi experts,is it possible to get the anchor text, like this:and get the text and then place it in the context of text, like this:Thank yourespect ofJohn

  • Replace case keeping the cases in the source

    Hi allI am trying to replace keywords with a tag html wrapped around it. The correspondence of the keywords must be case-insensitive, but should retain the original case of keywords.So far, I have this: WITH DATA AS (SELECT 'I seek aN anSwer please'