Forum Replies Created

Viewing 15 posts - 406 through 420 (of 1,182 total)

  • RE: Order By IsNull

    Sergiy (3/29/2010)


    Jason Selburg (3/29/2010)


    Still looking into the "WHY"

    It's a bug in SQL Server.

    Instead of applying ORDER BY condition to the outcome of OUTER join (as it should be according to...

  • RE: Open Source is Not a Career Path

    l543123 (3/29/2010)


    I am sorry but isn't Java free? and isn't it a career path?

    Java may be free, and a Java Developer may be a career path, but I don't know...

  • RE: Open Source is Not a Career Path

    Did somebody say Free Beer?

  • RE: Order By IsNull

    Jason Selburg (3/29/2010)


    Still looking into the "WHY" but remove the Order by from the second query and that gives you the expected results.

    DUH! f I would have read the title...

  • RE: Order By IsNull

    Still looking into the "WHY" but remove the Order by from the second query and that gives you the expected results.

  • RE: Automate create view script

    I was thinking about that after my post.

    One thought is to EXEC the altered script. Then the under the hood actions are View created or altered by application, trigger fires...

  • RE: Automate create view script

    Rick Osgood-429286 (3/25/2010)


    Jason,

    I am up for that idea. Any chance you have a snippet of code?

    Well, I don't have the exact code, but here's a trigger I've used to track...

  • RE: Automate create view script

    I still say DDL. You can "catch" the CREATE or ALTER view statement and strip away the WHERE from there before the view gets created/altered.

    But that's just my 2 cents

  • RE: Complex(?) Query Question

    Lynn Pettis (3/25/2010)


    Oh, and since this looks like homework, you may want to use John's solution as I'm sure mine won't work as you probably don't have a tally table.

    Actually,...

  • RE: Complex(?) Query Question

    And Psion, don't take my comments ........{edited}........ as attacking.

    I/we encourage you to use this site to help in your learning. It can be an invaluable resource, just don't abuse it....

  • RE: Complex(?) Query Question

    Psion (3/25/2010)


    Thanks for the quick reply. Even though this query ran without any errors, I need the data to be pulled from my table, Answer. I don't know...

  • RE: Complex(?) Query Question

    Psion (3/25/2010)


    I have a table, Answer, with the following columns

    ID int PK Identity

    Q1 int null,

    Q2 int null,

    Q3 int null

    the data inside the columns range from 1 to 7

    example

    Answer

    ---------

    Q1 Q2 Q3

    ---------

    1...

  • RE: Automate create view script

    A DDL Trigger would be one possible approach.

  • RE: Data Driven Subscriptions Updated

    Matthew Lehn (3/25/2010)


    Don't use the UPDATETEXT method. I recall people saying they were having trouble with that method. Refer to sample SQL given on page 5 and at http://spilich.blogspot.com/2007/11/using-data-driven-subscriptions-in.html for...

  • RE: Get The Hour from date field

    Depending on how you want to group....

    1. if you want to group all of the 5 o'clocks for an entire timespan together then use:

    SELECT DATEPART(hh,'3/23/2010 3:00 PM')

    2. if you want...

Viewing 15 posts - 406 through 420 (of 1,182 total)