This command associates a plan with a set of categories.
Table 9–11 Arguments for the pdb.p.sc Command| 
 Argument  | 
 Syntax  | 
 Description  | 
|
|---|---|---|---|
| 
 ID  | 
 [R]  | 
 ExecutionPlanID  | 
 The ID of the plan to which the categories should be applied.  | 
| 
 catIDs  | 
 [R]  | 
 CategoryIDSet  | 
 The IDs of the categories to associate with this plan  | 
| 
 all  | 
 [O]  | 
 Boolean  | 
 Whether to update the categories for all versions of the plan, default false  |