How to remove several tables in a statement

I could used to run the below syntax to remove several tables in MS SQL, but it is not work in Oracle looks, I use free Oracle SQL Developer. Not a big deal, but want to know if this is possible. Thank you


DROP TABLE A, B, C, D, F

You can't do it in a single SQL statement, you can write a pl/sql script:

begin
execute immediate 'drop table a';
execute immediate 'drop table b';
execute immediate 'drop table c';
execute immediate 'drop table d';
end;
/

Max
http://oracleitalia.WordPress.com

Tags: Database

Similar Questions

  • How to remove several Favorites in safari?

    Hi, I was wondering how to remove several Favorites in Safari because I accidentally added thousands of bookmarks.

    To remove several items in Favorites, I'll

    1. Select 'Edit bookmarks' in the menu 'Favorites '. -This shows real bookmark tree structure using the window in the current tab.
    2. View, you can click the triangle to the left of the sub folder name to expand / corrupts.
    3. Then select items to remove using the click, shift-click, or order, etc..
    4. Tap the DELETE key or select "Delete" from the menu "Edit".
    5. Repeat step 2 to 4 for all items you want to delete.

    In the bookmarks view, you can also use drag - move to reorder items.

    After cleaning, you can close the window/tab or just start normal web browsing in the same way as the other web site of switching.

  • How to remove several photos library icloud?

    I use icloud photos with multiple devices, including an iPhone 4, iPad, Macbook pro and two PC.

    My icloud library is too large, with many duplicates (same photo taken several times) and many photos, I don't want to keep.

    Deleting photos in the library using the icloud library is a slow and tedious process.  I can remove only one at a time, each time takes 20 seconds or more, even with Internet broadband.

    How can I select and delete several photos at once?

    Hello rhwolfson,

    Thank you for using communities Support from Apple!

    Looks like you want to be able to remove several photos icloud photo library at the same time.  I will do my best to help find a solution for you.

    To delete multiple photos, the easiest method is to sign in iCloud.com on one of the computers you listed.  Once logged in, click on the photos icon.  When you are in the view 'Moments', you should see "Select of Photos" at the top right of the browser window. Click on 'Select Photos'.  You should now be able to select multiple photos and then click on the "Remove" button that appears.  This should allow you to delete several photos at the same time.

    Have a great day!

  • How to remove several mails on mac mini

    How to remove

    several

    mails on mac mini

    Select several emails, then delete.

    If you experience problems with multiple selection, select one, scroll down, and then shift + select a final sequence. Also, you can cmd-click to select discontinuously.

  • How to remove several "favourites" in XP

    I know how to remove single Favorites entries. Is it possible to delete several entries simply?

    Local disk C | Users | Your user name. Favorites. Open the folder, and then hold down the Ctrl key while you click on the Favorites you want to delete to highlight and then delete.

  • How to remove temporary tables $ ODI scheme. ?

    Hi Expertise,

    I am trying to remove the tables $ I receive when executing my Interfaces, procedures, and packages.
    I use this code I found in google.


    I created an option named tempSchema with value ODI (my diagram) that I work


    DECLARE

    NUMBER OF V_COUNT;

    V_TABLE VARCHAR2 (300);

    stmt varchar2 (300);

    BEGIN

    SELECT COUNT (DISTINCT TABLE_NAME) IN V_COUNT ALL_TABLES WHERE

    OWNER = '< % odiRef.getOption ("tempSchema") % >' AND TABLE_NAME LIKE ' % $_ % ';

    WHILE(V_COUNT>0) LOOP

    SELECT DISTINCT TBL_NAME IN V_TABLE FROM ALL_TABLES WHERE

    OWNER = '< % = odiRef.getOption ("tempSchema") % >' AND TABLE_NAME LIKE ' % $_ % ' AND ROWNUM = 1;

    stmt: = 'DROP TABLE' |' < % = odiRef.getOption ("tempSchema") % > '. ' -'|| V_TABLE | "cascade constraints PURGE';

    EXECUTE IMMEDIATE stmt;

    commit;

    V_COUNT: = V_COUNT-1;

    END LOOP;

    END;

    Please find the screenshot of my option

    drop.png

    screenshot of my procedure

    drop1.png

    While I am running the procedure, I get an error invalid SQL statement.

    Please help me by dropping tables.

    Thank you

    Shakur.

    I am able to understand the code proutt .

    and even I am able to delete the tables now that I had it is.

    ODI is creating tables with ' ' on each side. So just I need to add ' ' on each side of the drop command.

  • How to remove the table border

    Dear Kings.

    I was trying to remove the borders of tables (my coding below).

    This encoding does not "result: undefined"? How to remove all borders from the table. Please suggest friends.

    var mTables = app.activeDocument.stories.everyItem().tables.everyItem();  
    with (mTables) {  
      topBorderStrokeWeight = 0;
      bottomBorderStrokeWeight = 0;
      leftBorderStrokeWeight = 0;
      rightBorderStrokeWeight = 0;
      }
    alert("Done")
    

    Thank you in advance to all

    Try this,

    if(app.activeDocument.stories.everyItem().tables.length>0)
    {
    app.activeDocument.stories.everyItem().tables.everyItem().cells.everyItem().bottomEdgeStrokeWeight = 0;
    app.activeDocument.stories.everyItem().tables.everyItem().cells.everyItem().topEdgeStrokeWeight = 0;
    app.activeDocument.stories.everyItem().tables.everyItem().cells.everyItem().leftEdgeStrokeWeight = 0;
    app.activeDocument.stories.everyItem().tables.everyItem().cells.everyItem().rightEdgeStrokeWeight = 0;
    }
    
  • How to remove the Tables of HFM Application in SQL

    Hi gurus

    1. how to remove the HFM Application Tables in SQL?
    Its manual removal but each application having 120-150 tables? How to do this in one fell swoop?

    I deleted some applications using the workspace / shared services, but still its display under HFM under the Tables of SQL Server.

    Please help me

    concerning
    Smilee

    Hi Smilee,

    1. If the application opens in the web management interface, go to Taskflows management module and make sure that no taskflows exist yet for this application. Remove any existing taskflows.

    2. If demand exists in Shared Services, right-click on the demand for Shared Services and try to remove the application from here

    3. stop Hyperion Shared Services and all the Windows of financial management processes and backups of the relational database of the two patterns.

    4. check the relational database of Hyperion Shared Services repository, in the "ces_apps" table and make sure that there are no lines containing the appname "EXAMPLE." If the line still exists you should enlist the help of Oracle Global Support software to clean Hyperion Shared Services before proceeding.

    5. it is possible to remove all content removed from the relational database of financial management application. Must be very careful when handling manually tables database that permanent damage can be done at the application and other applications if the wrong content is removed.

    (a) first remove all tables, indexes, sequences, and the package objects that begin with the name of the application
    (b) remove all tables starting HSV_appname_xxxxxx
    (c) remove all rows in tables referring to demand HSX_CLUSTER_xxxxx.
    (d) delete all the HSV_ACTIVITY_KILL_USERS, HSV_ACTIVITY_NO_ACCESS, HSV_ACTIVITY_SESSIONS and HSV_ACTIVITY_USERS and HSV_USERS_ON_SYSTEM lines that refer to the name of the application.
    (d) remove the line containing the name of the application from the HSX_DATASOURCES table.

    6. the next time that all Hyperion services are restarted, the application must be removed safely from Windows client.

    You can contact your DBA to write a query on how to remove it.

    Hope this helps,

    Thank you
    Charles Babu J

  • HOW TO REMOVE SEVERAL EMAILS OF MY AIR 2 WITH ICLOUD IF NECESSARY?

    How to remove many (thousands) of e-mails from my ipad in a single operation?  I tried to CHANGE - ALL TRASH - TRASH ALL.  They disappeared and returned a few minutes later. I guess they go back on the Cloud.

    My wifi ipad is an AIR 2 and updates are up-to-date (IOS 9.1).

    Try to delete to iCloud.com.

  • How to remove e-mail messages. No icon in my tray tasks and how to remove several e-mail messages that are not consecutively

    First of all, I can't find a top of icon delete or bottom or anywhere. Secondly, when I'll be that solved how can I remove a number of emails that are not in consecutive order.

    You can click with the right button on the e-mail toolbar, select Customize, find the Delete button and drag it to the toolbar.
    You can activate the message pane by using the F8 key and use this header button.
    You can right-click on the message and select Remove.
    You can also use the Delete on your keyboard key.

    To select the messages you use standard Windows selection methods.
    Hold down the control key while clicking on messages to select random messages.

  • How to remove several photos in Photos?

    This program is driving me crazy!

    (1) I want to delete a whole bunch of pictures. But he let me only to remove it at once.  This would take hours.  I try to select several and then remove and it beeps just to me.  There MUST be a way to do this or this is a serious bug.

    (2) when I import all the new photos from my iPhone, I get more than I want to keep.  I have change the imported after you import photos by removing those that I don't want in my computer.  Then the next time that I plug in my phone, it shows all the ones I deleted not imported.  I don't want to import them again and I don't want to do so as new every time.  What is the solution to this?

    1. very simple: select the photos you want to delete, right-click - Select remove pictures "n" - or hold down the command key and press the delete key

    2 - Select the ones that you want to import and click Import selected

    LN

  • How to remove several sheets at once?

    I have several sheets that I have to delete. Is it possible to select multiple sheets and remove?

    Hey Brit,

    In Numbers ' 09, it's other types such as the removal of several elements.

    Select the items: click on one of the sheets you want to remove, then command-click the others in turn to add them to the selection.

    Delete them: press DELETE, or go edit > delete.

    Confirm the decision: you will get a drop down menu dialog asking "Are you sure"... "Click on delete to confirm.

    And they went.

    I hope that the process is similar to 3 digits.

    Kind regards

    Barry

  • synchronization problem, and how to remove several photos

    I just got my rocket. Nice toy. When I synced everything first it to my computer it put all my photos, videos and music on it, that I don't want. Can't see how to control this in the manual. Also now I have a ton of stuff on my camera, I want off the coast. How can I achieve this quickly. So I need to know how to synchronize only the files that I want on the device and get rid of those I want offshore (without deleting them one at a time).  Thanks for any help.

    Tapeworm wrote:

    without the "rocket" connected, go to the settings/options of WMP and change it from him is the default setting for auto-sync top of page manual synchronization. Therefore, you will have to decide what is synchronized and is not.

    To remove the other files, open Explorer or my computer and delete them from there.

    One at a time, you must do it manually on the device itself.  Either open the file (song, photo, etc.), press the key to scroll to options and click on delete.

  • How to remove several networks in the Smart WiFi Linksys

    I hope this is the right place to ask this question, if not please me foregive. I recently replaced my router with a WRT1900AC and after installation, I use my account for smart wifi Linksys to the Manager of this router that I used with my old Linksys router. However, when I noticed two other networks listed as to connect to networks of connection. They do not connect what either and I think that they are of my old router (I used the same network name). How do I remove these? They do not seem to be causing the problems, but are confused. Thanks in advance for any help!

    Ken

    Hello! Articles on the following link will help you remove the existing networks on your computers, portable devices or game consoles: http://www.linksys.com/us/search?text=remove%20networks&type=support_faqs

  • How to remove several files/folders at the same time (single, right?) HA!

    In the old days, you used to be able to highlight the files or folders you want to get rid of using the control key or left click or drag. I can't do it now! How the hell can I remove a bunch of stuff in a folder without having to click on each one separately and delete? I wish I had a more difficult question for you... lol.

    The game, July 1, 2010 00:27:39 + 0000, Bethy4444 wrote:

    In the old days, you used to be able to highlight the files or folders you want to get rid of using the control key or left click or drag. I can't do it now! How the hell can I remove a bunch of stuff in a folder without having to click on each one separately and delete? I wish I had a more difficult question for you... lol.

    Click on one, hold the CTRL key and click the last
    one. Which selects all of the files from one to the other. Then press
    Remove.

    Ken Blake

Maybe you are looking for

  • Something wrong with the phone in my IPhone

    Hello, I have an iPhone 6 s and when I am in a call with someone, I hear nothing (I disable the Bluetouth to ensure that nothing is to connect), but if I turn on the speaker or connect headphones with plug or the Bluetouth I can hear the call. Thanks

  • 3D does not work in Satellite P870

    There is no 3D playback of bluray 3D on my Satellite P870. All searches get comments repeating that Toshiba claims he plays 3D but they are not seeking it. My old Toshiba played 3D for a bluray attached on the same screen and it was bought before the

  • Why AI Scan.vi continuous is originally LabView 6.0 run at such a slow pace?

    I'm working on a system of application of load of 6 degrees of freedom.  He is forced in a force under controlled in closed loop feedback system operated pneumatic cylinders with servo-controlled. The machine is instrumented with displacement (LVDT a

  • H Joshua_H61-Μatx Motherboard

    Need picture of H-Joshua-H61-Μatx motherboard with location of the 12 volt connector.

  • How can I get synaptic touch pad for windows 8?

    my model is like 6 - 1002tx.running windows 8. I need driver for synaptic touch pad