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
6 replies
Subscribers
9 subscribers
Views
2619 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Could anyone tell why the sql can't execute smoothly? for e.g, select
simony
over 12 years ago
Could anyone tell why the sql can't execute smoothly?
for e.g, select concat(a,b) as test from tbtest? a, b are the columns in table tbtest.
This sql can execute smoothly before the upgrade to 6.7. There always an error message : There was a problem during the validation of the SQL statement with the database
The database returned ARV's that may not be supported. Message: test
Thank you so much!...
OriginalPostID-43209
OriginalPostID-43209
Discussion posts and replies are publicly visible
0
Sathya Srinivasan
Appian Employee
over 12 years ago
Which database are you connecting to? I dont see any issue with your SQL statement but I've come across similar issue and I usually cast the output of my expression to the specified data type to make sure it is correct. However, please check if your database configuration is working correctly. If you are able to execute other SQL's without any issue and this is the only one giving issues, I'd quickly delete the node and replace it with another node with the same SQL and see if that resolves the problem. If not, please raise this with Appian Support.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
simony
over 12 years ago
Hi, sathya! Thank you!
I can execute this sql smoothly in database query client. I replaced the old node with a new one, but still can't work. It's so strange.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sanjay
over 12 years ago
Another item to check would be if 'Database Connection' under Setup tab on the node is configured correctly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
alickc
over 12 years ago
Yeh,it's ok. if I don't use the concat function, it executed successfully.
Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 12 years ago
What database are you using? Also, instead of specifying AS to your alias statement, can you try without it?
for e.g. concat(a,b) TEST, ...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
simony
over 12 years ago
Hi,sathya! Ours is mysql on cloud.
Still can't work with the same error message.
Thank you!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel