Forum Replies Created

Viewing 11 posts - 571 through 582 (of 582 total)

  • RE: Dynamic Views

    Is the 'where' clause generally going to be an equality join on a particular column? If so you could have a table into which you write the search value for...

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: Help with "CASCADE CONSTRAINTS"

    If you want a trouble-free way of dropping tables....

    This sp drops all column constraints and defaults on a field, then drops the field.

    The code is a bit messy (exec during...

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: insert statement

    can we see the code?

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: Combining Two Grouping Select Statements

    jpipes - I understand the issue - I just disagreed about what was being asked for.

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: SQL Profiler Help!

    If you restrict the SQL username to 'dbo' that will exclude any other users - where the username is actually populated. But if SQl user is null it gets included...

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: Combining Two Grouping Select Statements

    harrumph...mutter mutter

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: Combining Two Grouping Select Statements

    I don't think so mate - you jumped to a conclusion based on Drewid's FAILED attempt to join the queries together. I think D's utterly pellucid clarification in response should...

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: Combining Two Grouping Select Statements

    You need to use a CASE statment instead of WHERE clause to restrict the values going into the aggregate. The code below assumes that you can't have negative values in...

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: Combining Two Grouping Select Statements

    You need to use a CASE statment instead of WHERE clause to restrict the values going into the aggregate. The code below assumes that you can't have negative values in...

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: Combining Two Grouping Select Statements

    You need to use a CASE statment instead of WHERE clause to restrict the values going into the aggregate. The code below assumes that you can't have negative values in...

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

  • RE: group by optimize

    The covering index (all fields required are in the index) will be helping performance compared to a table scan, especially if the table is wide. This is because the query...

    Tim Wilkinson

    "If it doesn't work in practice, you're using the wrong theory"
    - Immanuel Kant

Viewing 11 posts - 571 through 582 (of 582 total)