Viewing 15 posts - 5,626 through 5,640 (of 7,505 total)
especialy on production boxes, you may want to avoid haven autoclose active !
This way sqlserver will keep the database open and you'll avoid the time consuming open action for your...
September 6, 2007 at 1:51 am
IMHO your "quotable" datatype is a user defined datatype ![]()
Easyest way to find out is to use Enterprise Manager, connect to the database and...
September 5, 2007 at 5:09 am
- can you see anything in the sqlserver errorlog file(s) when you reboot the server ?
- or in the errorlog.1 file if you start it manualy ?
- Are there any...
September 5, 2007 at 5:04 am
maybe this may be a valid workaround :
September 5, 2007 at 3:53 am
try using underscores (_) in stead of minus signs (-) in your servernames !
September 5, 2007 at 3:31 am
and there is off course the IS_SRVROLEMEMBER ('sysadmin')
September 5, 2007 at 3:06 am
Indeed, membership of sysadmins-role is tricky !!
It switches context to 'sa' at connect and run-time.
This clarifies the "dbo" !
A sysadmin is Lord and Master for the whole and complete,...
September 5, 2007 at 2:48 am
.. Thanks for your help with this by the way! ..
That's the strength of forums like SSC ![]()
Like you do, I find your results...
September 4, 2007 at 8:15 am
can you also try :
select user_id('malinowm2')
?
September 4, 2007 at 7:53 am
another 'why not use a view' :
You cannot alter a view if someone is using it at that moment !
September 4, 2007 at 7:33 am
UID Uname
------ ------
1 dbo
means your current user _is_ the database owner !
(if he were member of db_owner, it would still show the actual username)
September 4, 2007 at 6:51 am
can you execute the same script preceded by :
select user_id() as UID
, user_name() as Uname
select SUSER_SID ( ) SUSID
, suser_sname() as SUname
go
September 4, 2007 at 4:41 am
keep in mind you need to be connected with that user and to the correct database.
Overhere it works fine (sql2000 sp4 + CU(2187))
Did you also try sp_helprolemember @rolename = 'testrole'
September 4, 2007 at 12:38 am
Is there a maintenance plan (with remove free space ? ) ?
September 4, 2007 at 12:33 am
- check your sqlserver errorlog file to find out what's going on !
(yourserverdrive:\mssql\log\errorlog = to be opened with notepad)
August 31, 2007 at 12:36 pm
Viewing 15 posts - 5,626 through 5,640 (of 7,505 total)