Forum Replies Created

Viewing 15 posts - 466 through 480 (of 619 total)

  • RE: List of Logins

    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...

  • RE: How do I set up a new Login with restricted Access?

    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}]...

  • RE: Cant remove orphaned database

    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...

  • RE: Cant remove orphaned database

    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...

  • RE: Error rolling back to savepoint

    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...

  • RE: Error rolling back to savepoint

    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...

  • RE: Error rolling back to savepoint

    Hey Jack,

    Hoped this would reach you. Will pass on to the developer and get him test.

  • RE: Alternate options to check if the SQL server is running

    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...

  • RE: Data migration with new collation

    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...

  • RE: SP4 of sql server 2000,way of installing

    And message the correct forum.

  • RE: SQL mirroring. Both servers In Recovery

    Phillip Oyog (1/15/2009)


    Hello,

    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...

  • RE: SQL mirroring. Both servers In Recovery

    Phillip Oyog (1/15/2009)


    Hello,

    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...

  • RE: replication

    Did you select to 'initialize' your subscription? Sometimes this step can stall if your account does not have sufficient rights on both servers.

  • RE: Changing the server collation

    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...

  • RE: Changing the server collation

    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...

Viewing 15 posts - 466 through 480 (of 619 total)