• It sounds clear to me.

    But... I am looking for how to get the output from SP_spaceused in variables. Now I can use the output in a text file and I have seen on the internet how to catch it in a temptable. But what I really want is to get the output in variables with my own defined length. Is there anyone who can explain that to me?

    Regards,

    Dewes van Lohuizen 

    Dewes van Lohuizen,
    DBA at CSC Netherlands
    Private interest: www.mikondo.nl