Forum Replies Created

Viewing 15 posts - 38,206 through 38,220 (of 49,571 total)

  • RE: Why Cursors so bad

    Grant Fritchey (6/25/2009)


    Oooh. That's a good one.

    I'd give credit, but I have no recollection who initially said it.

  • RE: WHY CHECK CONSTRINT IS NOT WORKING

    saidwarak01 (6/25/2009)


    My simple advise to moderators is any kind of post whether it is simple or tuff. It should be properly handled by giving some solution.

    And it has...

  • RE: Why Cursors so bad

    Grant Fritchey (6/25/2009)


    Cursors operate on each row, one at a time. SQL is a set based language designed to work on blocks of data. Which is faster, one thing at...

  • RE: Index Usage Question

    GDI Lord (6/25/2009)


    IWhy would it use IX_Tmp_bob_pkColB if I haven't included any reference/data/information about pkColA in it? ("RTFM on covering indices!"?)

    As I mentioned earlier, the clustering key is always part...

  • RE: N00b SQLS2008 to SQLS2000 Syntax Problem

    It's a good idea if you're expecting inserts into the middle of the index and you want to minimise fragmentation. That's certainly a possibility with the index you have defined...

  • RE: Index Usage Question

    Tim Walker (6/25/2009)


    Additionally I am guessing it uses the index based on the varchar(3) column because it occupies less pages than the varchar(15) one.

    Depending, of course, on the size of...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (6/25/2009)


    Gianluca Sartori (6/25/2009)


    Maybe I could, but the main problem is that it's always raining... The grass grew almost to my knees...

    I don't' remember such a rainy and (relatively)...

  • RE: Why Cursors so bad

    Eswin (6/25/2009)


    How to avoid clustered and non-clustered index Scan's and also table scans.

    Indexes that support the queries.

  • RE: Join filter vs Post-Join filter

    Those two queries are not equivalent. In the second one, only rows from bbb or ccc that satisfy the condition are presented for the join. Now, in an inner join,...

  • RE: Transfer data

    hi_abhay78 (6/25/2009)


    SQL Server works on the principle of proportional fill .The data will go in all the 3 files in such a way that all the files get filled at...

  • RE: Index Usage Question

    Tim Walker (6/25/2009)


    I wouldn't recommend testing behaviour on empty tables either, because I think it can produce misleading results.

    Indeed. Reading 0 pages is pretty quick no matter what index.

    Load...

  • RE: database recovery - clarification

    Haver you checked that the script hasn't been truncated? Job steps only allow so much text in them.

  • RE: Issue on dead lock

    Those aren't object_ids. Way too long to be an object id. It's partition id. Query sys.partitions with that to get the object and index id.

    p.s. can you please edit your...

  • RE: database recovery - clarification

    vrabhadram (6/25/2009)


    please provider suggetions.

    Don't truncate the transaction log. Don't shrink the transaction log. Both are not recommended for regular maintenance. Only time you should be shrinking the transaction log is...

  • RE: Restore onto another server - same c**p as before?

    Or you could restore the backup, add clustered indexes to the tables that are heaps and drop the clustered indexes straight after. That'll remove extent fragmentation.

Viewing 15 posts - 38,206 through 38,220 (of 49,571 total)