Forum Replies Created

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

  • RE: Why Object Databases will always be Tomorrow's Technology

    Actually, some of the uses I've seen for Cache (http://www.intersystems.com/cache/) are quite functional. It's a pain to work with, at least what little I've done and from what I've...

    - 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: Using @@IDENTITY With OUPUT Clause

    Are you using Output Into, or just getting an on-screen output of the dataset?

    If you're using Output Into, then select the value from the table you input into. If...

    - 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: Identity and uniqueIdentifier and custom id

    Digs (6/16/2009)


    Well dont hold back.. how do you re build a table , and re load records into a table that has a identity key...

    I guess you just turn identity...

    - 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 a history table required for maintaining a column's previous value?

    One question is do they always change every month?

    If not, then the first solution might not work, because you might be looking for "what was the name last month", 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: Using @@IDENTITY With OUPUT Clause

    First, switch to Scope_Identity instead of @@Identity. It's a better option.

    Second, move the assignment to right after the insert, instead of after the second insert. Or am I...

    - 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 Server job reports failure on success

    Since I can't look at the jobs, I don't have any suggestions beyond, "call Microsoft".

    Not sure why there would be a difference.

    - 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 Command Help with Case statement

    Please try this, see if gets you what you want:

    SELECT DISTINCT ctm1.ID, a.*,ctm1.Member

    FROM

    (SELECT DISTINCT ctm.CommitteeTermID,

    MAX(CTM.ENDDATE) AS MaxYear

    FROM mms.dbo.vwcommitteetermmembers ctm

    WHERE YEAR(CTM.ENDDATE) =

    CASE

    WHEN MONTH(GETDATE()) IN (1,2,3,4,5,6) THEN YEAR(GETDATE())

    ELSE YEAR(GETDATE())+1

    END

    AND

    (ctm.rank...

    - 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: Problem with SUM function in subquery

    You're welcome.

    - 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: Large (and growing) database administration/considerations

    It is possible that data does not decay to uselessness in this situation. Even "old data" is sometimes critical to current data and operations.

    But it's rare that you can't...

    - 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: Identity and uniqueIdentifier and custom id

    The composite column is just asking for trouble. There are reasons that you aren't supposed to store more than one value per row in a single column. Check...

    - 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: Fixing Fragmentation After Shrinking

    GilaMonster (6/9/2009)


    GSquared (6/9/2009)


    Indexes need to be rebuilt after physical defragmentation, per Microsoft.

    Ref please?

    I can't see why. Index fragmentation is about the order of pages in the data file, shouldn't 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: Publish a Data Cube for SQL Server Analysis Server 2005

    Generally, the best way to publish them is to use Reporting Services. Is that what you mean, or am I misunderstanding you?

    - 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 Server job reports failure on success

    It shouldn't have a problem with it unless one of the steps has "On failure quit job and report failure" as one of the possibilities. Are you sure 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

  • RE: Testing the value of a variable returned from sp_executesql

    You're welcome.

    - 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 Command Help with Case statement

    Take a look at "Exists" in Books Online or on MSDN. If you include statements like "or rank = 720 and not exists (subquery)" in your Where clause 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 - 9,226 through 9,240 (of 14,953 total)