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
7 subscribers
Views
4653 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
In Query Database smart service, i am trying to use INSTR function. I want
raghunandanj3904
Certified Senior Developer
over 12 years ago
In Query Database smart service, i am trying to use INSTR function.
I want to retrive column value based on anothr column used in a IN clause in normal sql.
My query goes like:
Select b.firstName, b.lastName from TableDetails B where INSTR(ac!cityList, concat("'",b.city,"'"))
But while validating it gives me error sayin incorrect syntax near keyword FROM.
Can someone let me know how to use INSTR function.
In the above query my cityList is constructedt hru a script task like:
concat("'",joinarray(cityArray,","),"'")
I tried it with the below page reference.
forum.appian.com/.../apps
I am using MS SQL database.
Thanks in advance....
OriginalPostID-62076
OriginalPostID-62076
Discussion posts and replies are publicly visible
Parents
0
raghunandanj3904
Certified Senior Developer
over 12 years ago
Akhila, when i try splitting, it says, INSTR is not a recognized built in function name.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
raghunandanj3904
Certified Senior Developer
over 12 years ago
Akhila, when i try splitting, it says, INSTR is not a recognized built in function name.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data