Error concatenating I get zeros

0

I'm doing a concatenation of two fields but when converting it to CSV, it puts me pure zeros. I have the following code:

replace pedposdoc WITH ALLTRIM(pedpos)+ALLTRIM(STR(docmat)) all

Until there everything goes perfect when I use the command and I execute it is correct and it concatenates me well but when executing it so that I convert it to CSV I check the Doc and I get pure zeros for example

When executed in the command

PEDDOC                  PED                 DOC
5003497654510           500349765           4510

By doing everything and moving to the CSV

PEDDOC                 PED                 DOC
5003497650000          500349765           4510

Someone could help me please.

    
asked by Ale Loera 20.07.2017 в 23:50
source

0 answers