select content from letter where type='membersformconfirmation' and (sid='' or sid='0') failed: