Re: How to set Oracle-roles from VB
From: RSCary <rscary_at_aol.com>
Date: 10 Jul 1994 02:09:04 -0400
Message-ID: <2vo3a0$3nn_at_search01.news.aol.com>
Your problem is you are trying to execute a SQL*Plus command as SQL. It will only work in SQL*Plus.
Date: 10 Jul 1994 02:09:04 -0400
Message-ID: <2vo3a0$3nn_at_search01.news.aol.com>
In article <1994Jul8.135531.6248_at_roche.com>, joerg.schmiedle_at_roche.com (Joerg Schmiedle) writes:
Hi everybody,
After a sucessful connect to the remote database, I try to set a role
from my VB-application. The SQL-syntax (which works fine with SQLplus)
is
"SET ROLE ROLE_NAME;"
The question is: How can I execute this SQL-statement from Visual
Basic.
I tried to use the ExecuteSQL-method, but doesn't work.
Any comments?
Your problem is you are trying to execute a SQL*Plus command as SQL. It will only work in SQL*Plus.
Scott Cary Received on Sun Jul 10 1994 - 08:09:04 CEST