Quantcast
Channel: Questions in topic: "sql-server-2005"
Viewing all articles
Browse latest Browse all 415

SQL or SSIS

$
0
0
Automated way to flag or extract records to mail. I have a prospect table with x number of records and based on criteria (Age, Income, Health_Flag, Segment),I want to flag those records to reach a certain quantity. If the total number of records DO NOT meet the quantity needed, I would drop down to a secondary set of records with different set of criteria (Age, Income, Health_Flag, Segment), to pull the remaining quantity. Once it is reached, I would go to the next set. I guess I am looking for a quick or automated way to pull or flag records until a certain quantity is reached and then move to the next set of records to pull.

Viewing all articles
Browse latest Browse all 415

Trending Articles