Fixed all SQL scripts bugs

- Fixed the bug in all the SQL scripts (it was the BOM)