Forum Replies Created

Viewing 15 posts - 3,226 through 3,240 (of 14,953 total)

  • RE: Statistics debate

    timscronin (9/29/2011)


    Would everyone agree to rebuild all stats at least on a weekly basis?

    Nope. Should be hanlded based on what's actually needed, not on some blanket expectation that weekly...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Running a package from a sql agent that has the checkpoint file

    According to the error message, the filename is invalid. Have you made sure the file is where the package expects it to be?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: ERROR when dropping SQL Clustered Index: Could not proceed with index DDL operation on table XXX because it conflicts with another concurrent operation that is already in progress on the object.

    Something else is accessing the index at the same time, and it can't just wait for it to finish.

    Dropping a clustered index in a production database is usually something you'd...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: UPDATE Script with a JOIN

    The way most RDBMSs do this is with a sub-query, or Merge.

    UPDATE dbo.MyTable

    SET MyColumn1 =

    (SELECT MyColumnA

    FROM dbo.MyOtherTable

    ...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: SQL error while create very big table and inserting data into table

    Your maximum rowsize with that set up is 35,000 characters. SQL Server really doesn't support that.

    Why such a huge table? What possible use is 350 columns of 100...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Statistics debate

    Rebuild redoes the stats. Reorganize doesn't. That's documented behavior.

    So, if you rebuild, you already have a stat update, and doing another one (which a lot of people do)...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Openrowset returns an error when run from my WS

    First, permissions. Does the SQL service account have access to the UNC path?

    Second, is the file open in another process? I've seen that error when I accidentally left...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: ANSI_WARNINGS explanation please

    The only way I can think of to do it would be to insert the value into a table column defined in such a way that it would give a...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: What’s In Your (Junk) Drawers?

    I have virtual junk drawers full of database scripts and notes from old projects, but when it comes to hardware, I tend to throw things away pretty aggressively.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Joining tables based using a date to a date range

    No, the other query formats were just to see what the SQL engine is doing behind the scenes in building it's execution plans. No need to do anything more...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: An unusual approach to backups

    Elliott Berkihiser (9/28/2011)


    I don't want to be too harsh on these folks. Their business does not include the typical transactional database. Most of their input comes from 3rd...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    GilaMonster (9/29/2011)


    Wooooooooot!!!!!!!!!!!!!!!!!!

    2 years, many, many weekends, late nights and a mad rush to the end (and I'm not even counting the ones Jonathan did), it's here

    http://www.sqlservercentral.com/articles/books/76296/

    Awesome!

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: ORDER BY with one entry out of order

    select *

    from dbo.MyTable

    order by case Users when 'ALL' then 1 else 2 end, Users ;

    That avoids even things like entries that begin with low-ASCII-value punctuation coming before "ALL".

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Insight for a Developer in a Rut

    Simply put, we as a society put too much value on money.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Find all Databases with Simple Recovery Mode

    Try master.dbo.sysdatabases. I think that's what it was called in SQL 2000. It's sys.databases in 2005 and beyond.

    You can query that, and it has the recovery model in...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 3,226 through 3,240 (of 14,953 total)