MickyMc
asked on
get size of an empty column in oracle
Hi there,
I have a heap of tables in a new database that are all blank with some changes dripping in every now and again to the design.
I want to get the size in bytes of the columns in each table... not the length of the data in the column as there is none. So I need to add up the size of number, size of nvarchar 100 etc for a table. I can only see Avg row size and functions to give me the size of data contained in the row.
PS.. a nice cursor or something that would take in table names and do this would be cool
thanks M
I have a heap of tables in a new database that are all blank with some changes dripping in every now and again to the design.
I want to get the size in bytes of the columns in each table... not the length of the data in the column as there is none. So I need to add up the size of number, size of nvarchar 100 etc for a table. I can only see Avg row size and functions to give me the size of data contained in the row.
PS.. a nice cursor or something that would take in table names and do this would be cool
thanks M
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
yes, that sounds like a good start :)
ASKER
Cool Angel... this was easier than working out the data size in a row..lol so this is correct... if so I will award the points... thanks for the link...rgds m
ASKER
thanks Angel