Forum Replies Created

Viewing 15 posts - 466 through 480 (of 621 total)

  • RE: Help with formating

    J (2/15/2008)


    The UNION SELECT column_titles is the first thing I should have thought of to solve my debugging problem in Query Analyzer.

    Either you set the query mode to gridm and...

  • RE: Help with formating

    Matt Miller (2/15/2008)


    Or - you could run reporting services and just send them a link to the report (which wouldn't need to change)...

    Well, I do not want to have to...

  • RE: Help with formating

    I never thought of that. I guess I would have to name the file something else every time right? That would mean I would have to save them....

  • RE: Help with formating

    Jeff Moden (2/13/2008)


    ... Greg, ever heard of "sp_MakeWebTask"? Read up on it in Books Online and we'll talk some more 😉

    Well, as a matter of fact I have indeed...

  • RE: Help with formating

    Jeff Moden (2/12/2008)


    Greg,

    Would you post one of your emails that has the correct format, please? Be sure to use a code window (Click on "IFCode" in the menu of...

  • RE: How to find the Difference in Records between two tables with the same Structure

    SELECT

    b.*

    FROM table_b b LEFT OUTER JOIN

    table_a a

    ON b.key_col = a.key_col

    WHERE a.key_col IS NULL

    Greg

  • RE: Help with formating

    Thanks Lowell. I have not tried it yet, but I should have time tomorrow. I searched past articles, and found the PAD function, that may or may not...

  • RE: Help with formating

    Ok, this is yet another episode of 'How not to do things, by a non-programmer'. Anyhow, I think the problem was not clearly defined in the OP, so I...

  • RE: Help with formating

    Jeff Moden (2/11/2008)


    What are the datatypes and, if appropriate, sizes for the 5 different columns you're pulling from, Greg?

    Yep, I know did the cardinal sin by not including test data...

  • RE: LTRIM linked field

    Jeff Moden

    Heh... it's always an option if the nail in the bat is large enough and you can find the designers that put the screws to your data 😉

    So tell...

  • RE: returning data for a given month

    You could also try something like...

    SELECT YourDateCol

    WHERE DATENAME(m,YourDateCol) = 'February', or what ever month you want.

    Greg

  • RE: LTRIM linked field

    Assuming table A is the one with the padding, and that you do not want to see the padding in your view, you could try this:

    SELECT

    b.ID

    FROM tablea a,tableb b

    WHERE...

  • RE: GETDATE()

    Thanks for the info. I guess the extra storage space is not worth having visibility of the seconds for most of my applications.

    Greg

  • RE: GETDATE()

    John Mitchell (1/8/2008)


    Could it be to do with your regional settings? What happens if you do SELECT CAST (GETDATE() AS datetime)?

    John

    If I do that I get seconds and miliseconds....

  • RE: Sending trigger output to text file

    Duly noted. I will stick with the function as long as it works. Thaks Jeff.

    Greg

Viewing 15 posts - 466 through 480 (of 621 total)