Viewing 2 posts - 1 through 2 (of 2 total)
I also had an issue with usp_Main_GetSessionInfo due to the max value for milliseconds in the DateDiff function being less than 24 Days (etc). Therefore, to maintain a good degree...
July 29, 2009 at 5:53 am
#1031567
If you want to check for the existance first then its:-
IF EXISTS (SELECT * FROM sys.database_principals WHERE name = N'someuser')
DROP USER [someuser]
September 17, 2008 at 2:23 am
#872851