Difference between truncate and delete commands

Hi friends please can you me the differeces between truncate and delete commads of details...

Thank you

TRUNCATE - DDL, will automatically commit changes. So not reversible. TRUNCATE resets the HWM.
Delete - DML, commit not automatically changes. If can use ROLLBACK to revert back the changes. DELETE do not reset the HWM.

Read the document for more details.

Tags: Database

Similar Questions

  • Difference between Truncate and Deete.

    Hi all

    Can pls tell me.
    What is the main difference between Truncate and Delete.

    Thanks in advance,
    Sanjeev.

    user13483989 wrote:
    Hi all

    Can pls tell me.
    What is the main difference between Truncate and Delete.

    DELETE can be restored & TRUNCATE is impossible.
    TRUNCATED Reset sets the high water mark to zero.

  • Difference between 'Reload' and "Reload (Override Cache)"?

    Https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly#w_navigation, what is the difference between 'Reload' and "Reload (Override Cache)"? What makes "ignore cache"?

    Reloading Web pages and cache bypass aims to obtain a new copy of perhaps obsolete or damaged files currently stored in the disk cache.
    You can do it like the first attempt if a normal charging does not seem to provide a version of a Web site or if you are having problems with a Web site otherwise.

    We usually have advice that if you have questions:

    Reload Web pages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)

    Clear the cache and delete cookies only from Web sites that cause problems.
    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if an extension or theme (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problems.

  • How to tell the difference between recommended, and optional updates long after they have installed bene?

    I have a Vistaprogram of the window running on my Toshiba laptop.

    In the past, I've confirmed that optional udates be installed. Please help: now I want to uninstall optional updates because my computer is slow.  How to tell the difference between recommended, and optional updates long after they have installed bene?

    Hey monkey 44,

    I suggest you view the history in Windows Update:

    http://Windows.Microsoft.com/en-us/Windows-Vista/see-which-Windows-updates-are-installed

    Those listed as recommended is technically optional.

    Before you delete updates the computer, I suggest you try the steps from the following link to improve performance and check if that helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/ways-to-improve-your-computers-performance

    I hope this helps.

  • What is the difference between Fdisk and Chkdsk programs?

    Hello:

    I don't think I have a common question of OS knowledge and I worked a lot with both, however for years so I forgot everything I used to know.  I was talking to someone Executibles MS-DOS command line and this person I know told me in email and I did not at the moment, but he said the following:

    "Fdisk and chkdsk are pretty much the same.

    Being an old Microsoft OS Engineer I knew it was wrong, however I've been retired since almost 20 years and I have not worked with either for a while.  I looked in the KB for articles explaining the difference between fdisk and chkdsk or define at least the two against each other, but there is no specific article I could find.  I remember the days when the scariest user had a problem, but they ran all third party software on their computer and have installed BETA version software etc so I'm sure you know the drill and this type of person.

    The person who said this about fdisk and chkdsk is one of those people.  It is a really nice guy, but a nightmare to Microsoft when you talk to a convenience store to the BONE for assistance.  Is there someone out there who could you, please, help me and summarize an irrefutable definition or description indicating the differences between fdisk and chkdisk?  I don't remember the basic functions both I widely used both, but too many years have passed and I don't want to sound like a fool trying to write about the differences.

    I'd appreciate any help I want to educate my friend and the intention is to not make this person feel like a stupid either.

    Thank you, and I expect your response.

    Eric

    The two are completely different, one is a format utility the other is a utility disk check

    http://support.Microsoft.com/kb/255867/en-us

    Fdisk was used in earlier versions of victory

    http://Windows.Microsoft.com/en-GB/Windows/Fdisk-FAQ#1TC=Windows-7

  • difference between VR and Veeam

    Hi all

    Hello

    What is the difference between vr and veeam for synchronization? Just for machine replica and sync?

    When you retrieve the VM will retrieve the most recent replica (no GAP) and 24 stands will appear as snapshots in the Snapshot Manager.

    Then you would choose the snapshot you want to come back, select it and 'come back' and delete any copies remaining.

  • What is the difference between 'place' and 'add files to download' in Muse CC?

    Hey guys... What is the difference between 'place' and 'add files to download' in Muse CC?

    Thanx

    You place the images to display on your site.

    You add files to download and make them available for download by visitors to your site.

    For example, you can add a PDF document, a Word document or whatever you want. These files are not displayable on your site, but you can link with the Hyperlink command to a button to make them available for download by visitors to your site.

  • What is the difference between photoshop and photoshop cc cc 2014?

    What is the difference between photoshop and photoshop cc cc 2014?

    The best guess around here is that there are several things that have been deprecated (deleted in the new version) and Adobe didn't want to suddenly be without them.

    For example, thing the filter oil painting has been abandoned, and former extension of Flash-based panels does not.

    -Christmas

  • PE2 - what is the difference between 'cut' and 'clear' in the current project?

    When removing items from the active project area, what is the difference between 'cut' and 'clear '?

    I think as 'delete' is an option sometimes, but I could not reproduce it.

    Cup should delete, but don't Clip in the Clipboard transfer, where just claire will remove completely - no transfer to the Clipboard.

    That can be tested by making a cut, then move the CTI (indicator of the current timeline) at the end of the timeline and press Ctrl + V (paste). This deleted item should appear after the ICT.

    Then, delete (or select a different Clip) the Clipboard and try Clear. It should not paste the Clip in the timeline.

    Good luck

    Hunt

  • difference between spfile and pfile

    Hi all

    Explain the difference between spfile and pfile.

    Thank you
    REDA

    Hi reda;

    Mainly

    1 oracle recommended to use the SPfile instead of pfile
    2 Spfile brings flexsibility which means that you can change many settings dynamic
    3. If you have pfile and spfile wijt sound startup command directly first check instead of pfile-spfile

    For more details, see:

    PFile vs. SPfile [249664.1 ID]
    http://www.orafaq.com/node/5

    Respect of
    HELIOS

  • Difference between Nohup and &

    Hello

    Please help me understand the difference between nohup and & UNIX... I will be really grateful if you owe me explaun in detail...

    Thank you
    Martine

    "nohup" is to allow a process run disconnected. Thus, the process can run even if your disconnection.

    '&' is to allow a process running in the background. This allows you to run another command/program of the same shell you have invoked the first process of.

    If you use '&' alone, when you log out, the process that you started in the background would also stop because it is not disconnected from your shell, it is still a "child" of your shell process.

    So, if you want to start a program and also make it continue running even when your disconnect / close your shell, you would use the 'nohup' and the '&' as

    nohup run_my_program &
    

    NOTE that the behavior of the "nohup" varies from shells - sh, ksh, bsh, csh then you must read the documentation on the special shell you use and/or test the behavior of nohup first on your particular connection.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • is there a difference between 38 and 42mm with their pixel density?

    is there a difference between 38 and 42mm with their pixel density? the 38mm and 42mm watches have same interns?

    You can see the technical details of the Apple Watch here. Apple - Support - technical specifications

  • What is the difference between extensions and Plugins and Add-ons?

    I'm sorry if here is not the right place for this post.

    What is the difference between extensions and Plugins and Add-ons? Apparantely, they differ in some sense or aspect, but I do not know how. Please, if it is not too complicated, explain in detail and simple language. Thanks in advance to 1 million.

    Kind regards
    Danesh

    Hi Danesh,

    You should take a look at this article for an explanation. Plugins and extensions are essentially types of Add-ons as well as of the characters and themes.

    Hope this helps!

  • What is the difference between Firefox and Namoroka 64-bit? I have a 64-bit computer. Which should I use?

    What is the difference between Firefox and Namoroka 64-bit?
    I have a 64-bit computer. Which should I use?

    The officially supported only is Firefox - which is your best choice, unless you want to test the new features...

    http://www.Mozilla.org/en-us/Firefox/new/

  • What is the difference between dawn and the beta?

    What is the difference between dawn and the beta?

    Beta is the next version of Firefox that is due to be released in 5 weeks, and Aurora is the one after that--like an Alpha version of development.

Maybe you are looking for