Re: How to specify null delimited in format file
- From: "Subind" <subind123@xxxxxxxxx>
- Date: 20 Dec 2006 20:59:27 -0800
Hey gr8 men, this is a good link that you provided.Helped me to resolve
my problem.
Thanks for the help.....
-Subind.
SybaseNeal wrote:
Hello,
You can specify that NULL be the field terminator with "\0:
http://manuals.sybase.com/onlinebooks/group-as/asg1251e/utility/@Generic__BookTextView/4764;pt=4764
For example:
% cat bcp.fmt
10.0
9
1 SYBCHAR 0 11 "\0" 1 au_id
2 SYBCHAR 0 40 "\0" 2 au_lname
3 SYBCHAR 0 20 "\0" 3 au_fname
4 SYBCHAR 0 12 "\0" 4 phone
5 SYBCHAR 1 40 "\0" 5 address
6 SYBCHAR 1 20 "\0" 6 city
7 SYBCHAR 1 2 "\0" 7 state
8 SYBCHAR 1 12 "\0" 8 country
9 SYBCHAR 1 10 "\0" 9 postalcode
.
- References:
- How to specify null delimited in format file
- From: Subind
- Re: How to specify null delimited in format file
- From: SybaseNeal
- How to specify null delimited in format file
- Prev by Date: Re: Installation SYBASE ASE 15 developer, FAILS
- Next by Date: Using stored proc or func in view
- Previous by thread: Re: How to specify null delimited in format file
- Next by thread: Masking sp_password/sp_addlogin
- Index(es):