Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Help with update

$
0
0
I'm trying to run the following script and will not:

update COR_DOF
set VL_ALIQ_PIS = 0.01,
VL_IMPOSTO_PIS = 1.12
from COR_DOF B
JOIN
COR_IDF A ON A.DOF_SEQUENCE = B.DOF_SEQUENCE AND
A.CFOP_CODIGO IN ('1.202', '1.411')
where DOF_IMPORT_NUMERO = 'cef622de-e29b-4f2d-ad4d-1e6ad1c2df66'
and a.MERC_CODIGO = 259314
and A.CFOP_CODIGO = '1.202';


below error:


Error starting at line 52 in command:
update COR_DOF
set VL_ALIQ_PIS = 0.01,
VL_IMPOSTO_PIS = 1.12
from COR_DOF B
JOIN
COR_IDF A ON A.DOF_SEQUENCE = B.DOF_SEQUENCE AND
A.CFOP_CODIGO IN ('1.202', '1.411')
where DOF_IMPORT_NUMERO = 'cef622de-e29b-4f2d-ad4d-1e6ad1c2df66'
and a.MERC_CODIGO = 259314
and A.CFOP_CODIGO = '1.202'
Error at Command Line:55 Column:12
Error report:
SQL Error: ORA-00933: SQL command not properly ended
00933. 00000 - "SQL command not properly ended"
*Cause:
*Action:

Viewing all articles
Browse latest Browse all 13329

Trending Articles