cte queries

Hi,

I’m trying to use a cte query with oracle connection and it gives an invalid character error.

Has anyone used cte with Oracle connection?

Do you have an example?

thanks

Comments

  • Hello!

    For a complex CTE, wrap it in a view or subquery using `SELECT * FROM (WITH ... SELECT ...)`, or create an Oracle view or stored procedure (SYS_REFCURSOR), or execute the CTE in C# via OracleDataAdapter and pass the resulting DataTable to `report.RegisterData(...)`.

This discussion has been closed.