store proc

  • My mistake. I was confusing "with execute as owner", which doesn't use single-quotes, with the rules for "with execute as 'login'", which does require single-quotes. You'd want to do it as "with login as 'dbo'". "with execute as owner" might be better, or "with execute as self", will cause it to run under your credentials, even when someone else executes it.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing post 31 (of 30 total)

You must be logged in to reply to this topic. Login to reply