Getting Started
To begin using Sierra Direct SQL Access:
- Create a Sierra user, or edit an existing user, for staff who can access the database views.
Due to restrictions of the PostgreSQL database, user login names authorized for Sierra Direct SQL Access (assigned the Sierra SQL Access application) must not contain capital letters. Login names that include capital letters are unable to authenticate against the database.
Internationalized Data
The language assigned to the user determines the language of any internationalized data retrieved from the database views of multi-lingual systems.
- Assign the "Sierra SQL Access" application to the user.
- Acknowledge the license statement.
- Verify that the appropriate port (1032 in most cases) is open between staff and the database server.
- Ensure that there are no firewall restrictions impeding communication between client and the database server.
- When you are ready to create SQL queries, view the SierraDNA on Innovative's TechDocs website.
- Choose an SQL application to create and run queries against the database.
SQL Applications
Innovative staff use freeware programs such as PGAdmin and Jaspersoft Studio. Libraries are welcome to use any program they prefer.
If you have trouble accessing and using Sierra Direct SQL Access, see the Troubleshooting pages for assistance with common issues.
Setting Up SQL Client Connections
To connect an SQL client to the database:
- Install PostgreSQL database drivers on the PC. You can download ODBC or JDBC drivers, as needed by your chosen client application, from the PostgreSQL website.
- In the client application, create a connection to the database server, using the DNS name, on port 1032.
- Set the connection to use SSL.
- Connect to the "iii" database.
- Apply the username and password created for Sierra Direct SQL Access.
Setting Up Access for a Report-writing Client via JDBC
To connect a report-writing client to the database via JDBC, you must use an SSL connection string. The following is an example SSL connection string for Jaspersoft Studio:
jdbc:postgresql://hills-sierra-pg.iii.com:1032/iii?characterEncoding=UTF-8&autoReconnect=true&ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory