Viewing 4 posts - 1 through 4 (of 4 total)
Excellent article.
I was having a permission denied on db_mail when sending a email from a sp that was being executed by Service Broker, and this was despite the user who...
July 16, 2012 at 8:45 am
Thanks Paul,
but I went with this instead, avoid anything that relies on DATEFIRST or regional
settings, and instead, define the week start explicitly in the query.
Here is one solution (using...
November 7, 2005 at 7:59 am
Hi AJ
just looked set DateFirst sets :
SET DATEFIRST permissions default to all users.
So I don't really want to go there, any other ideas ?
Thanks again
Frank
November 7, 2005 at 6:38 am
Hi AJ
using select @@DATEFIRST brings me back 7 - for Sunday and
SELECT DATEPART(WEEKDAY, '2005-11-06') brings back a 1,
quick question if I use SET DATEFIRST 1 will that not change the...
November 7, 2005 at 6:28 am
Viewing 4 posts - 1 through 4 (of 4 total)