كل كلمات امتحان الـ IELTS اللى هتحتاجها
13 years ago
This Blog particularized for Oracle Developers ... you will see interesting Codes for SQL , PL/SQL as well as new ideas for Developer Suite and Client Tools that will help you in your professional life ... and I hope I reach for your satisfaction.
I'm Hany Freedom , 25 years old , I live in EL-Minia City in Egypt , I'm Moderator at ArabOUG.org the best Arabic Forum for ORACLE on the Net. if you interested to know more about me .... just Click Here.
CREATE PROCEDURE Calc_stats
     (w  NUMBER,
      x  NUMBER,
      y  NUMBER,
      z  NUMBER)
IS
BEGIN
  dbms_output.Put_line(w + x + y + z);
END;
/
DECLARE
  a            NUMBER := 4;
  b            NUMBER := 7;
  plsql_block  VARCHAR2(100);
BEGIN
  plsql_block := 'BEGIN calc_stats(:x, :x, :y, :x); END;';
 
  EXECUTE IMMEDIATE plsql_block
   USING a,b;
END;
/
Using Duplicate Placeholders With Dynamic SQL
0 comments:
Post a Comment