Hi all,
I've got an oddball problem that I can't figure out and haven't ever seen before.
I have 2 tables, one generates a primary key which acts as a foreign key on the other.
Something started happening recently where the data on the second table has ceased being accessible through the use of the foreign key on the second table AFTER a certain value. But it's still visible if I do a broader WHERE clause. i.e.:
SELECT * FROM TABLE B WHERE ID > 3700
returns
ID
--
3701
3702
3703
3704
3705
this works:
SELECT * FROM TABLE B WHERE ID = 3703
this doesn't:
SELECT * FROM TABLE B WHERE ID = 3704
In fact, I can't retrieve through the fk for any records after that value. It's real weird. I can see it if I make the where clause such that I catch it in a blanket search, but it fails on the specific ID. Any ideas?
Thanks,
J
I've got an oddball problem that I can't figure out and haven't ever seen before.
I have 2 tables, one generates a primary key which acts as a foreign key on the other.
Something started happening recently where the data on the second table has ceased being accessible through the use of the foreign key on the second table AFTER a certain value. But it's still visible if I do a broader WHERE clause. i.e.:
SELECT * FROM TABLE B WHERE ID > 3700
returns
ID
--
3701
3702
3703
3704
3705
this works:
SELECT * FROM TABLE B WHERE ID = 3703
this doesn't:
SELECT * FROM TABLE B WHERE ID = 3704
In fact, I can't retrieve through the fk for any records after that value. It's real weird. I can see it if I make the where clause such that I catch it in a blanket search, but it fails on the specific ID. Any ideas?
Thanks,
J