Read and Execute .sql file
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello All,
Please help with this.
I have a .sql file where i have sql query. i connected to oracle db, but for now i can only copy paste the query directly into the table or query tab. how do i direct a path of my sql file, where it should read the sql query inside it and execute as output.
Solved! Go to Solution.
- Labels:
- Database Connection
- Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can use the input tool to read the query and the dynamic input tool to execute it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Swap from "Read list of data sources" to modify "SQL query" (the lower radio button). Use your field as your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Check the attached workflow
1)I am reading the query with the input tool
2)I used the summarize tool to turn it all in 1 cell
3)I used the bellow config to replace the embedded query of the dynamic tool for the one that came from the summarize tool
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks, now it makes sense. 😊
