Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
luis
2
Views
3
Comments
Searching for "stored procedure in slq server"
Question
I'd like to know if is possible import a stored procedure from a sql server application, or if
outsystem allow us to create a store procedure.
thanks for all the attention,
Luis Pereira
Tiago Simões
Staff
Hi Luis,
Yes, you can call a stored procedure using an advanced query with EXEC
yourprocedurename
provided that the OutSystems runtime user has permissions for it. Remember that you'll always need to define an output structure, even if the stored procedure does not return anything.
If you are doing new business logic (instead of reusing an existing sp) I would recommend you to do it in Service Studio, as stored procedures are usually a lot harder to maintain.
Cheers,
Tiago Simões
2 replies
Last reply 11 Nov 2007
Show thread
Hide thread
Diogo Cordeiro
Hi Tiago, do you know if it is possible to retrieve the output of a stored procedure with an advanced sql query? Input i believe, but output i'm quite ceptic...
Best Regards,
Diogo C S Cordeiro
Tiago Simões
Staff
Hi Diogo,
Yes it is, you just need to define an output structure with the same attributes as the stored procedure return.
Cheers,
Tiago Simões
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...