define a "select * from tabela where tabela.campo = 'ah e tal'" define b [sql-encode $a] echo $b