I need to write a stored procedure to calculate the free space remaining (as a percent %) of a Database.
SO I need to .....
a> Size of the DB (to be used for data) i.e DB Size - log.
b> Reserved do far.
(b % a) * 100 = %left in DB.