Hi all!
After connecting to Oracle using OCI, we need to know the current server version, and the user session id.
I searched then OCI doc, but could not find anything about that.
Is there a way to get that information, without executing SQL?
Obviously for now we do some SQL like:
SELECT banner FROM v$version WHERE banner LIKE 'CORE%'
SELECT userenv('SESSIONID') FROM dual
But if we could avoid that it would speed the connection steps.
Thanks!
Seb