HomeForum
Welcome, Guest

Setting value as flag for success or failure
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Setting value as flag for success or failure

Setting value as flag for success or failure 1 year, 1 month ago #2601

  • Jennifer
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
I need a way to schedule the following into a package. I want to do a select sum on one column in a table.
If the value is > 0;
I want to set a failure. If the value is 0, I want to set a succeed.
This is done in DTS via ActiveX component. How can I accomplish the same thing here?

Thanks,
Jennife

Re: Setting value as flag for success or failure 1 year, 1 month ago #2602

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
Use SQL data check object

Note:
Sql Data Check uses lookups to check data in the database.
For example user may write following sql
Select count(*) from table
Execution will be successful if the value of first field of lookup query is more than 0
Execution will fail if the value of first field of lookup query is equals to 0 or less than 0 or field type is not numeric.
Attachments:
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

"In my personal view, currently there are no other data transformation tools on the market that provide the same value for money as Advanced ETL Processor. The number of features is constantly increasing and If something is missing the will add it for you  ..."

Gabriell Mellotto, Senior ETL Consultant

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top