sql server - Combining MSSQL results with Oracle into CFSPREADSHEET -


i have report generates excel file daily data extracted ms-sql database. have add additional columns spreadsheet oracle database id matches id in ms-sql query results.

my problem have 1200-1400+ unique ids generated on report first query. when plug them in list oracle query , try cfdump see if results come out should, receive cf error saying query cannot list more 1000 results oracle query.

i set values first query valuelist id column , put in clause oracle query. cfdump on oracle receive error. i've tried wrapping cfloop query = "firstquery"> around oracle query , placing #firstquery.columnidname# not work either.

so 2 questions have here ..

  1. how handle limit on oracle 1k limit , if have read access oracle database coldfusion?

  2. after #1 figured out, how combine results oracle query mssql query or in other words, add columns i'm pulling oracle query spreadsheet matching id.

thanks.

for quick, dirty, , sub-optimal approach, visit cflib.org , function called listsplit(). converts long list array of short lists.

you loop through array , run query each time. make sure query name changes each loop iteration.

after loop, query of queries union query. whatever have combine data got sql server.

note have use array notation access dynamically named query objects.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -