Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> How to save spaces for BLANK fields?
Hi,
I am adding records from my ASP pages to my Oracle Tables using ADO. The
problem is that I am not able to save the SPACES for blank fields. Some how,
for SPACES, saved record have nulls. But I need to save spaces because our
other desktop applications require SPACES for blank fields.
My code is like;
LCommandText = "Insert into cust(CDISP, " + _
"CPRBAL,CPAYM,CINCHG,CCHGS,CTXCHG, ... " + _
") values ( 'A', '0.0', '0.0', ' ', ' ', '0.0', ... )"
oCmd.CommandText = LCommandText
oCmd.CommandType = 1
set oAddCust = oCmd.Execute
...
Thank you in advance.
Naeem Malik Received on Wed Oct 28 1998 - 10:50:46 CST