Unable to connect to Microsoft SQL Server

Highlighted
Seven Stars

Unable to connect to Microsoft SQL Server

Hi 

 

I am trying to connect to a Microsoft SQL server to execute a select statement and return the results

The Job:

talend1.PNG

 

I get the following Error during execution

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )

at financialreports.extractreceipts_0_1.ExtractReceipts.tMSSqlInput_1Process(ExtractReceipts.java:792)
at

Has anyone experienced this before? I can connect to the server via SQL Manager and ODBC

 

Thanks


Accepted Solutions
Seven Stars

Re: Unable to connect to Microsoft SQL Server

Resolved, by adding an additional \ escape to be like this dbname\\db

View solution in original post


All Replies
Seven Stars

Re: Unable to connect to Microsoft SQL Server

Resolved, by adding an additional \ escape to be like this dbname\\db

View solution in original post

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog