Forum Replies Created

Viewing 15 posts - 11,866 through 11,880 (of 14,953 total)

  • RE: need help in INDEXING AND TABLE DESING

    b

    - 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: Commom Table Expressions VS Sub-queries

    The difference is that a CTE can be used multiple times, and can be used in later CTEs in the same query, while a sub-query (derived table) can't do either...

    - 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: Unwanted Database Mail notifications when jobs run successfully

    I've never seen that not work.

    When you open the jobs up in Management Studio and go to Notifications, does it still say "On Completion" or does it say "On Failure"?

    - 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: Database Connections as a Variable - Help Please

    You can set the connecting string for a database connection as a variable by setting in an expression.

    - 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: Dsik Space Monitor

    I build my own tool for this purpose.

    I have a database called DBA that has tools in it for DBAs. One of the tools has these objects:

    USE [DBA]

    GO

    CREATE TABLE...

    - 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: Query Tuning in TSQL

    If it's less than 100 rows, use a table variable. If it's more, use a temp table. That's the simple version.

    Really, it's not quite that simple, and the...

    - 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: actual date each insert /update operation that is performed on a table

    Keep in mind that tracking the last time something was updated is only good for knowing if the row has been refreshed recently. It doesn't tell you how often...

    - 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: database physical design

    I once saw a performance improvement with and OLTP database on RAID-5 when the files were split in two and some of the most commonly used indexes were moved into...

    - 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: Programs to aid development

    Mainly, I use lots of testing.

    - 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: I have some doubts regarding perforamce tuning

    I'm curious, I must admit, about the connection between the title and the actual post. What do missing records have to do with performance tuning? Same for non-responsive...

    - 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: I have some doubts regarding perforamce tuning

    All possible steps for a database being down?

    I don't have time enough left in this lifetime to write all of those.

    1. Does the server still exist (fire, tornado, flood destruction)?

    2....

    - 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: Stored Procedure that runs hourly to assign Day (timezone) values in database

    I think I must be missing the point. Why would you run something for a weekly notification, but run it every hour?

    There is probably a good reason to 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: Is this article correct? Temp Tables vs. Table Variables in SQL Server 2005

    I looked at the code on the other site, and there isn't enough there to do a real work-over on it, but there are a few things that stand out.

    First,...

    - 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: Is this article correct? Temp Tables vs. Table Variables in SQL Server 2005

    Jeff Moden (9/30/2008)


    Heh... I find it very difficult to believe an article on performance where the author says "At first, we prepare a test table with 1 million records:" and...

    - 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: Is this article correct? Temp Tables vs. Table Variables in SQL Server 2005

    Generally speaking, UDFs work just about the same in 2005 as they did in 2000. I have several that I didn't change a line of code in, and they...

    - 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 - 11,866 through 11,880 (of 14,953 total)