• ok Gail works fine thanks. Noticed couple of things after the process completed:

    a) The mdf data file could not be shrunk below it's new size (approx 1GB)

    b) The log file could not be shrunk as all pages allocated

    For b) I didn't need this data and the dB is test so I put dB into Simple recovery mode and then was able to shrink the log with truncateonly, then reverting back to Full recovery

    For a) I'm assuming that in rebuilding the indexes any unallocated space would then be freed

    May the force be with you 😉