How can I execute SQL statements from a C program. For example I want to display the output of
select * from EMP
from a c program. Do I need to do it using Stored Procedures? Do I need any library files to do it. My C compiler is Tiny C Compiler and I am currently having SQL server studio 2005. Suggestions for Unix/AIX platform + GCC are also invited.
Thanks in advance..
I am now using the following method explained in this question by me.It is satisfying my requirements.