Data de postagem: May 18, 2010 9:15:17 PM
includeOnce -1897036629 /* /products/INTEQerp infrastructure/library/iQuery/IQuery.ijs */
IQuery.from( -2008889000 /* Títulos */ )
.column({field: "CHAVE", show: false})
.column({castValue: null, cast: "Varchar(50)", alias: "COL_VAZIA"})
.toSql()
SQL Gerado:
select cast(null as Varchar(50)) as COL_VAZIA
from TITULO TITULO1
where (
TITULO1.CLASSE in (
-2008889000,-2008888890,-2008888790,-1899998525,-1899998524,-1899998370,-1899998369,
-1899998367,-1899933806,51518,51519,35337524,35337539,35337623,35337638)
)