On 25-5-2017 12:38, Adriano dos Santos Fernandes wrote:
> On 25/05/2017 05:13, Mark Rotteveel wrote:
>> How can I find out if a parameter is a DB_KEY?
>>
>> When describing "select column1 from testrowid where rdb$db_key = ?",
>> how can I derive from the parameter information that this is actually a
>> db_key?
>>
>> For selected fields like in "select rdb$db_key, column1 from testrowid"
>> it is easy: just check if isc_info_sql_field is "DB_KEY", but this
>> doesn't work for parameters, because those don't include name information.
>>
> Why would you need it?

I'm implementing JDBC ROWID support in Jaybird, and that means that I'd 
prefer to be able to consistently identify both columns and parameters 
addressing RDB$DB_KEY as being a ROWID. Unfortunately right now, it 
looks like I can only do that for columns.

Mark
-- 
Mark Rotteveel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to