[odb-users] Querying with native SQL Statements

Boris Kolpackov boris at codesynthesis.com
Thu Mar 25 08:39:20 EDT 2021


Raj, Phani <PRAJ at beckman.com> writes:

> Is there a possibility of querying data from the SQL Server using
> ODB::ORM with native SQL statements. My App generates SQL Statements
> that has to be executed thru' the db->query method. Is it possible to
> do so.

Yes, see "Executing Native SQL Statements":

https://codesynthesis.com/products/odb/doc/manual.xhtml#3.12

As well as "Native Views":

https://codesynthesis.com/products/odb/doc/manual.xhtml#10.6



More information about the odb-users mailing list