Forum Replies Created

Viewing 15 posts - 4,366 through 4,380 (of 5,504 total)

  • RE: converting datetime column to the text field

    My knowledge regarding SSIS is limited but I'd guess the mapping would still try to convert it to a date format...

    I'm not sure if a stored SSIS package would recognize...

  • RE: End-user Query Builder Tool?

    GSquared (2/2/2010)


    MS Access is excellent for that. Link it to the SQL server, query building can be all drag-and-drop and clicking, without writing a line of code. ...

    I thought...

  • RE: Alphanumberic string search

    WayneS (2/2/2010)


    And yet, if you look at the last line of the OPs original post, this is exactly what he wants.... for now.

    So, do you think having a persisted calculated...

  • RE: Alphanumberic string search

    sql_ques (2/2/2010)


    SELECT LASTNAME FROM CPM.dbo.T_CANADIAN

    WHERE '678567' BETWEEN '673001' AND '679000'

    AND 'Z' BETWEEN 'P' AND 'P'

    this worked.

    I actually doubt that this query would return anything but an empty result...

  • RE: dataset containing the max(date):

    If you try to save it as a view then you'd need to remove the semicolon from the beginning of the statement, since it actually is the end of the...

  • RE: dataset containing the max(date):

    Why would you need a function?

    If you want to return all [emp id fk], simply remove "and [emp id fk] = 4" from your statement and you'll get the...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (2/1/2010)


    Stumbled onto the thread the Lutz was talking about. Steve took care of the sample data.

    Please note my statement from one of my previous posts 😉

    Any correlation...

  • RE: Are the posted questions getting worse?

    Seems like the data are part of a customer list(!!).

    The effect on a single company is minor, I think.

    But it seems to be a trust/loyality issue between each of the...

  • RE: Are the posted questions getting worse?

    Thank you for sharing your thoughts!!

    @luke: no security related data. Otherwise I most probably would have voted for option b. Basically just address information. But his address is one of...

  • RE: Add standard text to all stored procedures

    Ok, here's the summary of a short mail conversation I had in between:

    How to open Template Explorer in SSMS:

    a) CTRL+ALT+T

    b) Menu-> View-> upper section 4th item

    Issues I had when trying...

  • RE: Are the posted questions getting worse?

    I'm struggling with a little ethical issue:

    Let's assume you find the contact information of a company a friend of yours is working for in some sample data posted on the...

  • RE: how to get data for next 3 months

    Using Lowells sample:

    SELECT * FROM MYTABLE

    --betweent eh date and the date plus three months

    --WHERE MYDATEFIELD BETWEEN @DateParameter and dateadd(month,3,@DateParameter )

    WHERE MYDATEFIELD > DateParameter

    AND MYDATEFIELD <=dateadd(month,3,@DateParameter )

  • RE: dataset containing the max(date):

    You could wrap the GROUP BY into a subquery or a CTE and join that to your base table.

    I didn't know the number of columns nor do I know if...

  • RE: Simplifying this stored proc

    Don't you think requesting to rewrite/optimize 400 lines of code crosses the line between forum help and consulting?

    I personally think it does.

    Howerver, here's something to start with:

    To set your @Include*...

  • RE: Removing header and footer from a file?

    You could store the data in an intermediate table with a VARCHAR(max) column and use the WRITE function to get rid of the first and last character.

    Then split the remaining...

Viewing 15 posts - 4,366 through 4,380 (of 5,504 total)