Quantcast
Channel: Toad Data Point Forum - Recent Threads
Viewing all articles
Browse latest Browse all 2544

How to create a comma separated list in Automation to be used in "Select * where in :list"

$
0
0

Does anyone know if this is possible?

I'd like to use a SQL variable to select a list of account numbers from one database, then store the results, separated by commas, to be used in a "Select * Where in :List " statement.  My goal is to greatly speed up an already existing Cross connection query.  I'm currently trying to join a table of 10million records against about 500 records in another cloud database. I've tested this in the editor using static values in the list, but I'm looking to automate it somehow. Thanks!


Viewing all articles
Browse latest Browse all 2544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>