Forum Replies Created

Viewing 15 posts - 2,851 through 2,865 (of 13,874 total)

  • Reply To: Concatenating to a string

    You may be interested in using the CONCAT() function – it's tidier (IMO) than all those plus signs, does datatype conversion and handles NULLs for you.

    Also note that you...


  • Reply To: Are the posted questions getting worse?

    Jeff, these may be for you (if you dare venture anywhere to buy them, that is!). I have a pair and they work a treat. Not that I don't...


  • Reply To: SELECT from COLUMN if exists

    Does this get you anywhere close?

    WITH ColumnInfo
    AS (SELECT Sch = SCHEMA_NAME(t.schema_id)
    ,TableName = t.name
    ...

  • Reply To: extract all data with week

    Jeff Moden wrote:

    GaryV wrote:

    If you don't understand these steps, I'd suggest finding a tutorial on SSIS that includes setting variables, ForEach and Connection Managers.

    That's why I'm asking people to write a...


  • Reply To: issues with blank spaces

    Spaces at the end of strings are usually ignored by SQL Server. Have a read here for some more detail.

    --Neil beat me to it!

    • This reply was modified 6 years, 3 months ago by Phil Parkin.

  • Reply To: need help with query having null value in end datate column is null

    Jeff, I think your bracket should be after 'AND', not before it.


  • Viewing 15 posts - 2,851 through 2,865 (of 13,874 total)