Skip to content

Invalid result when string compared with indexed numeric(x,y) field where x > 18 and y != 0 #8033

@AlexPeshkoff

Description

@AlexPeshkoff

SQL> create table mi8 (v numeric (30, 4));
SQL> insert into mi8 values(12.345);
SQL> commit;
SQL> create index i8 on mi8(v);
SQL> select * from mi8 where v = 12.345; -- result is correct

                                        V 

=============================================
12.3450

SQL> select * from mi8 where v = '12.345'; -- result is wrong
SQL>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions