Difference Between Delete and Truncate

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024

Комментарии • 13

  • @reggaemylitis1968
    @reggaemylitis1968 8 лет назад +1

    Thanks very much. You make it so simple. Appreciated.

    • @RamGuptaoracle
      @RamGuptaoracle  8 лет назад

      Thank you so much for you feedback +Reggaemylitis , Please stay tune with the channel by Subscribe. Keep giving feedback :)
      For subscribe
      ruclips.net/user/ramguptaoracle

  • @santoshkundahre855
    @santoshkundahre855 8 лет назад +1

    Very nice and Good Explanation,
    Please clear me my Daught....
    I Am using SQL Server 2014 Management Studio
    If we use following Sequence of statement then what will be the result
    Begin transaction
    Delete from Table_Name;
    Rollback;
    In Delete and Truncate, Deleted and Truncate data can be rollback.

    • @RamGuptaoracle
      @RamGuptaoracle  8 лет назад

      Thank you so much for your feedback Santosh+ , and sorry to say as I don't have experience on SQL Server database on any version. I am not into position reply answer of this question.

  • @siddhartharao8490
    @siddhartharao8490 8 лет назад +1

    Good Video and Nice Explanation..

  • @a2zentertainmemt
    @a2zentertainmemt 7 лет назад +1

    Hey nice explanation .... :)

  • @SaurabhSingh-dd9yk
    @SaurabhSingh-dd9yk 7 лет назад +1

    one small correction, with truncate table clause is used not from as it's a ddl command.

  • @lmca2010
    @lmca2010 8 лет назад +2

    good videos :)
    ps consider referring that if a table is "pointed" by a child enabled FK , TRUNCATE is not allowed (even if there're no child records there) .

    • @RamGuptaoracle
      @RamGuptaoracle  8 лет назад

      +lmca2010 Thanks for your feedback Imca :)

  • @abhi13456
    @abhi13456 7 лет назад

    We can have triggers on truncate as well? You mentioned triggers will not fire on truncate.

  • @jagadishm1472
    @jagadishm1472 7 лет назад +1

    fine

  • @sapphodawson8420
    @sapphodawson8420 7 лет назад

    TRUNCATE can be rollback :)