Forum Replies Created

Viewing 15 posts - 48,316 through 48,330 (of 59,064 total)

  • RE: Developers' access to dev SQL Server

    It actually doesn't matter what privs you give Developers on the Dev box... if you allow Developers to design their own tables and you don't have any coding standards and...

  • RE: "For each table in database......"

    True enough... my question is why you'd want to do anything to all tables from outside the database when the database does it so well?

  • RE: Splitting a String in SQL - Help Please!

    Funny you should bring that article up... 🙂

    http://www.sqlservercentral.com/articles/TSQL/62867/

    But the desired method to do the split depends on my question... Is this a single parameter being split or does a whole...

  • RE: loading a table parallely

    Bulk Insert will load up to 5.1 million rows of 20 columns each in 60 seconds flat. How many rows are you trying to import?

  • RE: functions

    To clarify what Sergiy just said... all those functions that do "lookups" are just an insideous way of doing correlated subqueries which are RBAR on sterioids. RBAR can appear...

  • RE: Customer Ranking

    After looking at this, I think the folks that recommended "NTile" are probably producing the more accurate answer. Are you absolutely positive you want to do that running total...

  • RE: Customer Ranking

    pps... I'm not sure that you need the likes of a running total on this... I'm still looking...

  • RE: Customer Ranking

    Ps... I didn't change any of the smiley faces to ")"... you'll need to do that, I just copied your code.

    Also, if you don't mind... you said it took a...

  • RE: Customer Ranking

    upperbognor (9/12/2008)


    I'm wondering if there is a faster solution possibly....

    It's currently taking the longest calculating the running total due to the cross join.

    Yes, there is a much faster method and,...

  • RE: "For each table in database......"

    Heh... ACK!... cursors... while loops... sp_MSForEachTable which contains one of the most ineffecient general purpose cursors there will ever be...

    Yeaup... they all work. But, in SQL Server 2005, there...

  • RE: Adding +1 to MAX()

    rsheppick (9/12/2008)


    Well, I have to manipulate them somewhat.

    Not quite the business reason we were hoping for. 😉 There are several solutions depending on the requirements of a valid business...

  • RE: Splitting a String in SQL - Help Please!

    greig.burrows (9/12/2008)


    Hi there! I'm struggling to split a string.. hope somebody can help me. Here's a description of my problem:

    Ugh... UDF's... While Loops... all good ways to slow your code...

  • RE: Are there equivalents in Oracle Sql ?

    jmuldoon (9/10/2008)


    My experience seems to be the opposite of popular opinion out there. Things that seem to be simple and trivial in TSQL end up to be amazingly verbose and...

  • RE: Calculating Work Days

    dulanjan (9/12/2008)


    jeff...i came up with an interesting dilemma with your function.

    if the start date is a saturday and the end date is a sunday it returns a -1.

    i think this...

  • RE: Local Temporary Tables and Table Variables

    Ummm... high IO and CPU isn't necessarily caused by either Table Variables or Temp Tables. It's HOW they are used. I think what you're going to find is...

Viewing 15 posts - 48,316 through 48,330 (of 59,064 total)