dateadd would be a better way to handle this.
dateadd(dd, -30, getdate()). Check BOL for full syntax.

…there is little difference between them. However dateadd is a handy function to know in case he later wants to go back by months, or years when getdate()-x doesn’t work.

Denny

Well, that mostly answers that, then. Has anyone seen any performance issues or inconsistent behavior with this particular syntax? I don’t intend to switch, I’m just interested in the variation on the language.