Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bytes to megabytes

Status
Not open for further replies.

Thiko

Programmer
Mar 9, 2001
49
GB
i would like to find out the size that some database datafiles were created at in megabytes.

so if i select bytes from dba_data_files could someone tell me the syntax for convering the size information into megabytes? Many Thanks.

Thiko!
 
select bytes/1024/1024 "Mbytes", tablespace_name from dba_data_files; Many Thanks.

Thiko!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top