SOLVED
Creating DML script
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
singh28ashish
7 - Meteor
08-01-2023
01:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Alteryx Experts,
Just wanted to know if we can make insert statement like below in Alteryx
Insert into ROCPS.Order (ID,DATE,Address) values (111,'2023-06-10',AU)
Above one is small example. In original tables we have around more than 30 columns. Is there any way we could achieve this dynamically.
TIA :)
Solved! Go to Solution.
Labels:
1 REPLY 1
Felipe_Ribeir0
16 - Nebula
08-01-2023
04:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Have you tried to use the output tool connected to the db and configured as insert if new or append? For me it seems that the result would be the same.
Anyway, if you really need to use insert statements, you can create them dynamically with cross tabs/transposes/formulas, and then use the dynamic input tool to send them to the db. Workflow attached.
