Showing posts with the label
plsql
Issue We can use record_name.field% type to reference a field's type... But if field is a col…
Issue Hello I created a PLSQL procedure to update or insert quantity in inventory table based on pr…
Issue I have this anonymous block: DECLARE V_DATA DATE; BEGIN V_DATA := '01-GEN-2000&…
Issue Same function, same argument, different outputs: set serveroutput on; declare n number :…
Issue I am working on a problem statement where I need to retain records based on a logic which is …
Issue I have 3 tables ( Inventory , OrderMaster , OrderDetail ). In the table Inventory I have ID_…
Issue I want to convert Canadian dollars to other currencies with some convention. I am creating a …
Issue I'm developing a trigger in PL/SQL. It has this building structure: if a = 1 then i…
Issue This is my CONSTANT in package. const_percent CONSTANT NUMBER DEFAULT 0.3; Is it possible …
Issue I want populate variable from query in oracle package. In package I'm define: g_my_v…
Issue I am trying to calculate difference between two dates and display the difference as days in t…
Issue I have bulk collected data in T_USERRECORD through Cursor. Now inside T_USERRECORD loop I hav…
Issue This coding is giving the correct answer for SYSDATE select round((SYSDATE - date '1970-…
Issue I have a procedure named MY_PROCEDURE_X in a packaged MY_PACKAGE_X. My requirement is that th…
Issue I've got a PL/SQL block that's basically DECLARE PIDM NUMBER(8); …
Issue I've two tables. Name of first is, let's say, Table_A: class="s-table">…
Issue as part of a PL/SQL script, we are setting a Varchar variable called 'V_COMMENT' as s…
Issue We want to count how many nulls each column in a table has. There are too many columns to do …
Issue I have a database for which I want to enforce SYSDATE to be Pacific Time. I cannot modify the…
Issue I am new to oracle database. I use oracle database 19c. I try to create a procedure by declar…