Forum Replies Created

Viewing 15 posts - 47,356 through 47,370 (of 49,552 total)

  • RE: Lock table during index creation

    We're not that strict here. The same post in 2 different places means that people will waste time answering something that has been answered already.

    If you realise the post is...

    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: lock table during index creation

    Not at all. SQL's quite capable of handling index creation while the DB's in use.

    Since you're on SQL 2005, you can create the index either online or offline. Offline is...

    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: Lock table during index creation

    Please don't cross post. It just wastes people's time.

    Answered on the following thread - http://www.sqlservercentral.com/Forums/Topic455740-169-1.aspx

    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 level DDL trigger for DROP_DATABASE

    Triggers returning rowsets is frowned upon. There's a server setting that prohibits triggers from retruning result sets at all.

    I would suggest you stick to print.

    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: Monthly SQL Crashes

    It's a x64 server, so no PAE memory, but 14GB is still a little too high. I prefer my available memory to be at least 1.5-2GB on servers with 16GB...

    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: lock table during index creation

    Why do you want to lock the tables?

    iirc, in SQL 2000, creating a nonclustered index makes the table readonly for the duration of the index creation

    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: Datetime question

    Frank Woodard (2/14/2008)


    select * from table where [datetime] between '2007/02/14' and '2007/02/15' this will give you 2007/02/14 from 00:00:00.0 through 23:59:59.9

    That will return 2007/02/14 from 00:00:00.000 through 23:59:59.997 and...

    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: Deadlock please help

    Probably both have select locks on a page and both want to escalate to exclusive. Instant deadlock.

    Could you post the code for both the proc and the trigger, as well...

    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: Big pages

    Steve Jones - Editor (2/14/2008)


    I'd like to reduce the size. Not sure how much work I'll get done there. The developers apparently like .NET and Javascript and generated lots of...

    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: Monthly SQL Crashes

    Stu (2/14/2008)


    This server runs just the one instance of SQL and is a dedicated server so is not used for anything else. I've been informed that we aren'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: EXISTS Subqueries: SELECT 1 vs. SELECT * (Database Weekly 11.02.2008)

    No idea, sorry.

    If you just do a straight Select 1 FROM a, do you get the same error?

    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: Local variable to hold Image

    The thing is, you can't create a variable of type image. If it were SQL 2005, you could use varbinar(max) but that's not an option on 2000. So the suggested...

    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: Local variable to hold Image

    Can you post the import proc please?

    There are serveral people here very good at 'fixing' cursors (by replacing them with set-based code)

    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: SQL Server 2000 / SQL Server 2005 dual install

    The do work together pretty well.

    Make sure when you install 2005 that you create a new instance and don't upgrade the 2000 instance.

    I would recommend setting the max memory...

    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: Database Locks

    Absolutely. While it wouldn't speed up the entire process, it would shorten the length of the locks on the updated table.

    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 - 47,356 through 47,370 (of 49,552 total)