dbTalk Databases Forums  

Multiple Precedence constraints

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Multiple Precedence constraints in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
doug
 
Posts: n/a

Default Multiple Precedence constraints - 01-18-2010 , 03:04 PM






I am using SQL 2005 SSIS. I have created a package that imports and exports
data and have captured an error log for any bad import records. What i want
to do at the end of the package is email that status with the following
criteria:
1) No import errors and import successful
2) Import errors exist (attaching a error log) and some records successfully
imported.
3) No import done

I have created 2 variables (error and import) to capture the number of
records in each. Can I use both in the same constraint expression so that
for option 1 above it would be "@error == 0 and @import > 0", option 2 would
be "@error > 0 and @import > 0" and option 3 would be "@import ==0"? What is
the correct syntax to use "and" in the constraint expression?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.