Drop if exists and create not working for Sybase connection

Highlighted
One Star

Drop if exists and create not working for Sybase connection

If I use drop and create table if exists on tcreatetable component with a Sybase connection I am getting the error that the table already exists. Please Help

Highlighted
Moderator

Re: Drop if exists and create not working for Sybase connection

Hi,
Do you use same table name which is present in other database? Have you tried to use "Create table " table action in tCreateTable to see if it works?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
One Star

Re: Drop if exists and create not working for Sybase connection

Create table does work if table is not already created.  Drop and create does not work.
Highlighted
Moderator

Re: Drop if exists and create not working for Sybase connection

Hi,


Do you use same table name which is present in other database? 


Could you please indicate the build version you are using?


Best regards


Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
One Star

Re: Drop if exists and create not working for Sybase connection

The table does already exist in the database.

Talend Open Studio for Big Data
Version 6.1.1

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