Example of DBA Assignment Help

Assignment Help: >> Introduction to DBA - Example of DBA

Example:

DECLARE

curid NUMBER;

str        VARCHAR2(200);

exeid NUMBER;

tabname varchar2(20):='&a';

BEGIN

curid:=DBMS_SQL.OPEN_CURSOR;

str := 'DROP TABLE '||tabname; DBMS_SQL.PARSE(curid,str,dbms_sql.native); exeid :=DBMS_SQL.EXECUTE (curid);

DBMS_SQL.CLOSE_CURSOR(curid);

END;

That coding block accepts the tablename and drops the table name.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd