bool needComma = false;
TFiels::iterator iter = _Fields.begin();
for (; iter != _Fields.end(); ++iter)
{
if (needComma == true)
{
SQL += ", ";
}
else
{
needComma = true;
}
SQL += iter->_Name;
SQL += " ";
SQL += iter->_Extra;
}
TFiels::iterator iter = _Fields.begin();
for (; iter != _Fields.end(); ++iter)
{
if (needComma == true)
{
SQL += ", ";
}
else
{
needComma = true;
}
SQL += iter->_Name;
SQL += " ";
SQL += iter->_Extra;
}