Comment puis-je simuler une instruction print dans MySQL?

J'ai quelques procédures où je voudrais obtenir un accusé de réception après un état de santé a été évalué.

Par exemple, la pusedocode serait comme,

if ( select count(*) from assgn to where eid = 1 )  > 5
  print " the total number of projects employee working is more than 5 "
else
  insert the value into the assgnto table  

Comment dois-je aller sur le faire que dans MySQL?

InformationsquelleAutor Rahul | 2011-08-02