Hum, it answered no.
Hugues
On Fri, Sep 28, 2007 at 03:34:04PM -0400, David Warren wrote:
> Hugues Demers writes:
> > Thank you for the quick answer.
> >
> > Yes, I did have problem with capitalization, but now I have ruled that out.
> > As for trailing blanks, I think I don't have problem with that, but...
> Where
> > exactly trailing blank would be a problem? In the names of the table like
> so?
> >
> > odbc_import( 'table_name'('attribute1', 'attribute2'), predicate).
> >
> > In that case having 'table_name ' would be a problem. Right?
>
> The ODBC interface keeps the tables and attributes it knows about in a
> dynamic predicate called attributeX.
>
> After the failure, you could type:
>
> | ?- odbc_call:attributeX(Ta,A,Ty,Co), writeq(a(Ta,A,Ty,Co)), fail.
>
> I think this will work and print out for you the tables and attributes
> it has for them (and their types and the connection handle...) It
> probably also initially prints out a warning, but that can be
> ignored. This might give you information on what XSB thinks you
> should be entering.
>
> Again, I haven't tried this, and it might not work. But try it an let
> us know what happens.
>
> -David
--
Hugues Demers
Staff Member
R&D Department
Lockheed Martin Canada
514-340-8310 ext. 8673
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
|