c++sql-serverstored-proceduresormodb

Executing stored procedure with ODB ORM


There is a procedure stored on Microsoft SQL Server. Procedure can return a value. How can I execute stored procedure from MS SQL Server Database with ODB ORM and fetch value returned by this procedure?


Solution

  • You can use a native view for that. See Chapter 10, "Views" in the ODB manual for details.