12 length libref $8 table_name $32 constraint_name $32 constraint_type $12
14 libref=
'WORK'; table_name=
'CLASST'; constraint_name=
'PK_CLASST';
15 constraint_type=
'PRIMARY'; column_name=
'id'; output;
16 libref=
'WORK'; table_name=
'CLASST'; constraint_name=
'PK_CLASST';
17 constraint_type=
'PRIMARY'; column_name=
'name'; output;
20%mp_deleteconstraints(inds=work.constraints,outds=work.dc_out,execute=NO)
23 select count(*) into: n_stmt from work.dc_out;
24 select count(*) into: n_drop from work.dc_out
25 where index(drop_statement,'drop constraint PK_CLASST')>0;
30 desc=Checking that one drop statement is produced per constraint,
31 outds=work.test_results
36 desc=Checking that the drop statement names the constraint,
37 outds=work.test_results