Hello: > fbCmd.CommandText = "GRANT OPERATOR TO TESTUSER" > > fbCmd.CommandType = CommandType.Text > > fbCmd.Transaction = FbCon.BeginTransaction > > If fbCmd.ExecuteNonQuery() <> -1 Then /*This doesn't return any > value, it only returns -1
ExecuteNonQuery should return the number of rows affected by an insert, update or delete statement or -1 in any other case, so what do you expect a GRANT statement to be returning ?? -- Carlos Guzmán Álvarez Vigo-Spain Blog : http://carlosga.wordpress.com/ FirebirdClient : http://www.firebirdsql.org/ XMPP Client : http://code.google.com/p/xmppclient/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Firebird-net-provider mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
