Forum Replies Created

Viewing 15 posts - 19,291 through 19,305 (of 22,202 total)

  • RE: execution plan not using correct index

    Do you ever do a FULL SCAN on the statistics or just rely on the default behavior? The thing is, rebuilding the index on Friday updates the statistics. Running another...

  • RE: execution plan not using correct index

    It's even possible that the index is actually not selective enough for the optimizer to choose it for the query. Even though you're forcing it's use makes the query run...

  • RE: Storing Negative Numbers

    Not unless I've missed it to. If the value of a number is -3, it's -3, not 3 with some negative sign kept elsewhere that may or may not change...

  • RE: SQL 2008 on development machine, with SQL 2005 on production server

    Just a vote. 1,2,4, yes because I've done them.

    3. I'm not sure, but I lean towards no. I guess it depends on how you create the report. I'm just not...

  • RE: Sqlserver2000

    Here is an entry in the Books Online (SQL Server documentation) that should get you started. It includes sample code.

    http://msdn.microsoft.com/en-us/library/aa225983(SQL.80).aspx

  • RE: Error handling

    You don't really have any options in SQL Server 2000. The best you can do is check after each statement for an error value and use a GO TO to...

  • RE: 2008 Index Fragmentation Maintenance

    I like that clean up. Fewer joins and a simpler query. Nicely done.

    Thanks for making me look at the query again. I've still got a bit of the debugging...

  • RE: Post-Performance of sql

    That's a very good description of how to get started. If you need something a bit more fundamental, try this article on SimpleTalk[/url].

  • RE: Default Isolation Level in stored procedures

    I wouldn't recommend that either for the same reasons. Itzik Ben-Gan has a great set of example scripts that show how using NOLOCK & other dirty read mechanisms can lead...

  • RE: Post-Performance of sql

    Easily done. You can set up a Profiler job to look exactly like what you want to monitor. Export that job to a SQL file using File, Export, Script Definition....

  • RE: Alter fill factor script

    From the books online:

    Setting Options Without Rebuilding

    By using the SET clause in the ALTER INDEX statement, you can set the following index options without rebuilding the index:

    ALLOW_PAGE_LOCKS

    ALLOW_ROW_LOCKS

    IGNORE_DUP_KEY

    These options are...

  • RE: Alter fill factor script

    [script]ALTER INDEX x ON z

    REBUILD WITH (FILLFACTOR = 100);

    [/script]

  • RE: Post-Performance of sql

    Off hours information of system slowness?

    I'm guessing that setting a trace using Profiler and getting monitoring information using Performance Monitor will do what you need.

  • RE: Default Isolation Level in stored procedures

    If you use the read uncommitted, you can, not only get partially updated records, but duplicate or missing records since page splits and reorders due to changes in the data...

  • RE: Values passed to Stored Proc

    You might want to do a search of the scripts over on the left. Look for functions that convert comma delimited lists into a table. That way you don't have...

Viewing 15 posts - 19,291 through 19,305 (of 22,202 total)