Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
9 subscribers
Views
2671 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Appian 7.9 Cloud: I tried to create a stored procedure with the following sql:
simranjits
over 9 years ago
Appian 7.9 Cloud: I tried to create a stored procedure with the following sql:
CREATE DEFINER=`appian`@`%` PROCEDURE `ABC`(IN `name` VARCHAR(50), IN `address` TINYINT(1))
BEGIN
INSERT INTO `Appian`.`PQR` (Name,Address) VALUES (name,address);
END
It gave me an error:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Here line 3 is the INSERT statement. I then successfully created it automatically from the workbench without using manual scripts and downloaded the script:
CREATE DEFINER=`appian`@`%` PROCEDURE `ABC`(IN `name` VARCHAR(50), IN `address` TINYINT(1))
NO SQL
INSERT INTO `Appian`.`PQR` (Name,Address) VALUES (name,address);
The only difference between what I was trying to create and what Appian created is that BEGIN and END have been replaced by NO SQL. Can any one explain the behaviour?
OriginalPostID-160455
OriginalPostID-160455
Discussion posts and replies are publicly visible
Parents
0
mayankk718
over 9 years ago
Before BEGIN, describe the type of operation that your stored procedure is expected to execute, "MODIFIES SQL DATA" taken in this case.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
mayankk718
over 9 years ago
Before BEGIN, describe the type of operation that your stored procedure is expected to execute, "MODIFIES SQL DATA" taken in this case.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data