embedded sql in c,how to check if records exist : <p>I have tried these:</p>

<pre><code>1.if (EXEC SQL EXIST SELECT ...)
2.EXEC SQL IF EXIST SELECT ...
</code></pre>

<p>but none of these work,any help?</p>
