- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2022 01:59 PM
I am trying to create a database view. After specifying all the details, when I click on Try It link, I am getting below error.
Syntax Error or Access Rule Violation detected by database ((conn=395195) Unknown column 'cod.a_str_22' in 'on clause')
I have checked:
- There is no column named a_str_22 in the table which aliases cod.
- None of the where clause refers to a_str_22 column for table which aliases cod.
- The table which aliases cod, does not have any access restriction. I was able to create another view in the same scope.
Am I missing anything?
Note: Relevant answers/comment will be marked appropriately.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2022 08:01 AM
The fix was to update "order" column. So the table that is primary and have no dependency then it should be 100 and subsequent can be 200 and so on.
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2022 03:58 PM
Hi,
Can you show the Database view and all the details you set up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2022 06:18 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2022 06:59 AM
In the 3rd entry, the "cod_u_csad_sku ='MSB-MRC' is that a reference field on the table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2022 07:01 AM
nope, it is just a text/string field.