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
10 replies
Subscribers
7 subscribers
Views
3579 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
An error in query db node
sindhus
over 8 years ago
trying to use the following select query within a query DB node for a custom Oracle data source. Can anyone please suggest where I'm going wrong?
select ROWNUM, APPLICATION_NAME, ENVIRONMENT, OS, INSTANCE_NAME, HOSTNAME from web.vw_oracle_dds_inventory where APPLICATION_NAME='ac!applicationName' and ENVIRONMENT='ac!Environment' order by HOSTNAME
The query returns proper results when used without the where clause but the where clause is causing an issue. I get this error message:
There was a problem during the validation of the SQL statement with the database
The SQL Query is invalid, Invalid column index
OriginalPostID-242840
Discussion posts and replies are publicly visible
Parents
0
sparshs
over 8 years ago
why are you using web while selecting your table i.e web.vw_oracle_dds_inventory.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sparshs
over 8 years ago
why are you using web while selecting your table i.e web.vw_oracle_dds_inventory.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data