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);

8 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. We have analyzed Funff Stock and other stock information for you so that you can stay up-to-date on the latest Funff Stock market trends.

    ReplyDelete
  5. 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