Forum Replies Created

Viewing 15 posts - 526 through 540 (of 3,544 total)

  • RE: Running WinSCP in SSIS Task / .bat file

    Brandie Tarvin (4/29/2015)


    , my issues are with WinSCP period. So any advice you can give me on the WinSCP code would be helpful. Please, speak up if you know how...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Running WinSCP in SSIS Task / .bat file

    I run WinSCP via Powershell script

    Ooops! you're running is SSIS, ignore me :blush:

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    SqlSanctum (4/3/2015)


    Sounds like you need to invest in a duck

    Did know someone whose workplace had a life size cardboard cut out of a person called Maud (name not acronym) which...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Group by clause - question

    SELECT Company

    FROM CompanyEmployeeArchive

    GROUP BY Company

    HAVING COUNT(*) = SUM(SIGN(100-Employees))

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Converting varchar to datetime

    CONVERT(datetime,[date],CASE WHEN [date] LIKE '%M' THEN 101 ELSE 103 END)

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Dynamic SQL Truncating at 4K

    Sean Lange (3/12/2015)


    measterbro (3/12/2015)


    I know it is being truncated because I get a syntax error at a point about a third of the way in my SQL which I don't...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Dynamic SQL Truncating at 4K

    I'd bet that when you concatenate the variable the string is converted to nvarchar(8000) instead of remaining nvarchar(max)

    Use sp_executesql and pass the variable as a parameter (if it is in...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Display tablix based on parameter value

    Leave the tablix visibility as I specified

    Add a new row 'Outside Group - Below' the row group for the tablix,

    Merge Cells as necessary,

    set text to 'No rows for...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: weekday not recognised in query design

    Add a filter, select booking date from the dataset, select >= and set the expression for the value to

    DateAdd(DateInterval.Day,1,Today)

    Add a seconf filter, select booking date from the dataset, select...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Display tablix based on parameter value

    use this expression

    =Not(Filter(Parameters!ReportParameter1.Value, "Tab1", True, CompareMethod.Text).Length = 1)

    and change Tab1 to Tab2 for second tablix

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: weekday not recognised in query design

    That does not make sense, what is the filter supposed to do?

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Display tablix based on parameter value

    Is the parameter a single value, i.e. only ONE of ALL,Tab1,Tab2

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: SQL join statement to include NULL values

    Refer to my previous post regarding creating a Cartesian product, in this case of yearmonth and vendor.

    Also refer to my post referring to providing DDL, data and expected results as...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: SQL join statement to include NULL values

    boettger.andreas (3/9/2015)


    Out of interest though, how would I achieve the same when not filtering by location?

    For example show all locations with all 12 months and for those with no order...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: SQL join statement to include NULL values

    OK back to the beginning, what you needed to post was

    Create tables

    CREATE TABLE Past12Months (YearMonth char(6))

    CREATE TABLE OEORDH (ORDUNIQ int,SHIPTO char(5),ORDDATE char(8))

    CREATE TABLE OEORDD (ORDUNIQ int,QTYBACKORD int)

    Populate tables

    INSERT Past12Months (YearMonth)...

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 15 posts - 526 through 540 (of 3,544 total)