SQL Language (MOSC)

MOSC Banner

How to spool the file_name that has the bisggest size ?

edited Feb 18, 2010 5:28AM in SQL Language (MOSC) 11 commentsAnswered ✓
 select file_name from dba_data_files where sum(bytes)=max(bytes);

                                            *
ERROR at line 1:
ORA-00934: group function is not allowed here

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center