I am trying to shrink the database through a graphical interface by right-clicking on the database and going into the task, but I can't see any shrink options in there. So I'm wondering if I might have to do this with code. How can I shrink a database using code?