Forum Replies Created

Viewing 15 posts - 47,791 through 47,805 (of 49,571 total)

  • RE: Log File

    Ziljan4 (1/6/2008)


    Thank You again for clearing some misunderstandings.

    So, can I conclude that the only way to resolve the growing log is to take T log back up which truncates...

  • RE: Date string in WHERE causes table scan instead of index seek

    Sergiy (1/5/2008)


    Steve,

    index on a column used in "range" selection ("BETWEEN", ">" or/and "<", TRANS_DATE in your case) must be clustered.

    Fix it and the SP will be always fast.

    I don't agree...

  • RE: Corporate Programming Sucks

    Loner (1/6/2008)


    My answer was restored the full backup from midnight, then restore the last transaction log. I guessed I was only half right?

    Since they didn't say about log backups,...

  • RE: stored proc

    Or databases per customer. I've seen that before. I haven't yet had the 'pleasure' of working on monthly databases.

  • RE: Using TOP Clauses within Exists Statement

    Sure. Thing is with the rownumber, you'll only be reading the table once. With exists, you're reading it at least twice.

    -- returns 10 rows for the second page of a...

  • RE: Slow Query and High IO

    Could you post the definitions of the two tables and all the indexes on them please.

    All I can see from the exec plan is that you have two index scans....

  • RE: How do I delete excess transaction logs.

    Step 4: Rebuild all your indexes to undo the damage that ShrinkDatabase did to them

  • RE: stored proc

    Turn traceflag 1204 on (DBCC TRACEON (1204)) then run your proc. You'll get a deadlock graph written to the error log that will tell you the two processes involved in...

  • RE: Tune this...Large Estimated Row Size

    Could be IO related, could be insufficient memory, could be network speed. Could also be memory and display time on the client. It's about 70 MB of data you're tossing...

  • RE: Index Tuning

    The order of expressions in the where clause doesn't make the slightest difference. SQL will do them inn whatever order is most efficient, based on the data and the available...

  • RE: Date string in WHERE causes table scan instead of index seek

    Steve Ervolino (1/4/2008)


    Thanks for the input. Unfortunately, that didn't help either. Seems that manipulating the date at all is enough for SQL to ignore the index.

    Hmmm. Sometimes...

  • RE: Finding Current Month's First Day& Last Day

    It's a pleasure, and thank you for the feedback.

  • RE: invalid entry in sysobject preventing constraint creation

    There is no way to update any of the system tables in SQL 2005.

    Try running a DBCC CheckDB on that database. I think checkDB checks the system catalogs, so...

  • RE: SQL STATEMENT HELP

    With mine, the error is because you didn't create the function DateMonthStarts. It's not an inbuilt SQL function. The contents of the function can be found on the page I...

  • RE: Data Integrity

    Have a look at the hash_bytes function. Might do what you want. There's also checksum and checksum_agg

    I'm not sure they're sufficient for what you're trying to do, but they might...

Viewing 15 posts - 47,791 through 47,805 (of 49,571 total)