Forum Replies Created

Viewing 15 posts - 616 through 630 (of 1,353 total)

  • RE: A Case FOR Cursors...

    Still no reason to go to a cursor.

    I only use(d) a cursor to initially populate the dates. The susquent updates, including the holidays (each holiday date individually typed out),...

  • RE: A Case FOR Cursors...

    Why would the day being a holiday be a problem?

    It's not a problem, it's just that there's no date function for that and unlike almost all the others has to...

  • RE: A Case FOR Cursors...

    Why do you need the hour? Is that necessary to populate the date when it's just the date? I'm intrigued by this method, but not sure it addresses...

  • RE: A Case FOR Cursors...

    None of the links worked for me. What am I not doing correctly?

  • RE: A Case FOR Cursors...

    Populating a date dimension can be done using a tally table. No loop necessary.

    The code executes faster but it is also a LOT simpler to write than a loop.

    The loop...

  • RE: A Case FOR Cursors...

    cursors are there to be used for admin scripts to be executed manually

    I like this caveat, especially as it now excuses my one use I have for looping in TSQL:...

  • RE: A Case FOR Cursors...

    Creating a procedure to automatically rebuild or reorder indexes throughout your entire database is one.

    Great example if you are going to do something other than simply reindexing the entire database....

  • RE: A Case FOR Cursors...

    And let's also consider the other reality--just because *you* may think you're a sql God--chances are the person maintaining that in 6 months won't be

    For as much as I know...

  • RE: A Case FOR Cursors...

    Sometimes we use CURSORS in our order processing environment to move data between systems and changing statuses on each record processed. The main reason for using a cursor is that...

  • RE: A Case FOR Cursors...

    I have never read the statement "do not use cursors" in any other way than interpreting it as "do not use row-by-row operations, use set operations instead".

    Agreed. Some...

  • RE: Refreshing the data warehouse without hurting anybody

    Oh... and I almost forgot (this one is a brilliant). They have some funky "automated" way of creating their DWs but it means that most dimensions are basically cookie cutter...

  • RE: Refreshing the data warehouse without hurting anybody

    The case/jury analogy was just to promote discussion in a situation where the contract is silent on certain issues (all contracts are silent on at least some things).

    If they wrote...

  • RE: Refreshing the data warehouse without hurting anybody

    Users could make use of other methods to query the underlying database

    In other places, perhaps, but I don't allow that.

  • RE: Refreshing the data warehouse without hurting anybody

    Not sure that I agree 100% with that statement Ron. If you incrementally load dimensions and then facts, this scenario (facts pointing to incorrect/non-existent dimension members) will not happen.

    I'm...

  • RE: Refreshing the data warehouse without hurting anybody

    that we should have explicitly specified that these errors (where the facts and dims get out of sync AND queried, during refresh) not occur

    Yes, that's what I'm saying. Even...

Viewing 15 posts - 616 through 630 (of 1,353 total)