Quantcast
Viewing all articles
Browse latest Browse all 445

Escape characters in teradata jdbc connection string

I have a teradata database name that contains a dash character -.
Searched the web but in vain. Does somebody know how can you escape the special characters in jdbc connection string? The string looks as follows:
"jdbc:teradata://HostName/DATABASE=Database-Name"
When I create a connection with this url I get syntax error. Also tried to put database parameter in single or double quotes, and to surround the special charachers with { }.
Here https://jira.talendforge.org/browse/TDI-18863 it is proposed to this way:
"jdbc:teradata://HostName/'DATABASE=Database-Name'"
This unfortunately ignores the database parameter.
Thanks for help!

 

Tags: 
Forums: 

Viewing all articles
Browse latest Browse all 445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>