I am starting to use Oracle 18 XE (last version I used was 11g).
When I connect to database using:
sqlplus /nolog
and then I type:
connect sys as sysdba
I understand that I am connecting by default to the CDB.
1. How can I check in sqlplus that I am effectively connected to the CDB?
2. How can I list which PDBs are available in that CDB?
3. How can I connect to a given CDB?
Thanks,