And how this code helps?
-- Now build SQL to get max value for each column and output
stmt := 'SELECT MAX(' || c2_rec.column_name || ') FROM ' || c1_rec.table_name;
dbms_output.put_line(stmt);
You consider only one column.
Tamil
|
Results 1 to 10 of 10
Thread: How To get the max(Primary key)Threaded View
|
Click Here to Expand Forum to Full Width |