Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version r085


D s ed
rtrue
editionsawsent,awspro,awspr,awsst

D toc

Excerpt

You can create connections to one or

...

more 

D s conntype
typeoracle
  from 
D s product
rtrue


If you are connecting

D s product
to any relational source of data, such as Redshift or Oracle
D s conntype
typeredshift
or
D s conntype
typeoracle
, you must add the
D s item
itemService
to your whitelist for those resources.For more information, see Getting Started with Trifacta SaaS.

Supported Versions: 12.1.0.2


  • Read: Supported
  • Write: Supported


Configure

To create this connection:

  • In the Import Data page, click the Plus sign. Then, select the Relational tab. Click the Oracle card
    D s conntype
    typeoracle
     card
  • You can also create connections through the Connections page. See Connections Page.

...

PropertyDescription
Host
Enter your hostname. Example:

 

Code Block
testsql.database.windows.net
PortSet this value to 1521.
Connect String options

Please insert any connection options as a string here. See below.

Enable SSL

Select the option if the connection should use SSL.

Info

NOTE: Additional configuration may be required in the database server. For more information, please consult the documentation that was provided with the distribution.

Info

NOTE: SSL connections are not supported in

D s product
.



Service NameEnter the name of the Oracle service.
User Name(basic credential type only) Username to use to connect to the database.
Password(basic credential type only) Password associated with the above username.
Test ConnectionAfter you have defined the connection credentials type, credentials, and connection string, you can validate those credentials.
Connection NameDisplay name of the connection
Connection DescriptionDescription of the connection, which appears in the application.

Reference

Connection URL

The properties that you provide are inserted into the following URL, which connects 

D s product
 to the connection:

Code Block
<host>:<port>/<service_name>

Connect string options

The connect string options are optional. If non-standard connections are required, Oracle supports

D s conntype
typeoracle
 supports using tsnames format. 

When the connect string options field is used:

...

For more information, please see the documentation for the Oracle driver

D s conntype
typeoracle
 driver.

Driver Information

This connection uses the following driver:

Create via API

This connection can also be created using the API.

  • Type: jdbc
  • Vendor: oracle

For more information, see

D s api refdoclink
#operation/createConnection

Troubleshooting

For more information on common error messages, see https://docs.oracle.com/cd/E11882_01/java.112/e16548/apxermsg.htm#JJDBC28962.

"Could not create dataset - Lexical error"

When you attempt to create a dataset with SQL from an Oracle database, you may receive an ORA error similar to the above. These queries may work in other database tools. 

Solution:

The solution is to apply aliasing impacted columns in your SQL query. For more information, see Supported SQL Syntax.

Use

SQL Syntax

The following syntax requirements apply to this connection.

Object delimiter: double-quote

Example syntax:

Double quotes required around database and table names and not required around column names.

Code Block
SELECT "column1","column2" FROM "databaseName"."tableName";

For more information on SQL in general, see Supported SQL Syntax.

For more information, see Database Browser.

Data Conversion

For more information on how values are converted during input and output with this database, see Oracle Data Type Conversions.