× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
ranarohitp(*) reported 2013-05-02T05:30:07Z  · ivangron last modified 2013-05-21T18:01:37Z

Failed to insert data when data is more then the specified length

  Duplicates #8801
Priority Low
Complexity Unknown
Component Tools - Import Tool
Version 14.0

ADS version : ads-windows-x64-14.0-dev-44
Database:Sybase Anywhere 12/Sybase ASE15.7

Create following table
CREATE TABLE dbo.varying_text2  (
    c1    varchar(10) NULL,
    c2    unitext NULL,
    c3    univarchar(5) NULL,
    c4    unichar(5) NULL,
    c5    nchar(2) NULL
    )
GO

Now go to Tools->Import Data->Connect to Sybase ASE 15.7->Import file(Use attached file Exp.txt),click next->From Schema and table drop down select respective values and click next->In option tab from "Destination" drop down->choose "Import into database",click on next button->On Transaction tab set Transaction type:Batch,Batch size:1000,Threshold:0and wait time-1 and say next.This will throw error message over ADS window console.

If you follow the above given step and change option from "Import into database" to "preview INSERT statements" ,now copy generated script and insert it,record will get inserted as it will truncate the rest of the data.

The message displayed over console is wrong it says "completed : Inserted n row(s)".But when we do a select not a single record is inserted.Please change the message as well.

3 attachments

Issue #8799

Closed
Duplicate
Resolved 2013-05-21T18:01:37Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017