Viewing 15 posts - 466 through 480 (of 619 total)
Alternatively you can run this:
USE [master]
GO
/****** Object: StoredProcedure [dbo].[sp_help_revlogin_specific_name] Script Date: 01/27/2009 15:51:26 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[sp_help_revlogin_specific_name] @login_name sysname = NULL AS
DECLARE @name...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 27, 2009 at 8:54 am
Hi there,
Assuming that the two databases already exits and that the user is a domain user (DOMAIN\USERNAME), this will work:
USE [master]
CREATE LOGIN [{YOUR-DOMAIN}\{user}] FROM WINDOWS WITH DEFAULT_DATABASE=[master]
USE [{db-name-1}]
CREATE USER [{YOUR-DOMAIN}\{user}]...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 27, 2009 at 8:40 am
MANU (1/21/2009)
Also, I liked the below mentioned solution given by noonone at
http://www.sqlservercentral.com/Forums/Topic115333-7-1.aspx
MJ
That worked brilliantly MANU, thanks.
I had seen that posting yesterday, but the restore option was greyed ourt, so...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 21, 2009 at 9:04 am
Steve Jones - Editor (1/21/2009)
Have you tried drop database from T-SQL or just used SSMS?
Hey Steve,
Both, error i get is:
Msg 3724, Level 16, State 3, Line 1
Cannot drop the database...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 21, 2009 at 3:58 am
Hey All,
Just to update you, we have found a way around this issue. Turns out we dont need to role back single inserts within the trigger.
We tried all we could...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 20, 2009 at 2:38 am
Jack,
Where should the COMMIT in the code be? the developer reckons at the start of the trigger (before the SAVE), but I thought at the bottom of the TRY.
Are either...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 19, 2009 at 7:19 am
Hey Jack,
Hoped this would reach you. Will pass on to the developer and get him test.
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 19, 2009 at 7:10 am
just write a batch to check on the services, you will have to hard code but should be fine after that.
Cant remember the sytax but the util comes from...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 16, 2009 at 4:39 am
Hey there,
I found an article a while back which is incredible. You can change the collation of a db and re-format the data in situ. So in your case...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 16, 2009 at 4:27 am
And message the correct forum.
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 16, 2009 at 4:20 am
Phillip Oyog (1/15/2009)
This is my first post ever on SqlServerCentral so bear with me. We have a high-availability mirror set up in our office running on Windows 2003 srvr...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 16, 2009 at 4:19 am
Phillip Oyog (1/15/2009)
This is my first post ever on SqlServerCentral so bear with me. We have a high-availability mirror set up in our office running on Windows 2003 srvr...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 16, 2009 at 4:18 am
Did you select to 'initialize' your subscription? Sometimes this step can stall if your account does not have sufficient rights on both servers.
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 9, 2009 at 9:11 am
Agreed.
I'm just looked at the article and those b*ggers have renamed it to 2008. Even Google says its 2005. Oh well, I guess it jsut works the same way in...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 7, 2009 at 10:15 am
Hii David,
I think we both misunderstood and some point. What you can do is run a SQLCLI command to rebuild the system databases. This is generally used to recover from...
Adam Zacks-------------------------------------------Be Nice, Or Leave
January 7, 2009 at 10:00 am
Viewing 15 posts - 466 through 480 (of 619 total)