Oracle PL SQL interview question | How to Exclude duplicate records while insertion| Error Log Table

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 68

  • @wonkhong
    @wonkhong 4 роки тому +2

    Great quality content & presentation- I went through all 66 videos and thoroughly enjoyed the review/learning, thank you thank you thank you!!!

    • @SivaAcademy
      @SivaAcademy  4 роки тому +1

      My pleasure 🙏, thank you 💐💐👍

  • @nareshreddy6450
    @nareshreddy6450 4 роки тому

    If anyone watch this video they must remember this subject. Because your explanation way is awesome brother ..... We just loved it

  • @samkhan4214
    @samkhan4214 9 місяців тому

    Very nice video. Please start creating such more video. really very helpful video. Thanks a lot for your hard work.

  • @shashank2004
    @shashank2004 4 роки тому +1

    Awsome explanation bro as always, i am eagerly waiting ur performance tuning videos

    • @SivaAcademy
      @SivaAcademy  4 роки тому +1

      Welcome bro, starting next week, please stay tuned

  • @vikaskumar-qr5tj
    @vikaskumar-qr5tj 2 роки тому

    @Siva do you provide any training on Oracle forms and reports you are just great sir I am already following you since last 6 months

  • @riyazbabushaik8393
    @riyazbabushaik8393 4 роки тому +1

    Good explanation Siva bro, Recently I have faced few interview question from TCS Techincal panel
    Q: Can we use Aggregate functions(min,max,count,avg) on check constaint while table creation?
    Q: while calling the procedure, If the procedure gets an exception how can we find out the error line number?

    • @akshayjoshi4106
      @akshayjoshi4106 3 роки тому

      regarding second question you can use dbms_utility.format_error_backtrace to identify the errored line. Please let me know if i am incorrect or any differences.

  • @parthkulkarni5373
    @parthkulkarni5373 4 роки тому

    Perfectly explained. Thanks sir

  • @amarsharma5616
    @amarsharma5616 4 роки тому

    Watching ur videos have helped a lot.. Keep posting 😊

  • @masalhemant4255
    @masalhemant4255 4 роки тому

    I'm big fan of your all vedio's

  • @GurmelSingh03
    @GurmelSingh03 4 роки тому +1

    Great explanation 👌.
    Can you please give me sql developer query without creating error log table based on below query and conditions.
    Query:
    Insert into table1(name, sallery, state)
    Select name, sallery, 'delhi' from table2
    Where name='tom'
    1. I want to insert new rows only into table1. If same row data already present then ignore otherwise add new entry.
    2. I want to insert and update data into table1 if data is already present then update same otherwise add new entry.

    • @SivaAcademy
      @SivaAcademy  4 роки тому

      Thank you, I guess you are looking for MERGE STATEMENT

  • @bhamidipatikittu
    @bhamidipatikittu 4 роки тому

    Excellent Presentation..!!

  • @C.Morandini
    @C.Morandini 4 роки тому +2

    What about MERGE INTO statement? Great video nevertheless!

    • @SivaAcademy
      @SivaAcademy  4 роки тому +2

      Yes, adding the merge statement in next video

  • @amolrao3464
    @amolrao3464 4 роки тому

    Nice explanation sir. Thank you. Can u plz make video on oracle hints sir.

  • @yogiacooldude
    @yogiacooldude 4 роки тому

    Thanks for this video. i have one question. what will be the performance of Hint in case we are inserting millions of rows? is there any other method to insert unique only in other table having maximum performance. this question is asked generally on the basis of performance. there is a one way i.e. Exchange Partition . do we have any other in case of INSERT?

  • @sasoyu8922
    @sasoyu8922 4 роки тому

    Nice explanation!
    But i'm quite sure that It Is possible to insert that tuples adding a NOT EXISTS clause in the query (After the part insert into)

    • @SivaAcademy
      @SivaAcademy  4 роки тому +1

      Yes, its covered in part 2 of video

  • @chavannamdev1959
    @chavannamdev1959 2 роки тому

    Great sir 👌🙏

  • @suraj454
    @suraj454 4 роки тому

    Great content! Excellent ..

  • @vijiinfo
    @vijiinfo 4 роки тому

    Awesome video .. Great 👍 .

    • @SivaAcademy
      @SivaAcademy  4 роки тому

      Welcome :-) Thank you 👍

    • @vijiinfo
      @vijiinfo 4 роки тому

      Hi Siva , can u send me your personal number ? avijayakanth@gmail.com

    • @SivaAcademy
      @SivaAcademy  4 роки тому

      Please send me mail to Siva.k.academy@gmail.com

  • @vinodnapa7889
    @vinodnapa7889 4 роки тому

    Can you drop a video on using error log table method with merge statements?

  • @Kk-yn7dk
    @Kk-yn7dk 3 роки тому

    We can use left outer join and then insert the non matching records from source table into target table.
    Please let ne know if my understanding is wrong

  • @masalhemant4255
    @masalhemant4255 4 роки тому

    Nice explanations....

  • @devilmaycry3537
    @devilmaycry3537 3 роки тому

    We can use minus also right?

  • @eddiehapson1730
    @eddiehapson1730 Рік тому

    Nice

  • @ankandey7583
    @ankandey7583 4 роки тому

    Cant We use merge update insert and load the data from source to target

  • @hariprasathmp9893
    @hariprasathmp9893 4 роки тому

    If we disable the constraint in the target table if that works for the similar rule

    • @SivaAcademy
      @SivaAcademy  4 роки тому

      it wont work, for that other options are there, you can merge statement, i will explain in next video, please stay tuned

  • @dhanrajramekar9378
    @dhanrajramekar9378 2 роки тому

    We can use below insert with subquery as :
    insert into emp_target
    SELECT * FROM emp_source where empno not in (select empno from emp_target);

  • @surajnalawade4019
    @surajnalawade4019 4 роки тому

    Can we use simple where condition?
    where empid not in (select empid from target table );
    Might be dumb question, nobbie here :)

    • @SivaAcademy
      @SivaAcademy  4 роки тому +1

      Yes we can use, thats covered in part 2 of the video

  • @ramkumarvaratharajan4980
    @ramkumarvaratharajan4980 4 роки тому

    Is it available in all versions? Like 10g and 11g...

    • @SivaAcademy
      @SivaAcademy  4 роки тому

      Not sure in older version, but available from 12 onwards

  • @paricherlamathaiah5820
    @paricherlamathaiah5820 4 роки тому

    Tq bro ...........

  • @bhojrajsingh8737
    @bhojrajsingh8737 2 роки тому

    Hi Sir,
    Why cant we use merge statement??

  • @poojabhat7698
    @poojabhat7698 Рік тому

    Can we use merge

  • @praveencbharadwaj
    @praveencbharadwaj 4 роки тому

    Can you please create Oracle architecture of key concepts ,sga pga,log writer etc

  • @prasadkumbhar1935
    @prasadkumbhar1935 4 роки тому

    Siva Sir...how can i solve this question using oracle sql???

    • @SivaAcademy
      @SivaAcademy  4 роки тому

      yes, you can do using sql also, explaining in the next video, please stay tuned

  • @nareshreddy6450
    @nareshreddy6450 4 роки тому

    Bro can u please make BULK_EXCEPTIONS consept ....

  • @PrayasDhanbadBasicBuilder
    @PrayasDhanbadBasicBuilder 3 роки тому

    For insertion, cannot we merge operator ??

    • @SivaAcademy
      @SivaAcademy  3 роки тому +1

      Yes we can, that's covered in next video

  • @moviemaRKer
    @moviemaRKer 4 роки тому

    Can't we simply " Merge" for this desired output ?????

    • @SivaAcademy
      @SivaAcademy  4 роки тому +1

      yes, we can, posting the merge in next video

  • @mohammedalikhan7306
    @mohammedalikhan7306 Рік тому

    You could have written not in in where