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
11 replies
Subscribers
6 subscribers
Views
4321 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Hi, Facing issue with DB query node while using simple sub-query. sel
riteshp
over 10 years ago
Hi, Facing issue with DB query node while using simple sub-query.
select TOP 12 ID from (select ID from PROJECT WHERE ID=ac!prjId )_result
While validation showing error:
"Errors
There was a problem during the validation of the SQL statement with the database
The SQL Query is invalid, com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword \\'WHERE\\'."
If i remove inner "WHERE ID=ac!prjId" condition it works fine. Appian 7.6 + MSSQL Server2008 + Jboss 6.2
Thanks, Ritesh
...
OriginalPostID-135109
OriginalPostID-135109
Discussion posts and replies are publicly visible
Parents
0
riteshp
over 10 years ago
Hi Marco,
It is an integer variable but it is created externally i.e. once query validated, it should be there in input section.
Thanks, Ritesh
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
riteshp
over 10 years ago
Hi Marco,
It is an integer variable but it is created externally i.e. once query validated, it should be there in input section.
Thanks, Ritesh
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data