× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am creating an import file and the person receiving it wants a null
when the field is blank.
I am truncating all blanks. But I send her " ". The help references a
null,
but does not seem to apply to what I want.

In my experience, NULL fields are passed by not putting anything
between
your field delimiters. So if you're using comma as a delimiter the
following would represent a null in field 2: 9856,,1234

This is more common with tabs, I think, but I used commas since that's
something you can "see."

I sent it according to your example, and they want double quote field
delimiters, CPYTOIMPF seems to force a blank in the double quotes under
the
covers, without any parameters that I can see to suppress the blank.

Then there are too many definitions for the term "null." In DB terms, NULL
is not equal to empty field nor to blanks. I don't know how you might
satisfy this special need, but it sounds like the first order of business
should be a terminology level set.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
Phil Rizzuto (to Yogi Berra, driving to a banquet) :
"Yogi, we're lost."
"Yeah, but we're making good time."




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.