cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

Wait until ODBC query is finished

FN
FN
Level VI

New SQL Query() has several options for ODBC connections.

Run several database queries (ODBC) in background and combine data afterwards, how to control runnin... 

 

<< Run

<< Run Foreground (On Complete())

<< Run Background

...

Wait(0)

 

Still is not clear to me what's the simplest way to wait until the query is finished and the table is ready, 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User


Re: Wait until ODBC query is finished

My guess for those is:

  • <<Run Background, will always continue script execution after query is started
  • <<Run Foreground, will wait for the query to complete before continuing the script execution
  • <<Run, will depend on your preferences

There are also at least couple of other ways to run queries in JMP: Open Database() and Execute SQL().

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User


Re: Wait until ODBC query is finished

My guess for those is:

  • <<Run Background, will always continue script execution after query is started
  • <<Run Foreground, will wait for the query to complete before continuing the script execution
  • <<Run, will depend on your preferences

There are also at least couple of other ways to run queries in JMP: Open Database() and Execute SQL().

-Jarmo