Forum Replies Created

Viewing 15 posts - 241 through 255 (of 402 total)

  • RE: using left join and TOP

    Does this help?

    SELECT *

    FROM

    #myTableA AS TA

    LEFT JOIN(SELECT

    *

    ,ROW_NUMBER() OVER (PARTITION BY ChecklistStepID ORDER BY EndTime DESC) AS RowNum

    ...

  • RE: Difference of two datasets in SSRS

    Hi

    Without DDL's and sample data it is very difficult to help - could you post these?

    The first thing that springs to mind is using a CTE to create a UNIONed...

  • RE: using left join and TOP

    As Anthony said if you provide DDL's ect you will get much better answers

    I'll take a shot in the dark, maybe this will help you or put you on the...

  • RE: Query Syntax

    GilaMonster (5/3/2012)


    Because the whole point of cross apply it to allow the passing of a column from another table to a function or subquery.

    I've used CROSS APPLY many times in...

  • RE: Query Syntax

    Gail thank-you, explained so well even I can understand it 😉

    I've been using T-SQL/ P-SQL for years and am by no means a beginner, although compared to some of you...

  • RE: Query Syntax

    Thanks both

    Eugene yep I knew what it was doing it was more a question of is this expected behaviour.

    OK dumb question then if all that is needed is to bind...

  • RE: SQL If statement finds same temp table

    It's not an execution time error, it's a parse-time error. The parser doesn't execute the IF statements, it doesn't evaluate (or care) which branch the query will run, it just...

  • RE: SQL If statement finds same temp table

    Two options spring to mind

    As your using an IF you obviously only want one query to be executed

    DROP Table #TempProduction before the next IF is evaluated then create it in...

  • RE: Booked 70-450

    Thanks Anthony - I'll order a copy

    I'll probably need a few more books as well then based on your comments, my main role is Data Warehousing and SSRS but recently...

  • RE: SSIS ETL Job Daily Load

    Glad it helped 🙂

    Delete src

    From Person.Contact src

    Join StageDeletes stage

    On stage.Email = src.EmailAddress

    Just be careful doing something like this - using the email address to identify new records wasn't the best...

  • RE: Booked 70-450

    Hi Anthony

    Good luck with the exam!

    Quick question I'm looking at doing the 70-432 and have looked at buying the MCTS 70-432 self study book but have read very mixed reviews.

    What...

  • RE: Need help for SSIS job

    bala2 (5/2/2012)


    Thanks for help,

    I was able to connect the package.

    Can you please tell me where have to change or modify the column size.

    can you plz guide me the steps

    Many THANKS.

    You...

  • RE: SSIS ETL Job Daily Load

    Pihu.awasthi (5/2/2012)


    Can you please tell me how to do the deltas??

    To all intents and purposes its an incremental load, only loading records that have changed or been loaded since your...

  • RE: SSIS ETL Job Daily Load

    Does seem a bit long...

    Are the destination tables heavily indexed?

    Are there no transformations in the ETL?

    Could you post the SQL?

    Andy

  • RE: SSIS ETL Job Daily Load

    Hi a couple of questions:

    Define a bit long?

    How large are the tables?

    Are you using complex queries to retrieve your datasets?

    How many transformations are you performing in your ETL's?

    Are you using...

Viewing 15 posts - 241 through 255 (of 402 total)