Fix: _sqlFormat function - delimiters and number datatype handling

Related to jira.cubrid.org issues APIS-376 and APIS-304