Solved

Precedence Constraint in SSIS

Posted on 2009-04-06
1
386 Views
Last Modified: 2013-11-10
Hi,
In my ssis package I have two task execute sql task (1)and data flow task(2). and one variable
@client_id..
I want the package flow must go to data flow task from execute sql task.If the variable client_id
must be equal to  21 (or) 10
I set the precedence constarint as
@client_id in (21,10).
But it was showing error as Invalid token

Thanks and Regards,
Coventri
0
Comment
Question by:coventri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 22

Accepted Solution

by:
PedroCGD earned 500 total points
ID: 24078944
Coventri,
use this expression @client_id==1|| @client_id==2

Follow the attached image
SSIS-PrecedentConstraint.JPG
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question