merging databases
Comments
-
i was curious if there was a way to merge two databases within a flow or within the decision studio?
-
Hi upwatchingvacation,
Theres a couple ways you could do this actually. I believe I responded to you earlier a bit regarding [b][url=https://www.w3schools.com/sql/sql_join.asp]SQL Joins[/url][/b], but you can use them in conjunction with the [b][url=https://documentation.decisions.com/v8/docs/raw-sql-step?highlight=sql step]Raw SQL[/url] [/b]step.
After youve defined your [b]Connection [/b]settings, and selected the desired [b]Return Data Option[/b], you can set [b]SQL Command[/b] to [b]Merge Plain Text[/b] and then provide a [b]SQL Query[/b] with a [b]Join [/b]in the [b]Merge Text Editor[/b].
Alternately, you can create a [url=https://documentation.decisions.com/v8/docs/creating-database-table-relationships][b]Database Relationship[/b][/url] between the two tables by right-clicking the [b]Database [/b]under [b]System > Integrations > Databases[/b] and selecting [b]Add Relationship[/b].
Then, in the [b]Add Relationship[/b] window, you can select the desired [b]Tables [/b]and [b]Fields [/b]to relate to one another. This relationship can be referenced in [b]Reports [/b]and then in turn used within a [b]Flow[/b].
Hope this helps!
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions