title: How to execute sql statements from a C program?
body: <p>How can I execute SQL statements from a C program. For example I want to display the output of <p><code>select * from EMP</code><p>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.
  <p>Thanks in advance..</p>