Re: search on Oracle CHAR primary key column

[prev] [thread] [next] [Date index for 2004/08/26]

From: Tim Bunce
Subject: Re: search on Oracle CHAR primary key column
Date: 15:56 on 26 Aug 2004
On Wed, Aug 25, 2004 at 10:19:03AM -0400, Jim Brandt wrote:
> I need to interface with an Oracle table that has CHARs as primary key 
> columns (there are two), but I've been unable to get any 
> selects/searches to match anything unless I use search_like. I finally 
> figured out it was probably because the datatype is being set to 
> VARCHAR by default.
> 
> Is there any way I can tell CDBI to treat these as CHARs and bind the 
> parameters correctly?
> 
> I found a reference to the data_type method on the kwiki:
> 
> http://www.class-dbi.com/cgi-bin/wiki/index.cgi?WorkingWithBlobs
> 
> but was unable to get it to work.

That's probably the right approach though, so start debugging CDBI...

Tim.

search on Oracle CHAR primary key column
Jim Brandt 14:19 on 25 Aug 2004

Re: search on Oracle CHAR primary key column
Adam Przygienda 15:25 on 25 Aug 2004

Re: search on Oracle CHAR primary key column
Jay Strauss 15:32 on 25 Aug 2004

Re: search on Oracle CHAR primary key column
Jim Brandt 14:43 on 26 Aug 2004

Re: search on Oracle CHAR primary key column
Tim Bunce 15:56 on 26 Aug 2004

Re: search on Oracle CHAR primary key column
Jim Brandt 19:28 on 27 Aug 2004

Re: search on Oracle CHAR primary key column
Tony Bowden 10:05 on 30 Aug 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52