Forum Replies Created

Viewing 15 posts - 3,946 through 3,960 (of 4,087 total)

  • RE: Extracting data into Table using OpenXML

    The problem is that you are using absolute paths rather than relative paths.SELECT *

    FROM OPENXML( @i, '/Return/SOURCE/DEST/MAPPING/MAP',2)

    WITH (

    Entity VARCHAR(10) '@ENTITY',

    MapId VARCHAR(10) '@MAP_ID',

    Form VARCHAR(10) '@FORM',

    Field VARCHAR(10) '@FIELD',

    Page VARCHAR(1000) '@PAGE',

    DDMType VARCHAR(10) '@DDM_TYPE',

    OverrideMessage...

  • RE: Can I use pivot on this query?

    It might also help to give an overview of what the tables represent and what you are trying to accomplish.

    I also notice that you are joining the CASEEVENT table a...

  • RE: Rolling 3 Weeks

    Is your EndDate always the same as the PeriodEndingDate? If not, when is it different and what should the value be?

    Drew

  • RE: Too many CASE statements...how to avoid??

    A big part of your problem is that your data is not normalized. Having normalized data will greatly reduce the need for CASE statements. I was able to...

  • RE: SELECT Data not in the table from another

    I find the EXCEPT clause works well in these situations, particularly as the number of columns you want to compare increases.

    SELECT *

    FROM db1..tbl1

    EXCEPT

    SELECT *

    FROM db2..tbl1

    Drew

  • RE: DTS problem

    ali.mahmoud.habib (3/11/2010)


    Executed as user: FNS\SYSTEM. DTSRun:....

    I don't know why give access denied, while when running it manualy use enterprise manager work very well

    When running it manually, you are using your...

  • RE: Excel source having more than 255 characters

    SSIS bases its datatypes on a sampling of the records (8 rows by default) from the Excel file. If none of the records in the sample are longer than...

  • RE: SSIS Transaction Rollback

    First, the parent package CONTAINS the child package. The success/failure of the parent package is not determined until it finishes executing and it cannot finish executing until each of...

  • RE: SSAS MDX Get Previous Year Month data date range sales

    You're going to have to use ParallelPeriod(). If you have the week level in your hierarchy, that will probably work best. ParallelPeriod([week], 52, [FromDate]):ParallelPeriod([week],52,[ToDate]). Something like that...

  • RE: Using parameters in SSRS 2008 with SSAS as datasource

    The "Available Values" for your parameter is set to "From a Query". It is this query that you need to change.

    Drew

  • RE: Using parameters in SSRS 2008 with SSAS as datasource

    It depends on whether you're querying a dimension or a hierarchy. With a dimension it's easy, just change [Dimension].members to [Dimension].children. For the hierarchy, it depends on how...

  • RE: Still having trouble with KPIs

    It's really hard to say for sure, because so much depends on the actual structure of your cube.

    I think that you're probably going to need to reference the .currentmember of...

  • RE: Parameterized MDX query in SSRS report - Getting error

    You need to use StrToMember() to convert your parameter value to a member.

    Drew

  • RE: Substracting Line 2 from Line 1

    I think that this is one of the cases where a CTE is much, much clearer. First, it makes it obvious that you are joining the same query to...

  • RE: help writing query

    You could also use a CTE.

    WITH CTE AS (

    SELECT

    orderlineid

    , date

    ...

Viewing 15 posts - 3,946 through 3,960 (of 4,087 total)