Oracle Difference between Delete and Truncate | Oracle Delete vs Truncate

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • oracle interview questions and answers - What is the Difference between Delete and Truncate
    Complete list of questions and answers available at
    easy-learning-...
    1. Difference between delete and Truncate

ความคิดเห็น • 240

  • @raju26067
    @raju26067 6 ปีที่แล้ว +19

    One of the best lectures that i have seen in youtube for Database developers....
    Thank you very much.....

    • @SivaAcademy
      @SivaAcademy  6 ปีที่แล้ว

      Thanks for your comments Raju :-)

    • @naimuddinsiddiqui9249
      @naimuddinsiddiqui9249 ปีที่แล้ว

      Hi developers, I am preparing for SQL Interviews Is it worthy to follow this playlist I am bit confuse because there is many Oracles playlist in this channel like 12C, 18C I am a nob person in this SQL or Oracle. Any guidance or suggestion would be Highly appreciable
      Thanks !

  • @C.K.Arun.
    @C.K.Arun. ปีที่แล้ว +3

    Hello Friends and Siva Sir, i am Preparing for Oracle Certification. For the past weeks I watched your video series on various topics in Oracle. It is very Helpful and Useful. Now your videos had helped me to get placed in a good MNC company also. I am keep on following your videos. Now I feel confident and motivated in my day to day tasks in office and continuing my Certification as well. Daily I wondered how much of your Time you spend Patiently to create this video. Awesome ! I really appreciate your hard work and Dedication towards yours to achieve this is not a simple Task. From the Bottom of my heart i am saying this "The way you explain a Topic is "Out of This World". God Bless You Siva Sir. Keep Rocking Always. Also Please Help us as usual by Posting New Video as per the Comments. Thanks this is your finishing dialogue at the end of all your videos which is this . ( And Thanks a Lot for reading this comment. Subscribe and Stay Tuned for more comments for me. )

    • @SivaAcademy
      @SivaAcademy  10 หลายเดือนก่อน

      Its my pleasure bro, thank you

  • @amanpandey4907
    @amanpandey4907 3 ปีที่แล้ว +25

    Sir, you should write a book, really helps to get all this on book, if there is any pdf available pls suggest ways to get it.

  • @adityagopavajjula3563
    @adityagopavajjula3563 4 ปีที่แล้ว +8

    Thank you Siva sir for explaining the differences in detail. I haven't heard about the concept of High Water Mark till now. Also, your way of classifying the answer based on the experience level of the candidate is very helpful.

  • @rajeevramakrishnan4624
    @rajeevramakrishnan4624 2 ปีที่แล้ว +3

    Thank you Siva for your effort in creating these superb videos. I watched all your 79 videos and attended interview today. Most of the questions from here only. In the intermediate level. Very helpful. I got to know about this from my friend. He also got a job offer two months back.

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว +1

      Welcome bro, Best wishes 👍👍💐

  • @mohankrishnavurity4849
    @mohankrishnavurity4849 3 ปีที่แล้ว +4

    This tutorial has helped me a lot in getting a good job offer. Very useful tutorial for those who are preparing for PLSQL interviews. Each and every concept is beautifully explained.

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      Best wishes 💐💐👍👍

    • @phaneendrareddy4009
      @phaneendrareddy4009 2 ปีที่แล้ว

      @@SivaAcademy I need Oracle plsql developer course. Could you please provide course.

  • @mohammedfarhanm6708
    @mohammedfarhanm6708 10 หลายเดือนก่อน

    Hi Siva, Literally you have explained it in a way that even a person who is not interested will get interested in Oracle PL/SQL.

    • @SivaAcademy
      @SivaAcademy  10 หลายเดือนก่อน +1

      Thank you bro

  • @elanchezhiyanst
    @elanchezhiyanst 3 ปีที่แล้ว +1

    I have cleared all my technical interviews and got offer after watching all your videos... Credit goes to you @sivaacademy .. Thank you very much for the video.

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว +1

      Thank you, and wishing you all the best :-)

    • @elanchezhiyanst
      @elanchezhiyanst 3 ปีที่แล้ว +1

      @@SivaAcademy thank you very much sir

  • @ravindrapatil1654
    @ravindrapatil1654 3 ปีที่แล้ว +5

    Hi Siva, All your videos are very nice and neatly explained. Thanks for sharing such a useful information for interview preparation.
    My request for you, can you please upload the videos on table partitioning and performance tuning. In most of the interviews the questions are asked based on these concepts.

  • @TienNguyen-fr7we
    @TienNguyen-fr7we 2 ปีที่แล้ว

    Dear Mr. Siva, just wanted to say that your YT channel is one of the best Oracle channel I have seen so far. Thank you so much for sharing with the Oracle community. BR

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว +1

      Its my pleasure, thank you so much bro

  • @sreenivasaraobovanagiri1221
    @sreenivasaraobovanagiri1221 4 ปีที่แล้ว +2

    SQL/PLSQL Videos are very useful and one of the best videos that i have seen.Well narrative videos. Thanks you so much. I request you keep posting more videos.

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Welcome bro 🙏, please stay tuned for more videos

  • @ShahulHameed-zx2zy
    @ShahulHameed-zx2zy ปีที่แล้ว +1

    Happy to understand your valuable videos to get more database concepts , advanced in Oracle. Thanks so much sir

  • @juliegeorge6227
    @juliegeorge6227 หลายเดือนก่อน

    Thank you very much! Your videos helped me to learn lots of concepts in a short time and helped me to clear interviews. Please keep up the good work.

    • @SivaAcademy
      @SivaAcademy  หลายเดือนก่อน

      Thank you 🙏

  • @ganeshgalla1088
    @ganeshgalla1088 3 ปีที่แล้ว +1

    Hi Siva,
    DDL trigger will fire for truncate right ? can we say that point ?

  • @prajaktadeshpande8780
    @prajaktadeshpande8780 2 ปีที่แล้ว

    This video's really helped me alot to get clear my technical rounds, I cleared technical rounds of all three companies where I have applied thanks alot sir🙏

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว

      Wow great, Best wishes

  • @logeshg4837
    @logeshg4837 3 ปีที่แล้ว

    Hello siva, You are doing an excellent job for youngsters. keep inspiring us!..
    Here i have one que? As you have mention above "no triggers will get invoked" in truncate field right!
    Using DDL trigger we can attain it right?
    CREATE or REPLACE TRIGGER
    AFTER DDL ON SCHEMA
    ENABLE
    BEGIN
    DBMS_OUTPUT.PUT_LINE('TABLE TRUNCATED');
    END;
    /
    TRUNCATE TABLE ;
    Just i have shared my understanding here please advise me on this!
    Thank You!

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว +1

      Welcome bro, its covered under this video bro, thanks for your comments 💐💐🙏
      th-cam.com/video/THeY59Xw2RI/w-d-xo.html

    • @logeshg4837
      @logeshg4837 3 ปีที่แล้ว

      @@SivaAcademy Thanks for your time bro❤

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      My pleasure bro 😊💐🙏

  • @priyanshupathak5606
    @priyanshupathak5606 4 ปีที่แล้ว

    Hi Siva , I'm developer at Oracle and really love coding in PL/SQL. In one of the interviews I was asked to transpose rows to column without using PIVOT concept.
    Question was
    transpose below
    a 10 40
    b 20 50
    c 23 null
    into--->
    a b c
    10 20 23
    40 50 null
    I tried my best searching online using decode or case statement , but no success .
    Please provide solution for this , it will help many like me.
    Big fat thumbs up for the effort you are putting in making us achieve our dreams.

  • @vivektarab16
    @vivektarab16 2 หลายเดือนก่อน

    Start - 0:34 -
    - 0:30 - Difference b/w Delete and Truncate
    - Delete is a DML command, white Truncate is a DDL command
    - For Delete we need to Explicitly do a Commit, otherwise the information will not be committed, so that we can Rollback, If we don't want the change to be committed we can have the option of Rollback in terms of Delete
    - In Truncate we do not have option to Rollback or Delete because it is an Auto commit Statement and once the statement is issued all the rows will be removed and automatically getting committed.
    1:11 - With Delete we can use the Where condition, however with Truncate we cannot use Where condition. All the records of the table will get removed.
    1:21 - Delete is bit Slower, because once a informations are deleted there is a option that we may rollback the informations also. So that Oracle will retain the deleted information in the Rollback Segment.
    So in case if we do a Rollback it will replace the information or it will bring back the information from the Rollback
    So Delete is bit Slower however Truncate is very fast and incase if you want to delete and insert a huge amount of informations, then better you create and new table, take of backup of the record then just do a Truncate, then you just bring the information from your backup table, so by that it will be very faster also.
    2:01 - Difference from Triggers
    2:23 - On Delete Trigger
    3:29 - On Delete Cascade
    4:54 - Demo
    6:10 - One more Example

  • @sunithailapakurthy
    @sunithailapakurthy 2 ปีที่แล้ว

    Thankyou so much for the very informative play lists. Very clear and brief. I could confidently attend an interview today. Please keep going.

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว

      Welcome bro, Best wishes 💐💐👍

  • @vivektarab16
    @vivektarab16 2 หลายเดือนก่อน

    Start - 0:34 -
    - 0:30 - Difference b/w Delete and Truncate
    0:53 - So we can go and Rollback if we do not want the change to be committed
    - Delete is a DML command, white Truncate is a DDL command
    0:59
    - For Delete we need to Explicitly do a Commit, otherwise the information will not be committed, so that we can Rollback, If we don't want the change to be committed we can have the option of Rollback in terms of Delete
    - In Truncate we do not have option to Rollback or Delete because it is an Auto commit Statement and once the statement is issued all the rows will be removed and automatically getting committed.
    1:11 - With Delete we can use the Where condition, however with Truncate we cannot use Where condition. All the records of the table will get removed.
    1:21 - Delete is bit Slower, because once a informations are deleted there is a option that we may rollback the informations also. So that Oracle will retain the deleted information in the Rollback Segment.
    So in case if we do a Rollback it will replace the information or it will bring back the information from the Rollback
    So Delete is bit Slower however Truncate is very fast and incase if you want to delete and insert a huge amount of informations, then better you create and new table, take of backup of the record then just do a Truncate, then you just bring the information from your backup table, so by that it will be very faster also.
    1:32 - Oracle will retain
    1:47 - In Case if you want to Delete and Insert
    2:01 - Difference from Triggers
    2:22 - If there is a On Delete Trigger - Whenever we do a delete Statement this Trigger will get fired
    However Truncate will not fire any Triggers
    Delete will not reclaim the space, once the data from the table is deleted and if you and check the size of the table, there will not be any difference
    However in case of Truncate once the informations are removed from the table, and when you check the size of the Table, it would have got reduced.
    There is concept of High level watermark
    High level watermark will be reset in case of Truncate where as in case of Delete High level water mark will not be resetted,
    3:29 - On Delete Cascade - A new feature has been introduced from 12c onwards where we can give the " On Delete Cascade Keyword " as part of the table definition.
    So when we will give the On Delete cascade keyword as part of Table as part of table emersion - This is mainly for the Parent Child Relationship - Foreign key relationsp, So whenever we go and delete the record from parent table automatically the child records will get deleted in case it is set as " On Delete cascade "
    The same is applicable for Truncate, we can Truncate the parent table and we can explicitly say the keyword called CASCADE, so that the Child tables will get automatically truncated provided the table is created with the On Delete Cascade Keyword
    4:54 - Demo
    6:10 - One more Example

  • @kishorekumar4542
    @kishorekumar4542 2 ปีที่แล้ว +1

    Hi Sir, Can you pls explain about high level water mark, thankyou in advance.

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว

      As soon as possible, Please stay tuned

  • @shariquesayeed4
    @shariquesayeed4 3 ปีที่แล้ว

    thank you so much Siva Ji by your videos I got two big offers, your videos are very crystal clear.

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว +1

      My pleasure, All the best 🌸🌸🍀🍀💐💐

    • @vikaskumar-qr5tj
      @vikaskumar-qr5tj 2 ปีที่แล้ว

      @sharique can you disclose the name of company??

  • @nihalbasha5720
    @nihalbasha5720 3 ปีที่แล้ว +2

    Hi Sir, Thank you so much for this information. Is very easy to understand. I have a concern on 5th point i.e. with triggers. I believe DDL trigger would be helpful to capture the truncate event. So eventually, triggers could get fired on both delete and truncate statements right. Kindly correct me if I'm wrong.
    Keep up the good work 😊🤝.

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว +1

      You are right bro, please look into this video for more details
      th-cam.com/video/THeY59Xw2RI/w-d-xo.html

    • @nihalbasha5720
      @nihalbasha5720 3 ปีที่แล้ว

      @@SivaAcademy Thank you for the quick response 😊 and the provided link video was helpful.

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว +1

      Welcome bro

  • @raginideshpande7015
    @raginideshpande7015 4 ปีที่แล้ว

    In the explanation of trigger being fired on delete - you used "delete from ;" without any where clause. So this delete statement will delete all records present in the table. So will the trigger be fired only once or it will be fired for each record being deleted?

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว +1

      Row level trigger get fired for each and every row, whereas statement level trigger gets fired once for statement execution, you can look into this video for further details
      th-cam.com/video/PEfHuyc79zM/w-d-xo.html

  • @chsurekha4126
    @chsurekha4126 3 ปีที่แล้ว

    Sir i got one question on index like if we create index on column of some data type (anything) but while accessing we are using some other data type, will index work.?
    i tried to simulate the case.. created table of t with column as col number having records 1 to 5000 number
    then created index on col
    then queries the table using select st -- it made full table scan even though idx created
    i have make 3000 records only for number 5 and fetched record 5 -- still index is not used -- it is using full table scan--
    so i m failing to simulate the case
    could you please help me the solution

  • @chsurekha4126
    @chsurekha4126 3 ปีที่แล้ว

    Sir will you teach informatica/Talend also like this, any paid course exists or any youtube channel already there.? Please let me know

  • @VijayKumar-eq2te
    @VijayKumar-eq2te 3 ปีที่แล้ว

    sir which book is better for reading sql and plsql for beginners.

  • @thedataengine
    @thedataengine 3 ปีที่แล้ว

    Will reducing the table space of truncate will help in improving the performance while fetching the data...or how it will be helpful? Could you please explain that as well?

  • @pankajpal9120
    @pankajpal9120 3 ปีที่แล้ว

    how to check water mark level?
    suppose if we do delete purge it will delete
    permanently so the water mark level will reset or not ??

  • @siprabehera4680
    @siprabehera4680 3 ปีที่แล้ว

    Hi Siva sir. Can you please help me in a query.
    For example
    In a table we have data for a column value
    Ram,shyam,Hari
    Next i am updating record as
    Ram,Hari
    Then how we will get to know the record shyam has been deleted.
    Need help

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      is all the comma separated values stored in single column? or each value in one row?
      for eg "Ram,shyam,Hari" stored in single row? or in three different row?

  • @venkatasubbareddyonteru4581
    @venkatasubbareddyonteru4581 5 ปีที่แล้ว

    hii siva sir..what is cataloge ? what is the relation between sql and cataloge

  • @potlarambabu3527
    @potlarambabu3527 5 ปีที่แล้ว +1

    Your giving good explanation.the way of voic also good very important .

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @ram, thanks bro 🙏🙏

  • @venkatkrishbattula728
    @venkatkrishbattula728 3 ปีที่แล้ว

    Hi Siva can you reply me is plsql work on all databases

  • @kamalamthirunavukkarasu8118
    @kamalamthirunavukkarasu8118 2 ปีที่แล้ว

    Thankyou so much Sir👏🏻Very well explained and Keep Doing the Great work Sir😊Easy to understand and helps very much in my learning Sir👍🏻

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว +1

      My pleasure, thank you 🙏💐

  • @sciencemaster4815
    @sciencemaster4815 ปีที่แล้ว

    This was a very good video. I appreciate you making these. It helps a lot.

  • @abhisheknegi8053
    @abhisheknegi8053 3 ปีที่แล้ว

    Hi Siva i have noticed in Plsql collection series the multiset operator video you have uploaded twice video no 9 and video no 10 are same

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว +1

      Thank you for letting me know, removed the last duplicate

  • @fayasmohamed3713
    @fayasmohamed3713 4 ปีที่แล้ว

    Sir I need more clarity on on delete cascade n ondelete ser null.these clauses already exists in previous version foreign key constraint,it seems.

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Sure, its part of upcoming video list, please stay tuned

  • @bharathipandian45
    @bharathipandian45 3 ปีที่แล้ว

    Siva, could not get the difference on delete trigger and truncate. We wrote triggers on delete, hence it is fired, we didn't use on truncate triggers. Hence it didn't. How it could be the difference? Could explain me of undo segment?

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      Covered with example here on this specific use case, please look into this video
      th-cam.com/video/THeY59Xw2RI/w-d-xo.html

  • @ncsekhar9889
    @ncsekhar9889 3 ปีที่แล้ว

    Hi siva, i want to joins in sql video...examples and interview question. pls share that link.

  • @vinayakavini5334
    @vinayakavini5334 3 ปีที่แล้ว

    Very good explanation and useful. Please can you explain high level watermark?

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      Sure please stay tuned

  • @chsurekha4126
    @chsurekha4126 3 ปีที่แล้ว

    Hi Sir,
    All your videos are really helpful, could you please make videos on parititions
    also can you please let us understand the below 2 questions
    1. If index is not working then what should we do?
    2. If inner doesnt work what is the best way to get the output -- i mentioned full outer join removing all nulls.. but interviewer asked any other best way? can you please let us know the ans for these 2 questions

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      Thank you 💐, will cover in upcoming videos

  • @ananyanandila
    @ananyanandila 4 ปีที่แล้ว

    Hi . Can anyone tell me a query to get a function name ... I have the package name .. but I need to know which function uses that package

  • @mandalaraghavendra6236
    @mandalaraghavendra6236 3 ปีที่แล้ว

    Hi sir , very good explanation .. I just have a small doubt .. we can use truncate key word in DDL triggers na .. I have seen it some where is this true ??

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      Yes, please look into this video
      th-cam.com/video/THeY59Xw2RI/w-d-xo.html

  • @prathapreddy9618
    @prathapreddy9618 2 ปีที่แล้ว

    Can you please explain difference between truncate and drop
    I just know that both are DDL commands..
    Thank you

  • @vipul7010
    @vipul7010 4 ปีที่แล้ว +1

    Nice video.... But triggers do get fired for truncate also... You just have to create a DDL trigger.

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Thanks, Yeah, That i covered in this video
      th-cam.com/video/THeY59Xw2RI/w-d-xo.html

  • @krishnapadarthi4377
    @krishnapadarthi4377 4 ปีที่แล้ว

    Hi Siva, It is very good explanation for all concepts you have posted to till date. can you help to post partition table concepts and materialized views concepts as well.

  • @venubj1269
    @venubj1269 3 ปีที่แล้ว

    Hi Siva sir, how to reclaim the space after deleting million records?
    My requirement is I have 15 million records in one table . From that table I need to delete nearly 6 million records. I can do by creating a copy table with the required records and drop the table and rename the copy table to original table but this is risk because it contains constraints, triggers, grants, etc. so I prefer to go for delete. But I want to know is there any option so that post deletion can we reclaim the space?

    • @Coc_hubba_hub
      @Coc_hubba_hub 4 หลายเดือนก่อน

      alter table enable row movement;--> to move the records to make blocks more efficient
      alter table shrink space command; u can try these....no guarantee...know that you posted long back...but if anyone can take help

  • @sudharanirajasekar3409
    @sudharanirajasekar3409 3 หลายเดือนก่อน

    Sir, You did greate job.👍

  • @ramasubramanian2177
    @ramasubramanian2177 2 ปีที่แล้ว

    Really very useful and easy to understand for beginners. Thanks for your effort.

  • @VijayKumar-eq2te
    @VijayKumar-eq2te 3 ปีที่แล้ว

    Sum of sal each department in emp table by programing language. Interview question???

  • @etlqalabs5048
    @etlqalabs5048 2 ปีที่แล้ว

    Nice covered in detailed difference b/w delete and truncate

  • @amolsonawane6665
    @amolsonawane6665 4 ปีที่แล้ว

    It is really good videos and nice explanation with example, it is helpful to all level of person Beginner to expert, keep going on

  • @sujaa1000
    @sujaa1000 4 ปีที่แล้ว

    Hi Siva, could you please make video for
    > partitioning and types of partitioning.
    > Facts and Dimensions
    Regards,
    Sujaa

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Sure, Please stay tuned

  • @naimuddinsiddiqui9249
    @naimuddinsiddiqui9249 ปีที่แล้ว

    Hi developers, I am preparing for SQL Interviews Is it worthy to follow this playlist I am bit confuse because there is many Oracles playlist in this channel like 12C, 18C I am a nob person in this SQL or Oracle. Any guidance or suggestion would be Highly appreciable
    Thanks !

    • @SivaAcademy
      @SivaAcademy  ปีที่แล้ว +1

      You can pick any video in interview questions list, however go through in the same order

  • @Lidagholizadeh369
    @Lidagholizadeh369 ปีที่แล้ว

    Thank you so much for your videos and good explanations

    • @SivaAcademy
      @SivaAcademy  ปีที่แล้ว

      Welcome 🙏🙏💐💐

  • @RohitSharma-cw7lk
    @RohitSharma-cw7lk 3 ปีที่แล้ว

    Hi Sir, can you plz add videos related to all DBMS packages like DBMS_OUTPUT, DBMS_ERRLOG, etc... If already added plz share the link. And thanks a lot sir for these superb videos.

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      Welcome bro, sure please stay tuned

    • @RohitSharma-cw7lk
      @RohitSharma-cw7lk 3 ปีที่แล้ว

      @@SivaAcademy Hi Sir, still waiting for the videos on DBMS package.

  • @priyankasarkar6600
    @priyankasarkar6600 3 ปีที่แล้ว +1

    Awesome sir! You deserve accolades!

  • @martinsuresh5048
    @martinsuresh5048 6 ปีที่แล้ว +1

    very helpful information hatsoff sir

  • @sumanpatibandla1559
    @sumanpatibandla1559 3 ปีที่แล้ว

    Hi Siva sir, Actually I am a M.com student But I am interesting to learn Oracle dba. As a m.com student oracle dba is ok for me.

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      As per me, qualification doesn't matter, as far as you have interest and can spend enough time for practice, you can always learn, all the best 👍💐

  • @wakeelsah812
    @wakeelsah812 4 ปีที่แล้ว

    Best answer and explanation for interview question...Thanks a ton Siva sir.

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      It's my pleasure,Thank you so much :-)

  • @odiboufuoma3659
    @odiboufuoma3659 3 ปีที่แล้ว

    please i have senior IT DEVELOPER(PL SQL) coming up. please what are likely tecnical and scenario question to be ask?

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      This video series has 60+ videos, and planning to add more, please stay tuned for more questions. Scenario based SQL questions are covered in another playlist

  • @Truthseeker-kc8rd
    @Truthseeker-kc8rd 2 ปีที่แล้ว

    I immediately subscribed. Thanks for the great content.

  • @ramramaraju2221
    @ramramaraju2221 5 ปีที่แล้ว

    When there is ddl (before truncate) trigger when you perform truncate this trigger might fire right... Kindly correct me if I am wrong

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @Ramaraju, Yes, your understanding is correct.

    • @bharathipandian45
      @bharathipandian45 5 ปีที่แล้ว

      Hi siva, then triggers can be fired on both ddl and dml. It wouldn't be the difference here, am I right?

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @Barathi, explained here th-cam.com/video/THeY59Xw2RI/w-d-xo.html
      Please look into this video for details on ddl and DML trigger on delete VS truncate

  • @vijayarajan2599
    @vijayarajan2599 3 ปีที่แล้ว

    Hi Sive, Can you please attach the example script location for all the videos.

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      sure, for upcoming videos

  • @PravinYadav1
    @PravinYadav1 3 ปีที่แล้ว

    After Truncate the table size is not reducing. same size sowing as after insert. why is this showing same size???? please clear the doubt.

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว

      can you please analyze the table, and gather stats and try again

  • @udbhavdwivedi410
    @udbhavdwivedi410 2 ปีที่แล้ว

    Can you explain how triggers are not invoked when using truncate??

    • @udbhavdwivedi410
      @udbhavdwivedi410 2 ปีที่แล้ว

      You have created a DML Trigger and truncating the table, so no trigger got fired. if we create a DDL trigger, will it work?

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว

      yes, DDL trigger will work, Please look into this video th-cam.com/video/THeY59Xw2RI/w-d-xo.html

  • @poornimakp9835
    @poornimakp9835 4 ปีที่แล้ว

    Please could u explain ,
    How to separate negative numbers and positive numbers in SQL?

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      yes, you can use either sign function, or case statement in sql

  • @wassu789
    @wassu789 4 ปีที่แล้ว

    Hi Siva, What is high level watermark in this context?

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว +1

      Hi Syed, the maximum the block up to which the data was inserted earlier in a table is the level called high level water mark. This wont get reset in case of delete, whereas it will be reset to initial block in case of truncate.will post a separate video on this topic soon, please stay tuned.

  • @aratipatil8689
    @aratipatil8689 4 ปีที่แล้ว

    Sir , please make video on different between versions like 11g , 12c , 19c

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Already the new feature videos are posted with respect to each version, seperate playlist for each version is available, however i try to post overall difference across the version, please stay tuned.

  • @deepikapolisetty9057
    @deepikapolisetty9057 4 ปีที่แล้ว

    Hi Sir,
    This video is good.
    Can you please post a video on Highlevel Water Mark and can you please tell me why to update the data_dictionary table and use of it.
    Thanks

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Thanks for your comment,Sure, Please stay tuned. will post on HWM soon

  • @subbaraogaddale
    @subbaraogaddale หลายเดือนก่อน

    what is hight level water mark,Can u pls explain

    • @SivaAcademy
      @SivaAcademy  หลายเดือนก่อน

      Sure, please stay tuned, will cover in upcoming videos

  • @parthibankumar1962
    @parthibankumar1962 2 ปีที่แล้ว

    A samll update on the DDL Trigger concpet . DML Triggers will not be fiered on Truncate but DDL triggers on schema leavel would be fiered.

  • @swapnils.s.8855
    @swapnils.s.8855 2 ปีที่แล้ว

    Sir,
    Truncate can be rollbacked. Please Check ....

  • @potlarambabu3527
    @potlarambabu3527 5 ปีที่แล้ว

    Hi bro. I am like a your brother. I am asking you ,Can you make MVIEW AND ALL REFRESH
    Usage and also Partitions and types of particition and

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @ram,sure I will post videos on mviews and partitions

  • @abhisheknegi8053
    @abhisheknegi8053 3 ปีที่แล้ว

    Could you please make some videos for dynamic Plsql

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว +1

      Sure, please stay tuned

  • @shaheenshaikh6701
    @shaheenshaikh6701 5 ปีที่แล้ว

    Sir plz make video on schema objects n whts its use

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @Shaheen, sure, Please stay tuned.

  • @MsAmma1
    @MsAmma1 5 ปีที่แล้ว

    Thank you very much for the playlist. All videos are very good.

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @Prashanth, thanks for your comments bro.

  • @fayasmohamed3713
    @fayasmohamed3713 4 ปีที่แล้ว

    Please give us more information on high level water mark

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      Sure , please stay tuned, will cover in upcoming videos

  • @jithendrareddyambati3985
    @jithendrareddyambati3985 4 ปีที่แล้ว

    Can i know for which command the structure remains same??

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว +1

      for both truncate, and delete, the structure of the table remains the same.....Only Alter command can change the structure of table

  • @Pras2winma
    @Pras2winma 3 ปีที่แล้ว

    Thank u somuch ........very helpful

  • @amitlondhe3651
    @amitlondhe3651 2 ปีที่แล้ว

    Very nice explanation sir👍👍

  • @yambay
    @yambay 4 ปีที่แล้ว

    Thanks a lot. This was really useful information

  • @kumark2579
    @kumark2579 2 ปีที่แล้ว

    High Level Water mark means ???

  • @tarunmahajan4050
    @tarunmahajan4050 3 ปีที่แล้ว

    Hi Sir, Please make a video on partitioning tables

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      Sure bro, please stay tuned

    • @tarunmahajan4050
      @tarunmahajan4050 3 ปีที่แล้ว

      @@SivaAcademy one more request...please make video on hierarchal queries and REGEXP

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      Yes bro 👍👍

  • @shumailasami2277
    @shumailasami2277 5 ปีที่แล้ว +1

    Please explain high water mark....

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว +1

      @Shumaila, Sure, will post a seperate video on HWM.

    • @shumailasami2277
      @shumailasami2277 5 ปีที่แล้ว +1

      @@SivaAcademy HWM video please 😔

  • @bharathipandian45
    @bharathipandian45 5 ปีที่แล้ว

    Please explain what is high water mark

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว

      @bharathi, yeah sure. I will post a video soon

  • @bonamsrinivasareddy3365
    @bonamsrinivasareddy3365 2 ปีที่แล้ว

    I want to update salaries with different percentages (5%,10%....)at a time on salary column in different values like(

    • @pavankumarparuchuri1540
      @pavankumarparuchuri1540 2 ปีที่แล้ว

      Hi Bro,
      I think this can be done, using CASE in Set clause of Update.
      I will try to achieve this and will let you know.

  • @arshiyakausar8494
    @arshiyakausar8494 4 ปีที่แล้ว

    Hi Shiva teach us on Datastage and python going forward..

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว +1

      Yeah I am about to start python videos, please stay tuned 👍

  • @aravindrajendran581
    @aravindrajendran581 6 ปีที่แล้ว

    Really superbbbbbb.. keep it up ... subscribed .. waiting for more videos..

    • @SivaAcademy
      @SivaAcademy  6 ปีที่แล้ว

      Thanks Aravind, i have posted more than 16 questions in this series itself, will be posting more....you can let me know if you are looking for any specific question, i can add as part of upcoming video.
      Thanks again for your comment. :-)

  • @telagarapuashoksaichakrava3600
    @telagarapuashoksaichakrava3600 2 ปีที่แล้ว

    Brother I already asked u about bulk exception u promised me that u will provide it with in a week but it is already more than 10 days please provide bulk exception please 🙏🙏🙏🙏🙏🙏🙏🙏

    • @telagarapuashoksaichakrava3600
      @telagarapuashoksaichakrava3600 2 ปีที่แล้ว

      Please provide it me bro

    • @SivaAcademy
      @SivaAcademy  2 ปีที่แล้ว +1

      Really sorry for late, content is ready bro, will try to post in a day or two, please stay tuned

  • @saikatghosh5505
    @saikatghosh5505 2 ปีที่แล้ว

    what is alternate way to update table a using two table without using co-related sub query sub-query
    in oracle
    in mssql we do in below format
    create table tst_table1_a(id1 number , name varchar2(100))
    create table tst_table1_b(id1 number , sal number)
    UPDATE tst_table1_b a
    SET b.sal = (b.sal + 1000)
    FROM tst_table1_b a
    INNER JOIN tst_table1_a b ON a.id1 = b.id1
    and b.name='xxx'

    • @Crazy-Trainings
      @Crazy-Trainings 3 หลายเดือนก่อน

      You can use merge statement right ?

  • @SudhirBhajnawale
    @SudhirBhajnawale 5 ปีที่แล้ว +1

    Well explained Sir ... Thanks a lot :-)

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว +1

      @Sudir, thanks for your comments bro 🙏

  • @dineshkumar-vp9dm
    @dineshkumar-vp9dm 4 ปีที่แล้ว

    What is different between for and forall clause

    • @SivaAcademy
      @SivaAcademy  4 ปีที่แล้ว

      sure, please stay tuned, will be posting soon

  • @aishwaryaalte3698
    @aishwaryaalte3698 2 ปีที่แล้ว

    What is mean by High level watermark

  • @dineshkumar-vp9dm
    @dineshkumar-vp9dm 4 ปีที่แล้ว +1

    Performance tuning in sql

  • @ronaldmourant4343
    @ronaldmourant4343 3 ปีที่แล้ว

    Hi sir, need a file of these questions. Thanks in advance

  • @juno7893
    @juno7893 4 ปีที่แล้ว

    Very good explanation. Thank you.

  • @sagarjadhav299
    @sagarjadhav299 5 ปีที่แล้ว

    Please make video SQL ,PL/SQL Performance tuning

    • @SivaAcademy
      @SivaAcademy  5 ปีที่แล้ว +1

      @Sagar, Sure, working on the performance tuning content only, will start posting soon.....may be from next month onwards...Please stay tuned.

  • @ajimsayyad7006
    @ajimsayyad7006 3 ปีที่แล้ว

    What is mean by high-level watermark ?

    • @SivaAcademy
      @SivaAcademy  3 ปีที่แล้ว

      will be covering soon