Who was the Prime Minister of England when the Indian Independence Act was passed? (1) Attlee (2) Churchill (3) Macmillan (4) Lloyd George
8 22874A mixture of salt and sand can be separated by 1 Sublimation 2 Dissolving in water 3 Gravity separation 4 Dry distillation
3 7374You have the following Network ID: 131.112.0.0. You need at least 500 hosts per network. How many networks can you create? What subnet mask will you use
22 42794section officer audit exam 2008 - pls inform me about the adress of interview for kolkata region.
2118Which of the rank of para military ie BSF, CRPF or ITBP is equivalant to Lt Col of Indian Army?
8 101306Post New CISF Interview Questions
How to submit extra files(jars, static files) for MapReduce job during runtime?
What is private inheritance?
What are the web servers you’ve worked on along with apache?
Does ubuntu use systemd?
What is configuration management in terms of infrastructure and mention a few popular tools used?
What is null pointer constant?
How many types of sql are there?
Hi, I've a mapping with flat file source The target update override property for the target table is using update stmt. There is no update strategy between source and target. Also The session has the target properties as Insert , Update as update options checked. Does this mean that recs will be inserted only and the update override will not be applied at all. Thanks
Explain how does a signal differ from a wave?
can any one give me the question bank for Lab Technician to appear for my HAAD exam . Please send me the Qs. my mail Id is abdullahraj10@yahoo.com Please help. thks.
What is NABARD and tell some of its functions?
how to calculate the change over time for star delta starter for different KW motor?
Compare interpreters and compilers.
What is inline variable assignment?
create or replace procedure search_matter(empno varchar2) as sql_stmt varchar2(200); stmt varchar2(200); v_table_name varchar2(200); val_pres number; inp_value varchar2(200); type obj_typ is table of cols.column_name%type index by binary_integer; type all_col is table of varchar2(100) index by binary_integer; typ_obj_typ obj_typ; typ_all_col all_col; begin select object_name bulk collect into typ_obj_typ from user_tables,user_objects where table_name = object_name AND object_type = 'TABLE'; select empno into inp_value from dual; dbms_output.put_line('inp value : '||inp_value); for i in typ_obj_typ.first..typ_obj_typ.last loop v_table_name := NULL; v_table_name := typ_obj_typ(i); dbms_output.put_line(i||':'||typ_obj_typ(i)); dbms_output.put_line('....................'); sql_stmt := 'select column_name from cols where table_name = :1 and data_type in (''CHAR'', ''VARCHAR2'', ''NCHAR'', ''NVARCHAR2'',''NUMBER'')'; EXECUTE IMMEDIATE sql_stmt bulk collect into typ_all_col using typ_obj_typ(i); for inside in typ_all_col.first..typ_all_col.last loop dbms_output.put_line('sql stmt: '||sql_stmt); dbms_output.put_line('column name: '||typ_all_col(inside)||'table name: '||typ_obj_typ(i)); stmt := 'select count(*) from ||typ_obj_typ(i)||'; EXECUTE_IMMEDIATE stmt into val_pres ; if val_pres = 1 then dbms_output.put_line('value present col name: '||typ_all_col(inside)||'table name :'||typ_obj_typ(i)); end if; end loop; dbms_output.put_line('....................'); end loop; exception when others then dbms_output.put_line('sql code '||sqlcode||'Table name: '||v_table_name); dbms_output.put_line('sql message '||sqlerrm); end; Compile-time I am getting below error, Plz help to resolve. LINE/COL ERROR -------- ----------------------------------------------------------------- 47/23 PLS-00103: Encountered the symbol "STMT" when expecting one of the following: := . ( @ % ;