sqlparser/language.cpp
// Convert single (not qualified) column identifier
Convert single (not qualified) column identifier
Convert single ( not qualified ) column identifier
void SqlParser::ConvertColumnIdentifierSingle(Token *token, int )
{
    if(token == NULL || token->str == NULL)
		return;
	TokenStr ident;
    bool changed = false;
    for(size_t i = 0; i < token->len; i++)
    {
        if(TOKEN_CMPCP(token, '$', i) == true)
        {
            if(Target(SQL_ESGYNDB))
            {
                ident.Append("_", L"_", 1);
                changed = true;
            }            
        }
        else
            ident.Append(token, i, 1);
    }
    if(changed)
        Token::ChangeNoFormat(token, ident); 
}
void SqlParser :: ConvertColumnIdentifierSingle ( Token * token , int ) { if ( token == NULL || token -> str == NULL ) return ; TokenStr ident ; bool changed = false ; for ( size_t i = 0 ; i < token -> len ; i ++ ) { if ( TOKEN_CMPCP ( token , ' ' , i ) == true ) { if ( Target ( SQL_ESGYNDB ) ) { ident . Append ( " " , L" " , 1 ) ; changed = true ; } } else ident . Append ( token , i , 1 ) ; } if ( changed ) Token :: ChangeNoFormat ( token , ident ) ; }
Convert single (not qualified) column identifier
Convert single ( not qualified ) column identifier
/*scope*/ // $ allowed in Teradata but not allowed in EsgynDB