c1,
There is something called Pro*C . You write your logic in C and whereever you want to access the Oracle database . You need to put your SQL Commands. After that you need to pass this file to a proc.mk (make file provided by Oracle for that system). It will generate a proper C file , converting all the SQL codes to its equivalent C code. Then you just compile your C program and get your job done.
For another databases ( I am not very sure) , some programmers provide the library functions . You need to get them and include in your program.
Hope this answers your question.
Siddhartha Singh
Siddhartha Singh
siddhu_singh@hotmail.com
siddhu.freehosting.net