Forum Replies Created

Viewing 15 posts - 7,921 through 7,935 (of 9,720 total)

  • RE: SP_Errorlog

    Describ the steps you're taking to read the error log, please.

    Also, is the log file hard drive full? Have you recently run a diskscan to verify all the sectors are...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Disk Queue length

    Tara-1044200 (6/1/2010)


    This disk is SAN configured with RAID5. I always think of keeping database files on multiuple drives hoping to have better performance but my network admin says that it...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Question about "Execute as "

    So I guess the answer depends on how the linked server is setup. I'm betting the impersonate permission is causing your ability to use it.

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Error: Connect to Management Studio

    Chances are your uninstall didn't uninstall cleanly or completely. Or the install upgraded a SQL Server component. I'd advise googling "Uninstall Deklarit" and see if you find any articles on...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Question about "Execute as "

    I don't know what settings Marco used, but I created a Test sql account on a server, using Master as the default and granted no permissions.

    The linked server does not...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Question about "Execute as "

    mchofman (6/1/2010)


    It is possible to run query at a linked server as another user with the EXECUTE AS statement. In the example below I login as user "Test" and I...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: small table + many DELETES + UPDATE = deadlocks

    mberry 51447 (6/1/2010)


    somehow I dont believe that use of the UPPER function is causing this.

    Every function included in a WHERE clause causes problems. It most instances, it can turn a...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: small table + many DELETES + UPDATE = deadlocks

    mberry 51447 (6/1/2010)


    Nope it is SQL_Latin1_General_CP1_CI_AS

    If the database is case insensitive, do you know why the vendor put an UPPER() function in the WHERE clause?

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: How to findout who changed the sqlserver properties?

    If you don't have the auditing set up to keep this info, then there's really no way you can go back and find out who changed your server properties. Sorry....

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: How to disconnect all users from a server ?

    Better method... Not really.

    Simplier (and not recommended) methods? Yes.

    1) Set all DBs to Single User mode.

    2) Take all DBs offline (will have to click the "Disconnect connected users"...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Error: Connect to Management Studio

    Have you been able to connect to them before?

    If so, what recently changed on the computer? Service Packs? Other updates? New programs? Uninstall of old programs?

    If not, try re-installing the...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: small table + many DELETES + UPDATE = deadlocks

    She's not asking for the log file. Do you know how to do a deadlock graph?

    If not, let us know and we can walk you through it. If so, please...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Linked Server Update - difference in behaviour SQL2005/SQL2000

    Try re-writing your code in ANSI style joins.

    UPDATE W

    SET TableNumber = T.TableNumber,

    LineNumber = T.LineNumber,

    .....

    UnitNumber = T.UnitNumber

    FROM [LINKED SERVER].DATABASE.dbo.TABLE1 AS W

    INNER JOIN [LINKEDSERVER].DATABASE.dbo.temporaryTABLE AS T

    ON W.IdentityID = T.IdentityID

    The method you...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Question about "Execute as "

    To use "Execute AS," I'm pretty sure you need Sysadmin access or you need to be executing a proc that has that phrase *in* the code.

    If you only have read...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Struggling to engage brain! SQL code requiring a simple solution!

    elutin (6/1/2010)

    SET @Package = NULLIF(@Package, '**SELECT ALL**')

    NULLIF? That's the first time I've heard of that function. I'm glad I read this thread.

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

Viewing 15 posts - 7,921 through 7,935 (of 9,720 total)