25.10.2013 Views

New SQL Features in Firebird

New SQL Features in Firebird

New SQL Features in Firebird

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

16<br />

P<strong>SQL</strong> : EXECUTE STATEMENT<br />

EXTERNAL DATA SOURCE clause :<br />

Query another <strong>Firebird</strong> database<br />

is usual <strong>Firebird</strong>'s connection str<strong>in</strong>g<br />

Query another database us<strong>in</strong>g user\password<br />

EXECUTE STATEMENT '...'<br />

ON EXTERNAL DATA SOURCE 'host:path'<br />

USER 'VLAD' PASSWORD 'dontKnow'<br />

When user\password is not set<br />

Trusted autentication (W<strong>in</strong>dows only) : <strong>Firebird</strong>'s process account name is effective user<br />

name at remote database (if TA is supported by remote side)<br />

EXECUTE STATEMENT '...'<br />

ON EXTERNAL DATA SOURCE 'host:path'<br />

CURRENT_USER is effective user name at local database<br />

EXECUTE STATEMENT '...'<br />

ON EXTERNAL DATA SOURCE 'path_to_the_current_database'<br />

Luxembourg 2011 Whats new <strong>in</strong> <strong>Firebird</strong> <strong>SQL</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!