| Title | Under | Posted on |
|---|---|---|
| how to create application status in peoplesoft campus solutions 8.9 version | PeopleSoft Functional | 05/17/2012 - 4:09am |
| horizantal text in charts | PeopleSoft Technical | 05/10/2012 - 4:57am |
| no current buffer context error | PeopleSoft Technical | 05/10/2012 - 1:19am |
| Integration Broker : Operating Instance/Pub Contracts/Sub Contracts | PeopleSoft Technical | 04/24/2012 - 11:05am |
SQLExec is used to execute SQL statement from PeopleCode.
One thing to keep in mind is that SQLExec can only Select a single row of data. If your SQL statement (or your SQL.sqlname statement) retrieves more than one row of data, SQLExec sends only the first row to its output variables. Any subsequent rows are discarded.
And an example of an SQLExec would be:
you pass in deptid to replace the :1 and &SUM is where your SQL return value will get stored. Read more about SQLExec function in Peoplebooks. There are lots of info there.
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
SQLExec can only Select a single row of data but update/insert any number of rows.
The main functionality /usage is when a user want to update thru SQL statements something which is not available in Buffer .
Thanks
Nitin
Post new comment