Oracle 18C New Feature Private Temporary Table

Поділитися
Вставка
  • Опубліковано 11 тра 2018
  • What is oracle private temporary table? This video explains about the global temporary table, and private temporary table concepts.
    A typo error in the slide, Please read "ON COMMIT DROP DEFINITION" instead of "ON COMMIT DELETE DEFINITION"
  • Наука та технологія

КОМЕНТАРІ • 36

  • @SivaAcademy
    @SivaAcademy  6 років тому +2

    A typo error in the slide, Please read as "ON COMMIT DROP DEFINITION" instead of "ON COMMIT DELETE DEFINITION"
    Thanks Prem for pointing it out.

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

    Thnx a lot. But this naming convention governed by that parameter seemed little tough! Moreover, if multiple sessions are creating PTT by same name n structure, then wat and how dba_tables going to store/maintain the metadata session wise separately?

  • @VarasPassion
    @VarasPassion 2 роки тому +1

    Explained very well...thank you dear :)

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

    So Global temp tables are like normal tables which once created will be available always, but only data will be private to the sessions?

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

    In 19C facing issue for GTT table
    Can you please Guide

  • @12ravindrareddy
    @12ravindrareddy 3 роки тому

    Can we create index on GTT?

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

    Siva could you please provide 2-3 use case for temporary table.

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

    Any tutorials on oracle forms a d reports. Please share links if any. Thanks

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

    Isn't Private Temporary Table very much similar to Local Temporary Table of 8i?

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

    SQL> create private temporary table t(sno number) on commit preserve definition;
    create private temporary table t(sno number) on commit preserve definition
    *
    ERROR at line 1:
    ORA-00903: invalid table name

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

    Thanks again Siva!

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

    Great content. Your help would be appreciated if you explain one example using this GTT in a procedure?

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

      Sure bro, I will post an example

  • @premgona5587
    @premgona5587 6 років тому +1

    I found a typo in the video..
    Just correcting it...
    The two modes of Private temp tables are,
    1) on commit PRESERVE definition
    - session specific
    2) on commit DROP definition
    - table will be dropped automatically, once the commit or rollback issues

    • @SivaAcademy
      @SivaAcademy  6 років тому

      Thanks for informing. will try to correct it.

    • @premgona5587
      @premgona5587 6 років тому

      I have tried in the DB with DELETE but it didn't work... It worked with DROP option...

    • @SivaAcademy
      @SivaAcademy  6 років тому

      I hope you are trying in 18C DB right?

    • @SivaAcademy
      @SivaAcademy  6 років тому

      Send me yours scripts and steps you tried to my mail id, I will check and let you know tomorrow. ( mail to siva.k.academy@gmail.com)

    • @premgona5587
      @premgona5587 6 років тому

      I have tried in oracle website... LIVESQL...
      create private temporary table test_18c_private_temp_table
      (id number, name varchar(10))
      on delete drop definition;
      insert into test_18c_private_temp_table
      Values(101,'Prem');
      select * from test_18c_private_temp_table;
      commit;
      Again, if we try to query the table it will throw an error saying
      "table or view doesn't exists".

  • @12ravindrareddy
    @12ravindrareddy 4 роки тому

    When to use GTT in real time?

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

      When ever you want to store temporary data for session

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

    Please make video on SQL Injection in details

  • @PriyankaKumari-ul7bv
    @PriyankaKumari-ul7bv 5 років тому

    plz add code in your blog.

    • @SivaAcademy
      @SivaAcademy  5 років тому

      @priyanka, Sure, will post soon.....

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

    mind blowing bro nice scenario

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

      i didn't do any great job bro, just trying to make everyone understand better as much as possible by me