SOLVED
SQL script in IN-DB
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
aYaNe_o
6 - Meteoroid
‎02-20-2024
06:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi, I have question with Alteryx In-DB tool.
Can I write SQL script directly in In-DB tool?
For example, I would like to use any function like sort, lag , accumulation function and so on.
When I process large data in out of In-DB, it spend too much time...
So, I want to write SQL script directly in In-DB tool.
How Can I do it??
Solved! Go to Solution.
Labels:
2 REPLIES 2
apathetichell
19 - Altair
‎02-20-2024
07:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
you can use the native sql functions and syntax of your underlying db. If your underlying db supports lag/explode/pivots etc - yes. you can. the limiations are: you can only send exactly one SQL command per In-DB activity -ie you cannot use a SET command. You also cannot use CTE (aka WITH).
‎02-20-2024
09:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for your reply!
I've tried with Alteryx IN-DB tool, and got succeeded :)
