Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3046 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is it possible to use Execute SQL across databases not just tables but another database that exists on the same server.  If so how would I reference it in an SQL statement.  Any help or advice would be much appreciated.

 

Best,

Posted

First let's get the lingo right:

- "Execute SQL" is a script step meant to push data to any ODBC compliant database

- "ExecuteSQL()" is a function call that can only SELECT from internal FM tables

I'm assuming you mean ExecuteSQL()?

If so then you can touch any table from any file, provided that you have TO in the file where you will be call the function.  ExecuteSQL() always needs a TO to work with.

Posted
1 hour ago, Wim Decorte said:

First let's get the lingo right:

- "Execute SQL" is a script step meant to push data to any ODBC compliant database

- "ExecuteSQL()" is a function call that can only SELECT from internal FM tables

I'm assuming you mean ExecuteSQL()?

If so then you can touch any table from any file, provided that you have TO in the file where you will be call the function.  ExecuteSQL() always needs a TO to work with.

Ahhh.  Thank you so much.

This topic is 3046 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.