I have an interesting situation when I try to select everything in the sql server table, but I only need to access the table through the old company API instead of SQL. This API queries the table name, field name, and value. Then it connects to it quite simply:
select * from [TABLE_NAME_VAR] where [FIELD_NAME_VAR] = 'VALUE_VAR';
I canβt change the = sign to! = Or anything else, only those vars. I know this sounds awful, but I can't change the API without going through a lot of hoops, and that's all I have to work with.
There are several columns in this table that represent all numbers, all rows and are not null. Is there a value that I can pass to this API function that will return everything to the table? Perhaps a constant or special value that means its number is not a number, it is a string, * it is not empty, etc.? Any ideas?
source share