Page 1 of 1

stored procedures firing before connect

Posted: Wed 22 Nov 2017 09:26
by Senad
Why are the stored procedures, that set to fire on afterconnect event of the
uniconnection, firing in uniconnectdialog when trying to select a database ?
This is SQL server 2014 with unidac 7.0.2.

Re: stored procedures firing before connect

Posted: Thu 23 Nov 2017 09:56
by Stellar
When retrieving the list of databases, a connection to the master database of the selected server is established in the SQL Server instance. After a successful connection, the AfterConnect event occurs, which you process and execute the stored procedure.