Forum Replies Created

Viewing 15 posts - 11,371 through 11,385 (of 14,953 total)

  • RE: SQL Server Architecture? What's going on behind the scenes?

    Perry Whittle (1/22/2009)


    GSquared (1/22/2009)


    how often in a DBA's career does it really matter that pages are 8k in size,

    database sizing springs to mind, something a DBA may well 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: The Set-Based Limit

    Jeff Moden (1/22/2009)


    GSquared (1/22/2009)


    Needed in batches of about 5-10,000 at a time, usually about 100k per week.

    So, there's on situation where I consider procedural code valid.

    Are you saying it took...

    - 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: User Provisioning Tool on 2008?

    I'm assuming that you're logged into Vista using a domain account, that it's not Home version (meaning it's either Business or Ultimate), and you're connecting (or at least trying to)...

    - 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: Outer Join Syntax Clarification Needed

    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: Best performance Row by row loop (SQL2K)

    Try this:

    create table #T (

    ID int identity primary key,

    Col1 char(10));

    insert into #T (Col1)

    select '1' union all

    select 'a';

    select *

    from #T

    where Col1 like '%[a-z]%';

    See what that gives you.

    If it's not working for...

    - 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: datediff mm between a timestamp in varchar(50) and a small datetime ???

    On the point of both being real tables, the error from the code is because the table doesn't exist at the time the code is being compiled. The 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: datediff mm between a timestamp in varchar(50) and a small datetime ???

    JPLeBlanc (1/22/2009)


    Awesome, i see where you are going from there, just a quick check that after the conversion is performed, that it is greater than the lowest date possible....

    - 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: Correct use of @variables and uniqueidentifiers

    To select the experts with a certain code, you could use In, or Join. Either will work.

    In would look like this:

    select Email

    from dbo.Experts

    where ExpertID in

    (select ExpertID

    ...

    - 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: User Provisioning Tool on 2008?

    Are you connecting via Management Studio on the Vista machine, or via remote desktop? I guess that's where I got lost in your first post.

    I've used Vista to connect...

    - 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 has terrible performance

    I don't see anything horribly wrong with the query. A few minor details, like adding the domain to the table names, might get some tiny improvement. But 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: Risk and Assumptions

    With that clarification, I agree with you. Thought you meant something other than what you intended.

    - 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: Display not in the right format!

    In this line:

    FROM (SELECT BOWEEKLYCLEAR, CONVERT(varchar(16), BOCLEARDATE, 101) AS BOCLEARDATE

    change it to:

    FROM (SELECT isnull(BOWEEKLYCLEAR, 0) as BOWEEKLYCLEAR, CONVERT(varchar(16), BOCLEARDATE, 101) AS BOCLEARDATE

    That...

    - 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: How do i run a job based on success of another job?

    praveen.g.thampi (1/22/2009)


    GSquared (1/22/2009)


    Add a step in between that checks the end-time of step 3 (currently job 3), and continues to step 4 depending on the time.

    Hi,

    Can you pls elaborate that...

    - 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 giving me different results

    You're very welcome. Helping people out is the main reason I visit this site.

    - 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: Outer Join Syntax Clarification Needed

    Since it has "CT" on the first part of the join math, it's refering to the table that was aliased as "CT", which, in this case, is the credit transactions...

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