Will DELETE table_name works or not in oracle 9i

i hve encountered a question while preparing for oracle 9i 1ZO-007 exam
which is something like this
DELETE employes;
answer given are:
-error due to uncorrect format
-rows will be deleted,but the structure remains intact

Gajju wrote:
this statement will work as truncate command.
your data in table will be deleted but the table is still exist.
if u give now rolll back, than ur data can't be restore. Table will empty.Nonsense, it's a regular delete which can be rolled back.
sql> create table test (id number);
Table created.
sql> insert into test values (1);
1 row created.
sql> insert into test values (2);
1 row created.
sql> commit;
Commit complete.
sql> select * from test;
        ID
         1
         2
sql> delete test;
2 rows deleted.
sql> select * from test;
no rows selected
sql> rollback;
Rollback complete.
sql> select * from test;
        ID
         1
         2

Similar Messages

  • HT4527 My old itunes has already been deleted, so all of my music is still on my ipod, but it won't let me transfer it to my new itunes because it says it will delete it all, what do I do?

    My old itunes has already been deleted, so all of my music is still on my ipod, but it won't let me transfer it to my new itunes because it says it will delete it all, what do I do?
    I can't sync my ipod because then it will delete everything

    The ipod is not a backup/storage device.  the sync is one way - computer to ipod.  The exception is itunes purchases: File>Transfer Purchases
    It has always been very basic to always maintain a backup copy of your computer.  Use your backup copy to put everything back.

  • Truncate table will delete the corresponding LOB segment of table or not ?

    Hi All,
    I have few table with LOB segments, if i fire the truncate table on those table will it purge the LOB segment as well ?
    Approximately how much time will take to truncate 100gb LOB segments.
    Thanks

    903787 wrote:
    Hi ,
    1.Truncate will delete the LOB segment or not ?It won't delete the LOB segments but it should release most of the allocated space.
    >
    2.To reclaim space we need to run the below command, is it correct ?
    ALTER TABLE <table_name> MODIFY LOB (LOB_COLUMN) (SHRINK SPACE);
    Should not be needed in 11.2:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL> select count(*) from user_segments;
      COUNT(*)
             0
    SQL>
    SQL> create table t(x clob);
    Table created.
    SQL> select segment_name, segment_type, bytes
      2  from user_segments;
    SEGMENT_NAME                             SEGMENT_TYPE            BYTES
    T                                        TABLE                   65536
    SYS_IL0000030908C00001$$                 LOBINDEX                65536
    SYS_LOB0000030908C00001$$                LOBSEGMENT              65536
    SQL>
    SQL> insert into t select lpad(segment_name,8192) from dba_segments;
    6312 rows created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> select segment_name, segment_type, bytes
      2  from user_segments;
    SEGMENT_NAME                             SEGMENT_TYPE            BYTES
    T                                        TABLE                  393216
    SYS_IL0000030908C00001$$                 LOBINDEX                65536
    SYS_LOB0000030908C00001$$                LOBSEGMENT           53477376
    SQL>
    SQL> truncate table t;
    Table truncated.
    SQL>
    SQL> select segment_name, segment_type, bytes
      2  from user_segments;
    SEGMENT_NAME                             SEGMENT_TYPE            BYTES
    T                                        TABLE                   65536
    SYS_IL0000030908C00001$$                 LOBINDEX                65536
    SYS_LOB0000030908C00001$$                LOBSEGMENT              65536
    SQL>
    SQL> alter table t modify lob(x) (shrink space);
    Table altered.
    SQL>
    SQL> select segment_name, segment_type, bytes
      2  from user_segments;
    SEGMENT_NAME                             SEGMENT_TYPE            BYTES
    T                                        TABLE                   65536
    SYS_IL0000030908C00001$$                 LOBINDEX                65536
    SYS_LOB0000030908C00001$$                LOBSEGMENT              65536
    SQL>

  • Work Item Not getting Deleted

    Hi
    We have a starge issue.
    We use the table SWWUSERWI to see all the work items in the user's inbox.
    If we delete the work item in this table it will remove the same from user's inbox.
    We have a problem now. Even after we deleted all the work items the SRM "Approval" link and the "Inbox" still contains Workitems( more than 200 ).
    Is there anyother table or tCode to find the work items in user's inbox'
    Thanks
    Siva.

    HI experts!!
    The issue is solved!!!
    The another user who is not with the company currenlty had maintained the user who had problem as substitue!!!.. we had to remove the substitute to solve the problem.
    Thanks
    Siva.

  • Have 1 POP3 email account I want to work like IMAP email in icloud. Apple suggested created a new Apple ID just for POP3. Has anyone tried this to see if it works and will delete across multiple devises?

    Have 1 POP3 email account I want to work like IMAP email in icloud (keeps my iMac, iPhone, ipad mail in sync). Apple suggested trying creating a new Apple ID just for that POP3 email. Has anyone tried this to see if it works and will delete/update across multiple devises? Would mean keeping up with two Apple ID accounts but only other alternative I know of is paying for monthly service for Microsoft 365.

    would I be able to "upload" (not sure how else to say it) my existing folders and subfolders containing all my emails so that they are all available on my new IMAP service, while still being available on my Mac?
    Not easily, no. There's no direct transfer option between POP and IMAP, especially across email providers. The best you could do would be to forward all of your emails to your new address, although it's not clear that you need to - dropping your sbcglobal.net account doesn't instantly render all your existing mail void - it'll still be in your Mail client, you can still read it, search it, etc., it just won't be on your provider's server.
    I have toyed with the idea of getting a MobileMe account. Would that solve my issue/question above?
    MobileMe would be viable, especially if you're interested in synching your various iOS devices. It's not free, of course, unlike Yahoo and Gmail, although you've already discounted them...
    I have also toyed with purchasing my own URL, but it's hard to tell from the sites (1and1, Namecheap, etc.) if they come with IMAP email accounts included.
    Some registrars offer email hosting bundles with a domain registration. This could be a good way to go. GoDaddy, for example, have a email hosting option for domains you register with them.

  • TS4436 Iphone 4 camera worked fine for 2 years then turned all flash photos red after installed Fast Torchlight App - deletion of app did not fix camera problem - please help?

    Iphone 4 camera worked fine for 2 years then all photos with flash came out as red after installed Fast Torchlight App - deletion of app did not fix camera problem - please help?

    Try This...
    Close All Open Apps...  Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    If no joy...
    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414

  • TS3276 My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    Sorry for the delay...
    I did what you've told me, new account and manually copied my files from Time Machine. I had lots of permissions problems, but at the end, almost everything is in order... It seems it had to be with some of the Apple Preferences, but I can't be sure, as most of them were dumped to the trash can.
    I still don't have my Mail Rules back, unfortunately, although I did goggled some. It is a pity, as I had around 30 or 40 of them, getting my mail in order to each of its mailboxes, but it is a small price as the rest doesn't show the before syntoms.
    Thanks for the help, anyway!!

  • Is there any way to insert a pop up calender and tick boxes into pages on the ipad? And if not if I do it on a mac will the document work on pages on the ipad?

    Is there any way to insert a pop up calender and tick boxes into pages on the ipad? And if not if I do it on a mac will the document work on pages on the ipad? I'm trying to set up a document with quick check boxes to tick and a date to choose rather than type? I know it possible to do it on pages on a mac but i haven't been able to find anything on the ipad to create such a thing, and I don't know if it will work on the ipad if I create it on the mac

    RGA,
    Unfortunately, I do not believe that it is possible for a DAQ board to generate an AI Start Trigger from an analog trigger, but not be triggered itself until it receives a digital trigger.
    Spencer S.

  • Whats the latest on PreEl8 and windows 7 64 bit? will it work or not?

    i am still using PeEl3 on my win Xp machine but would love to use my win7 64 bit for video editing. will PeEl 8 work on a win 7 64 bit machine. all i see in the forums are nothing but crashes and problems. are any of these issues fixed or not? i hear that the Sony Vegas Studio works well on win7 64 bit but i don't really want to learn an new program if i don't have to. i love PreEl3 but it is getting old and slow on the win XP machine. I have an i5 quad core processor and 4gigs of RAM and a nVidia GeForce 7600GT display driver. i have seen that there were issues with nVidia dispaly cards. is that issue resolved do you know? i could get a different display card if needed if that would make this work.
    i did a search but didn't see anything current on this issue.
    thanks...

    Personally, I wouldn't recommend Premiere Elements 8 on Windows 7 64-bit at this time.
    The situation is getting better, as drivers are getting updated by third-party hardware providers. But it's still not a terribly happy marriage.

  • Help iPhone 4 "Power Button doesn't work", how can I get repair it and how much will cost, want to keep same phone everything works fine not power button. :(

    My iPhone 4 power button doesn't work, how can I get repair it and how much will cost, want to keep same phone everything works fine not power button not working unable used my phone. My warranty is Expired how much will cost to put it on my phone plan? Thanks!

    Hi Julio,
    Here's a link for your question:
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne
    Cheers,
    GB

  • ICloud keeps asking for password but will not take it. All other devices work but not my IMac???

    ICloud keeps asking for password but will not take it. All other devices work but not my IMac???

    Exactly which password are you inputting? iCloud looks for your AppleID password.

  • Yahoo mail tool bar (delete,more,spam,etc) not working in firefox.Works in Explorer.Web points to Mozilla update."Plug-ins" up to date. Solutions?

    Yahoo mail tool bar (delete,more,spam,etc) not working in firefox.Works in Explorer.Web search points to Mozilla update problem."Plug-ins" up to date. Solutions?
    I've used firefox for years now with out problems. Now that help is needed, Could you make this any more frustrating? I thought I was asking Mozilla help and I'm sent to "users". I went there 1st! there are similar questions but no answers. I've lost time and data. Is there any REAL PEOPLE to help with firefox problems?

    I'm a real person, thanks.
    If you mean, does Mozilla have paid staff you could phone or email, the answer is "No."
    Is the problem with a feature of the Yahoo! mail web page itself, or the Yahoo! toolbar?
    General advice:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * (menu bar) Tools > Page Info > Security > "View Cookies"
    * click the padlock or globe icon in the address bar > More Information > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?
    Could you test in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    ''If Firefox is not running:'' Hold down the Shift key when starting Firefox.
    ''If Firefox is running:'' You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    and OK the restart.
    ''Both scenarios:'' A small dialog should appear. Click "Start in Safe Mode" (''not'' Refresh).
    Any difference in how Yahoo! works?

  • JMaskField mask input : delete and backspace do not work

    I am using this package for formatted input.
    Delete and backspace do not work if the field is created with a default text as in the code snippet I attach. Did somebody managed this to work? How? delete and backspace work badly in everycase anyway.
    best regards
    -Mangi
    MaskMacros macros = new MaskMacros();
    macros.addMacro('*',"[a-zA-Z0-9]");
    macros.addMacro('#', "[0-9]");
    macros.addMacro('@', "[a-zA-Z]");
    macros.addMacro('%',"[A-Z]");
    macros.addMacro('*',"[a-zA-Z0-9]");
    MaskField2 k = new MaskField2("CODE******",macros);

    Nope, I don't think those keys are even "firing" as another person worded it. I can push the buttons down, so they aren't stuck but it doesn't seem to be sending any signal.

  • Wifi is not available where I come from. I have broadband connection where data transmission is through cell sites then to USB modem connected to a computer. The modem draws power from the computer. Will this setup work with the ipad?

    Wifi is not available where I come from. I have broadband connection where data transmission is through cell sites then to USB modem connected to a computer. The modem draws power from the computer. Will this setup work with the ipad?

    iPad requires Wifi (or 3G /LTE) to connect to the Internet. You cannot connect a USB modem to the iPad.
    You can create your own WiFi hotspot through your computer for your iPad to connect to, if your computer supports this functionality. All Wifi Macs and many Wifi PCs do. Check your computer manual for how to do it.

  • HT4061 i left my ipad 3 as i will go to work when i came back from work and able to used my ipad power is not working and the ipad is warm i didnt left the ipad charging.... so i tried to again and outting it on its not working now. pls do the needful

    I bought new ipad3 last week yesterday I left it on bed as I will go to work. When I came back and able to used it power is not working and feel the ipad get warm and feel let it cool down and try it again its not working at all. Kindly pls do the needful.  thanks a lot

    I bought new ipad3 last week yesterday I left it on bed as I will go to work. When I came back and able to used it power is not working and feel the ipad get warm and feel let it cool down and try it again its not working at all. Kindly pls do the needful.  thanks a lot

Maybe you are looking for