Create a concatenated field as part of SQL query and use it in Salesforce Adv connector merge key

I am working on setting up a Salesforce Advanced Connector, and use the query mode to select my data. In this selection, I created a custom field called merge key as below,
CONCAT(CaseNumber, '_', LastModifiedDate) AS Merge_Key
# also tried below, but same result
CONCAT(CaseNumber, '_', FORMAT(LastModifiedDate, 'yyyy-MM-dd HH:mm:ss')) AS Merge_Key
I am doing this to capture changes made to an existing record, or else to add a new row to the merged table. When I add the concat to query and retry on finding the merge_key, the tool errors out.
Is this method unsupported, or is there a workaround I should be following for query generated merge keys?
Pl. let me know what you think.
Thanks,
Mo
Best Answer
-
Can you bring the fields in separately and then concatenate them in an ETL?
0
Answers
-
Can you bring the fields in separately and then concatenate them in an ETL?
0
Categories
- All Categories
- Product Ideas
- 2K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 661 Datasets
- 117 SQL DataFlows
- 2.2K Magic ETL
- 820 Beast Mode
- Visualize
- 2.5K Charting
- 84 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 22 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 282 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 9 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive