Results 1 to 7 of 7
  1. #1
    poicon is offline Sophomore
    Join Date
    Jul 2011
    Location
    Hamburg
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default deleate truncate and drop

    Hi All
    can u share with me deleate truncate and drop funda?

  2. #2
    web
    web is offline Freshman
    Join Date
    Dec 2011
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    delete * from table_name
    drop table_name

  3. #3
    web
    web is offline Freshman
    Join Date
    Dec 2011
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    drop table table_name

  4. #4
    sonu sing is offline Junior
    Join Date
    Dec 2010
    Location
    India
    Posts
    384
    Thanks
    2
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    The DELETE command is used to remove rows from a table. A WHERE clause can be used to only remove some rows. If no WHERE condition is specified, all rows will be removed.
    TRUNCATE removes all rows from a table. The operation cannot be rolled back and no triggers will be fired. As such, TRUCATE is faster and doesn't use as much undo space as a DELETE.

    TRUNCATE is much faster than DELETE.
    Tanisha Systems Inc Search Engine Optimization Tutorial Read More: SEO Tutorial | Tanisha Systems | Tanisha Systems Review Looking life partner: matrimony sites

  5. #5
    jassmee is offline Sophomore
    Join Date
    Mar 2012
    Posts
    144
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    Delet Command is used to remove only record and when ever you add the record then next id is start previous next one.but truncate remove all record and autoincrement start 1 ....Drop Commend is used to drop the all strucate of table....

  6. #6
    RituVerma's Avatar
    RituVerma is offline Banned
    Join Date
    Aug 2012
    Location
    Benglore,India
    Posts
    87
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

  7. #7
    johnsonsteve040 is offline Freshman
    Join Date
    Apr 2013
    Location
    canada
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Feedback Score
    0

    Default

    Thanks guys for the post and it has helped me a lot to understand about the terms and how i can use it in SQL.

Similar Threads

  1. Truncate MS SQL 2008 Database Log File
    By manik in forum Databases
    Replies: 5
    Last Post: 05-22-2013, 04:39 AM
  2. Drop-Down Menus
    By 99ermikeb in forum Computer and Tech
    Replies: 0
    Last Post: 09-07-2011, 05:29 PM
  3. What is the reason for Drop down in my Backlink?
    By techzarinfo in forum Search Engine Optimization
    Replies: 11
    Last Post: 03-29-2011, 02:17 AM
  4. FAQ Drop Down script
    By JavaScriptBank in forum JavaScript & AJAX
    Replies: 0
    Last Post: 04-15-2010, 11:35 AM
  5. Sudden drop in PR
    By Rajshree in forum Google
    Replies: 9
    Last Post: 04-12-2010, 06:53 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Partners: BOSTON WEB DEVELOPER, LLC   |   WEBCOSMO CLASSIFIEDS