sql server - SSIS package execution succeeds but doesn't do its job -
i use sql server agent fill tables in datawarehouse. have 50 steps in job , every step run proxy account. , every step works correctly besides one:
ssis package contains 20 execute sql tasks execute procedure. have in execute sql task:
declare @rc int declare @fordate datetime = null declare @tablename sysname = 'd_entity' declare @datafolder varchar(1024) = 'c:\mountpoints1\src_etl\' declare @logfolder varchar(1024) = 'c:\mountpoints1\src_etl\' declare @debug bit = 0 execute @rc = [dbo].[etl1a_hr] @fordate ,@tablename ,@datafolder ,@logfolder ,@debug go
the thing is, if execute package ssis catalog, works ok. if run job, succeeds, deletes tables, doesn't fill it. seems procedure stops somewhere in middle.
any ideas? please advise, took me days trying solve this...
i think maybe related permissions. executing ssis package use security context running agent impersonates credentials defined in proxy, , runs job step using security context.
Comments
Post a Comment