The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
SQL query - from the file vs. direct
Hey everybody,
I am using RM 7.6.003.
I query oracle DB with a query with macros and running into following issue:
- I take my query and paste it directly to RM, it runs fine.
- I save the same query into sql file (utf-8 encoding) and use "query file" as a source. And getting an error "Database error occurred: Non supported SQL92 token at position: ...."
Could somebody advise pls?
Tagged:
0
Answers
Hi @ykropiv,
please connect with our professional support team at support.rapidminer.com . Since you have a commercial license you can access this portal. It feels to me that this is rather a question for them.
My best guess: Line ending characters from windows?
Best,
martin
Dortmund, Germany
Hi @ykropiv,
Does your SQL query include curly {} brackets? Are you using RapidMiner Macros %{} in the query?
It might be that those are handled differently then used in a file vs. the query editor in RapidMiner ("escaping" is the magic word).
Happy Mining,
Edin
Hi @ykropiv,
you can try changing the encoding of RM to UTF-8:
Just replace "SYSTEM" with "UTF-8".
Regards,
Sebastian