Forum Replies Created

Viewing 15 posts - 526 through 540 (of 1,241 total)

  • RE: Update column based on filter

    I also wonder if you may want in the future to know if when those actions occurred. In your current design you would need three new columns for the times...

    ----------------------------------------------------

  • RE: Find a date that is closest to a between date check

    We are going to need your table definitions and a script to fill them with sample data. (Directly from the articles that you were linked to). I am not clear...

    ----------------------------------------------------

  • RE: Temporary tables and Table variables storage

    SQL Server could hold everything in RAM. Yet the database objects need to be tagged as to what database they belong to. I look at it as temp tables and...

    ----------------------------------------------------

  • RE: Calculating odds ratio with T-SQL and R

    Good stuff, thank you for taking the time to explain this.

    ----------------------------------------------------

  • RE: Calculating odds ratio with T-SQL and R

    Diligentdba 46159 (8/31/2016)


    ' I would not underestimate the competence level of members here to pick up new knowledge. ' - neither do I but I do think the average sql...

    ----------------------------------------------------

  • RE: Calculating odds ratio with T-SQL and R

    Odds ratio is better explained here since there is a more detailed example https://en.wikipedia.org/wiki/Odds_ratio

    It makes better sense now, though I wouldn't call this simplistic necessarily.

    the sql server world is...

    ----------------------------------------------------

  • RE: Problem with Web Service Task

    lemmae880 (8/29/2016)


    HI

    CAN ANY ONE HELP PLEASE

    TITLE: Web Service Task

    ------------------------------

    Could not read the Web Services Description Language (WSDL) file. The input WSDL file is not valid. The following...

    ----------------------------------------------------

  • RE: Calculating odds ratio with T-SQL and R

    It seems to me that the odds ratio is equivalent to a percentage. n1/n2 only tells me how many of the bottom subgroup there are for each one of the...

    ----------------------------------------------------

  • RE: Views not changing when table changes

    This is why one must be very careful with the SELECT * approach. Since you will have to run a refresh of the view, I find it less potentially confusing...

    ----------------------------------------------------

  • RE: Script (C#) to add row to Object Variable (SSIS 2008 R2)

    SteveD SQL (8/30/2016)


    Hi MMartin1

    Thanks for your response, while my tables do have check and RI constraints I also use surrogate keys and therefore most of my data import type packages...

    ----------------------------------------------------

  • RE: Proper Storage and Handling of Personal Names

    tung! (8/30/2016)


    roger.plowman (8/4/2016)


    Mononymics are fairly straightforward as far as I'm concerned.

    The mononymic would go in the given/first name and "N/A" would go in the family name.

    Also, nulls are abominations,...

    ----------------------------------------------------

  • RE: What is the best way to SELECT SUM while using PARTITION BY and WHERE and GROUP BY?

    So that you don't have to worry about hard coding years in your script, you could do :

    WITH cte AS (

    SELECT DISTINCT Sales_Rep, PYear, Number_of_Employees FROM mytable

    )

    SELECTcoalesce(py.sales_rep, cy.sales_rep) as...

    ----------------------------------------------------

  • RE: Script (C#) to add row to Object Variable (SSIS 2008 R2)

    The destination table , having check constraints I assume, does the logical checks for you. In the dataflow you can redirect error rows to another table. From there you could...

    ----------------------------------------------------

  • RE: What is the best way to SELECT SUM while using PARTITION BY and WHERE and GROUP BY?

    Firewolf (8/26/2016)


    MMartin1 (8/23/2016)


    Hi :

    Since we dont have the information that is in your mind, we need a more structure approach so that we can effectively understand your issue without ambiguity....

    ----------------------------------------------------

  • RE: How to prevent a table from being truncated or dropped

    Eric M Russell (8/26/2016)


    MMartin1 (8/26/2016)


    I guess things like this happen when there is no effort to learn what the other roles are, like ddl admin.

    But you probably know that db_ddbadmin...

    ----------------------------------------------------

Viewing 15 posts - 526 through 540 (of 1,241 total)