Want to group multiple 'CREATE INDEX' into one Transform
Comments
-
I accomplish something similar to this when I have multiple tables that I need to index:
Transform 1 →
DROP PROCEDURE IF EXISTS indexing
Transform 2 →
CREATE PROCEDURE indexing()
BEGIN
ALTER TABLE table_1 ADD INDEX (`Salesforce Account ID`);
ALTER TABLE table_2 ADD INDEX (`Salesforce Account ID`);
ALTER TABLE table_3 ADD INDEX (`Salesforce Account ID`);
ALTER TABLE table_n ADD INDEX (`Salesforce Account ID`);
ENDTransform 3 →
CALL indexing()
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman1
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 470 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 195 Visualize
- 253 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 174 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive