TableAdapter SelectCommand and AnsiSQL
Posted: Wed 30 Sep 2009 08:21
Hello everyone.
I'm currently using dotConnect for Oracle in a DataSet (.NET 3.5 & VS2008).
Whenever I create a new TableAdapter, or add a query to a TableAdapter, dotConnect convert my "not ansi sql oracle query" into an "ansi sql query", for example:
I want to create a TableAdapter using this query:
select table1.field1, table2.field2
from table1, table2
WHERE table1.field3 = table2.field6
But when I look back to see the query in the TableAdapter, the query gets converted to:
SELECT table1.field1, table2.field2
FROM table1 INNER JOIN table2 ON table1.field3 = table2.field6
this is Ok because my develpment Oracle server is 9i, and supports ANSI SQL, but, as the applications we develop must be cross oracle versions (I mean, the query must work on oracle 8 to 11), y cannot use the applications we develop in older oracle servers.
After that, I want to ask, ¿Is there any way to tell dotConnect to not convert the sql querys to ANSI SQL?
Thank you, regards.
I'm currently using dotConnect for Oracle in a DataSet (.NET 3.5 & VS2008).
Whenever I create a new TableAdapter, or add a query to a TableAdapter, dotConnect convert my "not ansi sql oracle query" into an "ansi sql query", for example:
I want to create a TableAdapter using this query:
select table1.field1, table2.field2
from table1, table2
WHERE table1.field3 = table2.field6
But when I look back to see the query in the TableAdapter, the query gets converted to:
SELECT table1.field1, table2.field2
FROM table1 INNER JOIN table2 ON table1.field3 = table2.field6
this is Ok because my develpment Oracle server is 9i, and supports ANSI SQL, but, as the applications we develop must be cross oracle versions (I mean, the query must work on oracle 8 to 11), y cannot use the applications we develop in older oracle servers.
After that, I want to ask, ¿Is there any way to tell dotConnect to not convert the sql querys to ANSI SQL?
Thank you, regards.