Hi ,
I am just learning prolog. I have a task ahead. I have to insert some data in to a database like Db2 express c v9.7.1 using Prolog ODBC INterface. I know there are some example predicates(SWI-PROLOG) by documentation swi-prolog home
open_wordnet :- odbc_connect('WordNet', _, [ user(jan), password(xxx), alias(wordnet), open(once) ]). I do not know how to exactly use these predicates and show a working example. Can anyone please tell me how do I exactly use these to insert data into a database like Db2 express C v9.7.1 once etablished the connection between prolog and db2 from into eclipse sdk-win 32. Write me at the address mail [email protected].
Any help or information would be greatly appreciated.
Thank you.