Forum Replies Created

Viewing 15 posts - 706 through 720 (of 3,666 total)

  • RE: How to select records only when their status has been changed?

    Why should 10 be selected? Its status is paid, but that status has not changed.



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SQL Server Data Lost on User DB's

    ericpap (6/9/2015)


    Alvin Ramard (6/9/2015)


    ericpap (6/9/2015)


    Alvin Ramard (6/9/2015)


    I can't help but wonder if someone is trying to "reset the clock" to prevent the RTM version from expiring.

    Have you discussed this problem...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SQL Server Data Lost on User DB's

    ericpap (6/9/2015)


    Alvin Ramard (6/9/2015)


    I can't help but wonder if someone is trying to "reset the clock" to prevent the RTM version from expiring.

    Have you discussed this problem with the server...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: JOIN if exists

    Jack Corbett (6/9/2015)


    ArnolddG (6/9/2015)


    Thanks for your help Alvin,

    That works okay.

    One more thing. My query is about 140 lines long.

    Is there a way to do the If Then on...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SQL Server Data Lost on User DB's

    I can't help but wonder if someone is trying to "reset the clock" to prevent the RTM version from expiring.

    Have you discussed this problem with the server administrator?



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: JOIN if exists

    ArnolddG (6/9/2015)


    Hi,

    I have standard SQL query for clients, but sometimes a client does not have a specific table.

    How do I deal with that? (creating the table is not an option)

    SELECT

    ...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Eliminate Duplicate Rows when joining multiple tables

    Lynn Pettis (6/8/2015)


    ...

    Please note, I'd rather leave the formatting of the output to the front end instead of doing here in the query.

    + 1



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SQL Server Data Lost on User DB's

    Have you looked at the event logs for the server?



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SQL Server Data Lost on User DB's

    Steve Jones - SSC Editor (6/8/2015)


    there isn't a restore that has taken place, so either there's some storage change (possibly a restore of some sort) or a machine level change...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Eliminate Duplicate Rows when joining multiple tables

    I have an idea. You could use a case statement to set the sales amount to 0.00 if the year and month for the revenue is not the same...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Eliminate Duplicate Rows when joining multiple tables

    If you want a record for each revenue for each month of each year, then I do not see how you can do that without repeating the sale in each...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: SSIS Recommendation for Data Transfer

    If I were doing this, where I already had SSIS packages running, I wouldn't waste my time looking for other possibilities. I'd do it in SSIS.



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Review Data Type Mapping (SQL Server Import And Export Wizard), SQL Server 2008 R2

    jpserra3 (6/8/2015)


    Could the reason why I do not see the 'Review Data Type Mapping' screen because I am using SQL Server 2008 R2 Developer edition as opposed to Enterprise...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Differential Backup restore sequence

    There can be more than one correct answer here, including just restoring the last log backup.

    Are we correct in assuming that you want the correct sequence that starts with restoring...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • RE: Restore Sequence

    spaghettidba (6/8/2015)


    You don't need all the differentials since the last full, just the latest one.

    This is what you need:

    1. Last full backup

    2. Last differential

    3. All the log backups taken after...



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

Viewing 15 posts - 706 through 720 (of 3,666 total)