Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
column_list_in VARCHAR2
, department_id_in IN employees.department_id%TYPE
IS
sql_stmt CLOB;
src_cur curtype;
curid NUMBER;
desctab DBMS_SQL.desc_tab;
colcnt NUMBER;
numvar NUMBER;
datevar DATE;
BEGIN
Please read the section in this chapter on injection so that you can
*/
sql_stmt :=
'SELECT '
|| column_list_in
*/
/*
To fetch the data, however, I can no longer use the cursor variable,
This is, however, a perfect fit for DBMS_SQL and the DESCRIBE_COLUMNS
*/
LOOP
IF desctab (indx).col_type = 2
THEN
THEN
ELSE
END IF;
END LOOP;
LOOP
LOOP
IF (desctab (indx).col_type = 2)
THEN
THEN
THEN
END IF;
END LOOP;
END LOOP;
DBMS_SQL.close_cursor (curid);
END;