sql engine prepare sql messages