Forum Replies Created

Viewing 15 posts - 856 through 870 (of 901 total)

  • RE: SSAS :: MDX :: Scope Function :: Exchange Rates

    I had a similar issue, though my MDX is somewhat basic I found a solution, however in instead of using a Current, we had to use different type of rates...

  • RE: MCTS/MCITP - Have these exams just got more difficult?

    I can understand the reason why MS are doing this, it adds on a degree of elitism to the Gold Standard, as it was very very easy to get a...

  • RE: row by row operations

    I try always and use sets, I cant only think of half a dozen occasions that I've resorted to a cursor, and most of those were due to time constraints...

  • RE: How to change date from daywise to monthwise

    Surely your Calendar Dimension has Year, Quarter, Month and Day Attribute Hierarchies?

    If it has then simply make the Month Hierarchy visible and replace it as a filter on the Spread...

  • RE: Insert into perm table where doesn't exist from temp table

    You need to use a NOT EXISTS clause (see below)

    insert into LapLine_InString

    (DateRan

    ,GearSetSN

    ,GearSetPN

    ,MntgDimPinion

    ,MntgDimGear

    ,ProdOrderPinion

    ,ProdOrderGear

    ,PartNumberPinion

    ,PartNumberGear

    ,HighHeadPinion

    ,RevLevel

    ,StationID)

    select

    DateRan

    ,GearSetSN

    ,GearSetPN

    ,MntgDimPinion

    ,MntgDimGear

    ,ProdOrderPinion

    ,ProdOrderGear

    ,PartNumberPinion

    ,PartNumberGear

    ,HighHeadPinion

    ,RevLevel

    ,StationID

    from tmp_LapLineData_InString

    where NOT EXISTS (Select 1 From LapLineData_InString

    ...

  • RE: SQL DISTINCT on Multiple Columns

    pgoldy (2/8/2011)


    Jason. Right - I understood that. Just wanted to point out to Sarvesh that he should make his article explanation match the query and produce expected results. Maybe I'm...

  • RE: SQL DISTINCT on Multiple Columns

    Goldy it wouldnt as you've already done a distinct Select on the Address which is the same, thus by the time you get to the outer query you only have...

  • RE: SSIS Package - Data Flow Task

    I'm not sure why you arnt getting data out of the view, I take it you've tested the view in SSMS and its returning data.

    Also consider using the 'SQL command'...

  • RE: finding occurences of select *

    Depending on the the Dev tools your company uses, you could look at VS 2008/2010, as you get built in code analysis tools within the DB projects, and you can...

  • RE: SQL DISTINCT on Multiple Columns

    murat.korkmaz (2/8/2011)


    To much failures, it's confusing, specially for the newbies!

    Sorry, but it is a clearly written article and far from confusing. Yes there are a few errors, but they are...

  • RE: SQL DISTINCT on Multiple Columns

    A good introduction to Distinct for novices, though it it really doesnt explain why you would consider using a Group by to get a distinct list, is there a performance...

  • RE: How To Get Table Row Counts Quickly And Painlessly

    Since SQL 2005 I've tended to use Sys.Partitions over a Select Count(*), especially when I need to get row numbers across all tables in a specified DB and also across...

  • RE: ssas incremental update

    You cant delete data out of the SSAS database, it has to be done at the Datasource (data warehouse) level.

    You can incrementally process a cube, though it can often be...

  • RE: Month Calculated Column

    I think I see whats happening, and I hope the following makes sense.

    In financial terms if the year is split across years eg Apr 2008-Mar 2008, it is generally...

  • RE: Updating a Time Dimension with 15-minute granularity???

    aaron,

    I had to do something similar in a previous project but it was very much recording departure times of vehicles.

    In the end I used a Time Table that had...

Viewing 15 posts - 856 through 870 (of 901 total)