Monday, 29 July 2019

How to create the dummy table and find the value in Oracle R12


CREATE TABLE TAB_DUMMY ("SNO"  NUMBER, "VALUE" VARCHAR2 (4000 BYTE));


CREATE SEQUENCE SNO_DUMMY
   MINVALUE 1
   MAXVALUE 9999999999999999999999999999
   INCREMENT BY 1
   START WITH 1
   CACHE 20
   NOORDER
   NOCYCLE;


CREATE OR REPLACE PROCEDURE PRC_DUMMY (P_PARA VARCHAR2)
IS
   PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
   INSERT INTO TAB_DUMMY
     VALUES   (SNO_DUMMY.NEXTVAL, P_PARA);

   COMMIT;
END;


-- prc_dummy ('lv_sysdate=' || lv_sysdate);

20 comments:

  1. The blog is very useful and informative which provides great information AWS Ttaining

    ReplyDelete
  2. I am impressed. I don't think Ive met anyone who knows as much about this subject as you do. You are truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. Really, great blog you have got here
    University Of Kota BCOM 1st, 2nd & Final Year Exam Date Sheet/TimeTable 2020
    Matsya University BCOM 2nd Year Exam Schedule/TimeTable 2020

    ReplyDelete
  3. Thanks for posting this informative things to people. This is really helpful for readers.
    Weblife Infotech Pvt. Ltd.

    ReplyDelete
  4. IIS India, a leading web designing company in Delhi, specializes in crafting stunning and functional websites. Our expert team combines creativity and technical expertise to deliver custom web solutions.

    ReplyDelete
  5. "Great post! Very helpful for those working on dummy tables in Oracle R12."
    MoviesVerse
    Mezzanine floor Manufacturer in Delhi

    ReplyDelete
  6. "Clear and concise example! This is perfect for beginners trying to understand dummy table creation."
    Mezzanine floor manufacturer
    Industrial Storage Rack india

    ReplyDelete
  7. "Thank you for sharing the code for creating sequences and procedures—it makes things so much easier!"
    belt conveyor in delhi
    Office Furniture Manufacturer Noida

    ReplyDelete
  8. "The PRAGMA AUTONOMOUS_TRANSACTION is such a useful feature! Nice to see it applied here."
    Industrial Storage Racks in Hyderabad
    Pulse Jet Bag filter Manufacturer

    ReplyDelete
  9. "This step-by-step guide is exactly what I was looking for to understand dummy tables in Oracle R12."
    Pouch Packing Machine
    shrink wrapping machine in delhi

    ReplyDelete
  10. "Helpful post! The example on creating sequences and using them in tables is clear and easy to follow."
    Laser metal cutting machine manufacturer
    Franchise Opportunities

    ReplyDelete
  11. "Excellent example of using PRAGMA AUTONOMOUS_TRANSACTION. Really useful for independent transactions!"
    Pumpkin Seed Oil Manufacturer Italy
    dairy queen franchise

    ReplyDelete
  12. "Very informative! The autonomous transaction approach is something I’ll definitely be using."
    FilmyZilla’s
    Rack Manufacturer in Delhi

    ReplyDelete
  13. "Thanks for breaking down the procedure creation process in Oracle R12. This is very useful!"
    Mezzanine floor manufacturer in delhi
    Industrial Storage Rack delhi

    ReplyDelete
  14. "Great to see the use of CACHE with the sequence. Optimizes performance for sure!"
    Screw Conveyor India
    Office Furniture in Gurgaon

    ReplyDelete
  15. "Just what I needed for a project! The explanation of sequence limits is super helpful."
    "I appreciate the structured approach to creating a dummy table and finding values."
    Warehouse Racking system in Delhi

    ReplyDelete
  16. "Using a sequence with INCREMENT BY 1 and CACHE is a smart way to ensure unique values."
    Centralized Dust Collector
    Pouch Packing Machine Manufacturer

    ReplyDelete
  17. "The use of VARCHAR2 (4000 BYTE) for the VALUE column provides excellent flexibility."
    shrink wrapping machine in delhi
    Laser marking machine in delhi

    ReplyDelete