Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

(beginner) Get base64 LDAP attributes into SQL (truncating, field size) varchar(max)

$
0
0
I am trying to transform LDAP input data to an SQL table. A few of my LDAP attributes contain base64 encoded binary data, very large in size.
I see how I can set the length of the fields in the Fields tab of my LDAP Input. They seem to default to VARCHAR(100) for Strings, since that's what my SQL Create script (also created by Kettle) uses in its definitions of the fields where the Length is not explicitly defined.

How do I change the field definitions for my large base64 fields to the SQL equivalent of varchar(max)?

eta: I'm asking because the SQL INSERT statements currently fail for these large fields with a truncation exception because the standard VARCHAR(100) column isn't long enough.

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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