Oracle Interview Question - oracle %rowtype and %type

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

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

  • @ruda4131
    @ruda4131 3 года назад +5

    Sir, your way of logically explaining concepts is best.... simplifies so much🙏

  • @rajarshibose4454
    @rajarshibose4454 2 года назад +4

    Hi Sir,
    I just wanted to say you thank you from the bottom of my heart.
    I had few confusions on some basic as well as advanced level concepts of pl/sql.
    I am currently working in tcs having 2.11 years experience and I was planning to switch for a long time now.
    After preparing from your videos, I have cracked the interviews of cognizant, infosys and accenture.
    I am planning to sit on other companies as well.
    Thanks a lot Sir !
    The way you explained such hard concepts so easily is truly phenomenal.

    • @SivaAcademy
      @SivaAcademy  2 года назад

      Thank you bro, Best wishes 🙏🙏👍👍💐💐

    • @pranaykukadkar7092
      @pranaykukadkar7092 2 года назад

      Hi bro, tomorrow is my interview on PLSQL Can you please help me with Q&A which they asked you ??

    • @rajarshibose4454
      @rajarshibose4454 2 года назад +1

      @@pranaykukadkar7092 prepare on concepts like triggers, exceptions
      Collections like varray, associated array, nested tables
      Cursors
      1.strongly typed
      2.weakly typed
      Mutating table errors
      That should cover most of it
      And also prepare type of joins

    • @pranaykukadkar7092
      @pranaykukadkar7092 2 года назад

      @@rajarshibose4454 thank you bro

  • @seethalakshmiadiga2477
    @seethalakshmiadiga2477 Год назад

    Very simplified way .. I am understanding basics. Thanks a lot ..Hats off to u ..

  • @deepanjanmallick
    @deepanjanmallick 3 года назад +3

    If we are using %type....Which all things will be inherit ? Along with datatype if constraints will also inherit?

  • @panchamdwivedi7358
    @panchamdwivedi7358 Год назад

    I was asked the same question in an interview.
    U have explained very well. Thank you

  • @manikumar9779
    @manikumar9779 9 месяцев назад

    sir thankyou i have clarified my doubt by watching this video

  • @debashisjena6836
    @debashisjena6836 3 года назад

    Sir your channel is just wow!!!👍👍 Love u from odisha

  • @traptyjain9493
    @traptyjain9493 2 года назад +1

    Hi sir, your video is really very helpful.
    I have a doubt ,is %rowtype variable useful for for loop cursor?. Because we have looping variable which holds one record inside the loop.

  • @MsAmma1
    @MsAmma1 5 лет назад +1

    Thank you for very good explanation

    • @SivaAcademy
      @SivaAcademy  5 лет назад

      @prasanth, thanks for your comments bro 🙏

  • @sushkiduniya4561
    @sushkiduniya4561 Год назад

    Could you plz wrote the syntax of oracle plsql for this one ... to understand it for beginners... plz reply asap

  • @sukritihazra3981
    @sukritihazra3981 3 года назад

    Sir doyou have any note regarding %rowtype?

  • @yogeshzore5766
    @yogeshzore5766 Год назад

    Sir u r great 🙏

  • @Atom-Mercury
    @Atom-Mercury 2 года назад

    VEry well explained, thanks.

  • @Cheveuxes
    @Cheveuxes 2 года назад

    thank you now i understand what was the purpose of rowtype

  • @priyakoli5572
    @priyakoli5572 4 года назад +3

    Hi Sir,
    Thank you for your explanation! Its really helpful.
    I am a Java Developer but not hands on Plsql or oracle queries, so i just wanted to know what be the actual/ real time scenario when you need to use such attributes. I understood the concept but why to use this and what are the practical applications of it, in which area it will help me?

    • @SivaAcademy
      @SivaAcademy  4 года назад +1

      %type is used in most of the places, real time usage is , you dont have to bother even if the underlying data type changes, it will be automatically taken care by %type.
      Similarly, any new column addition or removal will be automatically taken care my %rowtype

  • @kumark2579
    @kumark2579 7 месяцев назад

    You have not used WHERE clause when you create CURSOR.... But how only one record fetched from the EMP table?? And how you got only that specific row even though you have not mentioned WHERE clause??

    • @dineshganyarpawar5441
      @dineshganyarpawar5441 19 дней назад

      All the rows got fetched into the cursor but the thing is sir has not used any loop so only the first record was accessible

  • @bipinairee1917
    @bipinairee1917 4 года назад

    I have a question as you told in video if we declare a variable as % type and we modify the column datatype in a table so the declared variable datatype will be change same as table column datatype.But if i declare a variable as %rowtype and changes happens in table column and columns .so that variable of %rowtype datatype also change or what will happen on that case?

  • @ilangovankaliannan278
    @ilangovankaliannan278 5 лет назад +1

    Hi Sir
    Your videos are very nice. Thanks for posting it.
    In your cursor with %rowtype example, why only one record got printed. I don't see you have used any where condition. Please clarify on what basis,one record got printed
    Thanks

    • @SivaAcademy
      @SivaAcademy  5 лет назад

      @Illango, Cursor retrieve one record per fetch operation, I have explained about cursor in this video,
      ruclips.net/video/X7WFuI5eTX4/видео.html
      Please look into this, i am sure, this video will answer your question.
      Thanks,
      Siva

    • @manishagyaan
      @manishagyaan 5 лет назад +2

      dear ilangovan
      %rowtype fetches only one row it shows first row..to print all records row by row loop is used.

  • @polly171978
    @polly171978 4 года назад

    Hello Thank you nice explanation🙏😊

  • @peramsudheerreddy9888
    @peramsudheerreddy9888 3 года назад

    Thanks a lot bro

  • @sahinsahina8440
    @sahinsahina8440 5 лет назад

    Hi ,please say about mongodb

  • @santhoshkumar-qg1os
    @santhoshkumar-qg1os 3 года назад

    Hi sir 1 doubt,%rowtype will return only 1 record,so if we use that in cursor by giving loop while fetching whether it will return all data till fetch fails or it how it would work.

    • @SivaAcademy
      @SivaAcademy  3 года назад

      Hi Santosh, variable defined as %rowtype, will hold one record of table ( defined as %rowtype), hence in cursor, for every iteration, we can save one record into rowtype variable

  • @anuragmohanty1301
    @anuragmohanty1301 Год назад

    AWESOME

  • @sridhartamilselvan
    @sridhartamilselvan 5 лет назад

    Hi sir, if cursor C1 will return 1000 records (rows) . How can I print it one by one by using %Rowtype... Or pls post video for printing multiple records by using cursor. Thank you...

    • @SivaAcademy
      @SivaAcademy  5 лет назад +1

      @Sridhar, Ya, I will post a video on this question ( + few other questions I have received ), so that It would be useful for every one, Please Stay tuned.

    • @manishagyaan
      @manishagyaan 5 лет назад

      hi sridhar
      please use loop which will print one by one record

    • @bipinairee1917
      @bipinairee1917 4 года назад

      use loop

  • @saikumarsuravarapu4113
    @saikumarsuravarapu4113 5 лет назад

    difference between type and % type in oracle please make video

    • @SivaAcademy
      @SivaAcademy  5 лет назад +1

      Sure, Please stay tuned, i will post on type vs %type

  • @peramsudheerreddy9888
    @peramsudheerreddy9888 3 года назад

    Bro please do one video about sub queries

    • @SivaAcademy
      @SivaAcademy  3 года назад

      Video no 34 to 37
      ruclips.net/video/Ylm2f7tSAu0/видео.html

  • @SatyendraSingh-ul5iq
    @SatyendraSingh-ul5iq 4 года назад +1

    Sir Please speak little bit loudly

    • @SivaAcademy
      @SivaAcademy  4 года назад

      Sure bro, I hope the recent videos are fine

  • @csekathir1
    @csekathir1 5 лет назад

    SQL query tuning sir

    • @SivaAcademy
      @SivaAcademy  5 лет назад

      @kathir, sure will post these topics as part of performance tuning video series, please stay tuned