Can you directly pass SQLQuery.c_str() in this function?