I've been scouring through the forums looking for information on this. We have a lot of Relativity tables and most of them work great without any errors. Sometimes we've run into problems like:
Numeric item in key contains nonnumeric characters
Numeric value out of range
Numeric item contains nonnumeric characters (this one happens on dates too!)
This causes problems as I'm trying to SELECT * on a table and when an error happens, the ENTIRE query is halted (Relativity server on linux, connecting via unixODBC). I found a great post by Tom who explains how you can use the Relativity designer to create a function f(x) IsNumeric() or IsValidDate() to get around some of these errors.
This has been a great solution so far - because while we intend to fix the programs that allow this bad data to get into the data files, we also really need something that can just query a table and get very row possible, excluding errors. Again, the programs that introduce these errors should and will be fixed, but in the meantime we still need to be able to access this data through Relativity despite the errors.
In the same post he mentions this:
There is also a setting on the data source that can tell the Relativity SQL engine to produce NULL on all invalid numerics that do not appear in record keys. In my opinion it is better to use my first suggestion to address individual issues of non-numeric data, rather than use the data source setting. But if you have a lot of bad data in many fields, then this setting may be useful.
How can I access this setting, maybe through the odbc.ini settings (we have the relativity server on a linux box) that would allows us to skip all rows with errors instead of throwing an error and halting the query forever?
Thank you so much in advance!