30.08.2017 21:15, hamacker [email protected] [firebird-support] wrote: > Here in fb3, to put role name in execute, Its mandatory put username and > password too.
I was wrong a little, but still you should read the documentation: > - if ON EXTERNAL DATA SOURCE clause is omitted then > a) statement will be executed against current (local) database > b) if AS USER clause is omitted or <user_name> equal to CURRENT_USER > and if ROLE clause is omitted or <role_name> equal to CURRENT_ROLE > then the statement is executed in current connection context > c) if <user_name> is not equal to CURRENT_USER or <role_name> not equal > to CURRENT_ROLE > then the statement is executed in separate connection established > inside the same > engine instance (i.e. created new internal connection without Y-Valve > and remote layers). -- WBR, SD. ------------------------------------ ------------------------------------ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Visit http://www.firebirdsql.org and click the Documentation item on the main (top) menu. Try FAQ and other links from the left-side menu there. Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------ Yahoo Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo Groups is subject to: https://info.yahoo.com/legal/us/yahoo/utos/terms/
