diff --git a/internal/infra/commonsql/dialect_oracle.go b/internal/infra/commonsql/dialect_oracle.go index 031dfba1..c3cdae8a 100644 --- a/internal/infra/commonsql/dialect_oracle.go +++ b/internal/infra/commonsql/dialect_oracle.go @@ -133,5 +133,5 @@ func (od OracleDialect) CreateSelect(sel string, where string, limit string, col } func (od OracleDialect) selectPresence(column string) string { - return fmt.Sprintf("CASE WHEN %s IS NOT NULL THEN TRUE ELSE NULL END AS %s", od.Quote(column), od.Quote(column)) + return fmt.Sprintf("CASE WHEN %s IS NOT NULL THEN 'TRUE' ELSE NULL END AS %s", od.Quote(column), od.Quote(column)) }