Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: Cross-database call fails in a job but succeeds in SSMS

    Cross db ownership chaining.

    In ssms, the login is mapped to users in both databases.

    in the agent job, (or in a stored proc with ' execute as') the login no...

  • RE: Anatomy of an Incremental Load

    Andy Leonard (2/11/2008) As I mentioned in the article, "NULL-handling in SSIS Expression Language could darn-near rate its own article!"

    We ended up doing something like this:

    (ISNULL([Target.RebateDay] != [Old.RebateDay]) ? !(ISNULL([Target.RebateDay])...

  • RE: Anatomy of an Incremental Load

    Beware that this approach doesn't seem to work well with big tables. If you have many millions of rows and a couple dozen columns, you will run out of memory,...

  • RE: Concurency of INSERT INTO SELECT statement

    This is what I'm seeing (sp_lock) in the Management Studio when I'm running the statement with the updlock:

    spid dbid ObjId ...

  • RE: Concurency of INSERT INTO SELECT statement

    Gail,

    thank you for your response. I tried the xlock hint like this

    insert into deleteme

    select #t.id, 'test' from #t

    left join deleteme with (xlock) on deleteme.id = #t.id

    where deleteme.id is...

Viewing 5 posts - 1 through 5 (of 5 total)