novo codigo
currval
merge