checking for the dynamic values
1 posts in topic
Flat View  Flat View

Posted By:   Rajeev_M
Posted On:   Thursday, September 18, 2003 09:21 AM

Is there any way to check the values from database and then
execute a given task or stop further processing of the same?
e.g.say we want to use sqltask to "select count(*) from employees"
and then use the count parameter as condition e.g. count greater than 0 to do further processing or terminate the build.
Any ideas?


Re: checking for the dynamic values

Posted By:   Anonymous  
Posted On:   Tuesday, September 23, 2003 03:08 AM


Ok, I think you want to have some more infos :-)

  1. store the result as property

  2. use condition task to set another property depending on values of the sql result

  3. use if/unless attributes of target or fail

About | Sitemap | Contact