Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

oracle pl/sql prevent sql injection

CREATE OR REPLACE PROCEDURE testBind(vname IN VARCHAR2) AS
BEGIN

   EXECUTE IMMEDIATE 'UPDATE products set price = price-1 where name = ' || vname;

COMMIT;
END;
/
Source by www.appmarq.com #
 
PREVIOUS NEXT
Tagged: #oracle #prevent #sql #injection
ADD COMMENT
Topic
Name
9+5 =