snprintf(command,BUFFER_SIZE,"create table if not exists %s.%s%d %s;",winfo->db_name,superTblInfo->childTblPrefix,i,superTblInfo->colsOfCreatChildTable);
snprintf(buffer,BUFFER_SIZE,"create table if not exists %s.%s%d %s;",winfo->db_name,superTblInfo->childTblPrefix,i,superTblInfo->colsOfCreatChildTable);
snprintf(command,BUFFER_SIZE,"create table if not exists %s.%s%d using %s.%s tags %s;",winfo->db_name,superTblInfo->childTblPrefix,i,winfo->db_name,superTblInfo->sTblName,tagsValBuf);
len+=snprintf(buffer+len,superTblInfo->maxSqlLen-len,"if not exists %s.%s%d using %s.%s tags %s ",winfo->db_name,superTblInfo->childTblPrefix,i,winfo->db_name,superTblInfo->sTblName,tagsValBuf);