Forum Replies Created

Viewing 15 posts - 22,006 through 22,020 (of 26,484 total)

  • RE: Update query is killing me..

    You can help us help you by reading the first article I have linked in my signature block below that regarding asking for assistance.

  • RE: T-Sql rant

    So, what don't you like about T-SQL? I find it quite easy to work with and haven't had any problem moving from a 3GL language (COBOL) to it.

    The paradigm...

  • RE: Loop to update table

    After stopping your code (still hadn't finished after 55 minutes), I reran the code I showed above and here are the results.

    My code:

    SQL Server Execution Times:

    CPU time...

  • RE: Loop to update table

    Now, you may be askiing "Why?" Check the second article (Running Totals and its variations) I have linked below in my signature block. If it has been republished...

  • RE: Loop to update table

    Manju (3/13/2009)


    I completely agree with your assesment of my query. I thought I had made that some what clear myself when I said "with the sample dataset"; but I should've...

  • RE: Loop to update table

    Manju (3/13/2009)


    Just tried the following for academic reasons -

    With the sample dataset, the execution plan seemed far simpler - you may want to give this a try too.

    update t set

    ...

  • RE: PHP with MS SQL SERVER CONNECTIONS

    Since this is a school project, it is best if you do your initial research first. As you find the various answers to your initial questions and need clarification...

  • RE: What is wrong with this statement

    ramadesai108 (3/13/2009)


    The output should be intID and ClientID. Take out the intID in the order by statement because that was a mistake. As seen by one of the responder, the...

  • RE: What is wrong with this statement

    ramadesai108 (3/13/2009)


    Hi,

    The index is on the intID column. here is the script to create table and add data

    create table Clients

    (

    intID INT,

    ...

  • RE: What is wrong with this statement

    Please post the DDL for your table, sample data (as INSERT statements that can be cut and paste into SSMS and run) including both numeric and non-nummeric client ids, and...

  • RE: How to solve the following - correlated subquery, or CTE with use of ROW_NUMBER()?

    Milan Sadil (3/12/2009)


    Table1 - personID, firstName, lastName

    Table2 - personID, badgeID, validFrom, validUntil

    I would need to create a query that would result in the folowing:

    firstName, lastName, badgeID

    whereas:

    - only valid badgeID (understand...

  • RE: Are the posted questions getting worse?

    GilaMonster (3/13/2009)


    Am I being too harsh here?

    http://www.sqlservercentral.com/Forums/FindPost675279.aspx

    Nope, not too harsh in my opinion.

  • RE: Seemingly simple select question

    Unfortunately what you have does not work. Try it with the other criteria you stated earlier, it still returns 1.99.

    Also, unfortunately, I don't have time right now to look...

  • RE: Calculating Age

    Richard Briggs (3/13/2009)


    Richard Briggs (3/13/2009)


    Comrades,

    as regards my own post on creating a CALCULATED PERSISTED column containing 'Age'.

    I have discovered that actually because GetDate() is non-deterministic such a column cannot be...

  • RE: Are the posted questions getting worse?

    Oh Boy! Double Posted Interview Questions that OP couldn't answer, here, and here

    Really makes you want to jump right and help, don't it? 😛

Viewing 15 posts - 22,006 through 22,020 (of 26,484 total)