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
Leo de Oliveira
11
Views
1
Comments
Solved
[SQL Map] What does HandleParams do ?
Question
Forge
SQL Map (O11)
Forge asset by
Paulo Ramos
What does HandleParams do?
Paulo Ramos
Staff
Solution
Hi Leo!
It just adds some placeholders for defining local variables, in case you're testing your query in SQL Management Studio (or other client). It only affects queries having input parameters.
For example:
select * from {USER} where {USER}.[Id] =
@UserId
will be converted to:
--SQLMap Params: Begin--
/* ToDo: fill parameter types and values */
declare @UserId
set @UserId =
--SQLMap Params: End--
select * from ossys_user where ossys_user.[Id] = @UserId
You still have to enter the variables types and values when testing.
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...