-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: EmptyStringType, EmptyAnsiStringType
PostPosted: Fri Nov 04, 2005 12:48 pm 
Expert
Expert

Joined: Fri Oct 28, 2005 5:38 pm
Posts: 390
Location: Cedarburg, WI
What is the difference between EmptyStringType and EmptyAnsiStringType?

I am looking for a user type that will not only map database NULLs to empty strings and vice-versa, but to trim trailing blanks from CHAR() column values. Is this what EmptyAnsiStringType is for?

I still can't fathom why my boss insists on using CHAR() instead of VARCHAR(), but I have to live with it ... something to do with the inevitability (?) of trailing blank crap getting into VARCHAR columns, and then values with and without trailing blanks not matching in SQL statements ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.