Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: AseBulkCopy.WriteToServer fails when target is a non-nullable UDT

$
0
0

Hi,

 

I still can't get the error - the bulk load goes through.

 

I am using older ASE so I will switch to a 16.0 server and see what happens.  The data types and user types are the same as indicated above.

 

I did have to use query like:

 

 

select exchange_type_id as e_type_id from T_SEC_EXCHANGE

 

or I got error:

 

Exception: System.ArgumentException: Unable to map columns. Check to ensure correct number of column mappings and that all columns exist.

 

With the label the bulk load went through - I created exact DDL on mssql 2012 this time and on ASE:

 

create TABLE dbo.target

(

e_type_id typ_small_id NOT NULL

)

go

 

I will try 16.0 ASE and see what happens and report back later today.


Cheers,

-Paul

 


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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