01Chapter 1: What an Oracle connection is made ofAn Oracle connection is a session between a client tool and an Oracle Database service. The client might be SQL Developer, SQLcl, an application, or another database tool. To create the session, the client needs a network destination, a database service, and valid credentials.2 min read
02Chapter 2: Service names, SIDs, and the listenerAssume you know basic SQL and can use a terminal. You also need access to an Oracle Database and permission to connect to it. This chapter explains how Oracle identifies a database service and how a client reaches it.2 min read
04Chapter 4: SQL Developer and SQLcl: when to use whichAssume you already know basic SQL, can use a terminal, and have an Oracle account and a reachable database. This chapter compares two Oracle tools. It does not teach every connection field or SQL command.3 min read
05Chapter 5: Creating a Basic connection in SQL DeveloperAssume you understand tables and simple SQL, can use your operating system’s file manager, and have access to a reachable Oracle Database. You also need an Oracle username and password, the database host name, the listener port, and the database service name.2 min read
06Chapter 6: Using a TNS alias and tnsnames.ora in SQL DeveloperThis chapter assumes you know basic SQL, can use a file system and terminal, and have access to an Oracle Database account. SQL Developer must be installed. You also need a tnsnames.ora file supplied by your database administrator or created from the database connection details.2 min read
07Chapter 7: Installing and starting SQLclSQLcl is Oracle’s command-line interface for SQL and PL/SQL. It is useful when you prefer a terminal, need repeatable scripts, or want to run database work from automation. This chapter assumes that you know basic SQL, can use a terminal, and have access to an Oracle Database account. It does not re2 min read
08Chapter 8: Connecting from SQLcl with CONNECTThis chapter assumes that you know basic SQL, can use a terminal, and have access to an Oracle Database account. You also need SQLcl installed and a database connection identifier, such as an Easy Connect string or a TNS alias.2 min read
09Chapter 9: Verifying who and where you are connectedThis chapter assumes that you know basic SQL, can run a query in SQL Developer or SQLcl, and have access to an Oracle Database account. The goal is to confirm the identity and location of your current session before you run other commands.2 min read
10Chapter 10: Saving and reusing connections in SQLclAssume that you already know basic SQL and can connect to an Oracle Database from a terminal. You also need SQLcl installed and a reachable database account. This chapter shows how to save a connection under a name and reuse it without retyping the full connect identifier.2 min read
11Chapter 11: Connecting as SYSDBA and other privileged rolesAssume you know basic SQL, can use a terminal, and have access to an Oracle Database account. This chapter focuses on administrative connections, not on granting privileges or changing database configuration.2 min read
12Chapter 12: Connecting to a cloud database with a walletThis chapter assumes that you understand host names, ports, service names, and database credentials. You also need access to an Oracle Cloud database, such as an Autonomous Database, a downloaded wallet ZIP file, and a database user.3 min read
13Chapter 13: Troubleshooting common connection errorsAssume that you know basic SQL, can use a terminal, and have an Oracle account and a reachable database. This chapter focuses on connection failures before SQL statements run.2 min read
14Chapter 14: Handling credentials safelyAssume you can use SQL and a terminal, and that you understand the basic parts of an Oracle connection. This chapter focuses on protecting passwords, saved connections, wallets, and automated jobs.2 min read
15Chapter 15: Running SQLcl in scripts and automationAssume you know basic SQL, can use a terminal, and have SQLcl installed. You also need access to an Oracle Database and an authentication method that does not expose a password in the script.2 min read