Forum Replies Created

Viewing 15 posts - 46,426 through 46,440 (of 49,552 total)

  • RE: Sparse files in SQL 2005

    All instant file initialisation means is that the OS doesn't zero out the file during allocation. It means that the file can be allocated with just some changes to the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Question about Indexes with Multiple Fields

    It mainly depends on the queries that use that table.

    There have been a couple discussions on this the last few weeks. These 2 threads should get you started. If you...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Strange

    I assume you're using object explore or registered servers then. The step/start/restart there uses the currently logged in windows user and net commands to do the requested operation. It doesn't...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Slow Running Query

    aspirant.dba (5/22/2008)


    When i executed Select statement against the Table, it took more than 25 mins to return the table.

    If you tried to retrieve the entire table it's going to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: CREATE DATABASE AS SNAPSHOT Access Violation

    Generally for access violations you should contact Microsoft's Customer Support Services (formerly known as PSS) as they have much more chance of solving this than we do. It does cost,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Strange

    How are you restarting the service? (registered servers, object explorer, xp_cmdshell, shutdown)?

    The user which am using is a SQL login and its not a domain user.

    I'm not talking about...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Strange

    Ratheesh.K.Nair (5/22/2008)


    I tried using a new login with only datareader and datawriter database roles and access to only one DB.

    Not what I asked.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: sp_executesql : Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'.

    you can use exec, since you're not passing parameters in or out of the dynamic SQL

    CREATE procedure Search

    (

    @SearchKeyword Varchar(2000),

    @Productid varchar(2000),

    @Type varchar(200),

    @SQLPerms varchar(5000)

    )

    as

    Declare @sql varchar(7000)

    set @sql=' This Statement length goes...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Strange

    How are you restarting it?

    Are you a domain/local administrator on the server?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Server Low Performance

    Please rather post SQL 7 related questions in the SQL 7 and 2000 forum, rather than the SQL 2005 forum. Here you're going to get a lot of suggestions for...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: CREATE DATABASE AS SNAPSHOT Access Violation

    Sounds like you may have hit a bug.

    What's your version, edition and OS? Can you zip and attach the text file that the dump creates to a post please?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Parallel file operations

    Slawek (5/21/2008)


    What do you think - is it better to scan the entire table every DW load, or is it better to create non clustered index on timestamp column...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: TOP vs ROW_NUMBER

    Matt Miller (5/21/2008)


    If you want to see some REALLY interesting things - throw in the MAX() OVER () into your testing.

    Max () OVER ()???? :blink:

    < wanders off in...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Translog filling fast - attack on SQL?

    In SQL 2005, only objects that a user has rights on can be seen from the system views. So, if your web site user has no access to the base...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Cursors and Indexes

    You may be able to remove the inner cursor. The outer one, no.

    WHILE @@FETCH_STATUS = 0

    BEGIN

    --Find the number of days before ESCALATION

    ...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 46,426 through 46,440 (of 49,552 total)