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


All Replies
Seven Stars

Re: Unable to connect to Microsoft SQL Server

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

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch