Hi All,<br />
<br />
I have a really large table and I have a complicated procedure which retreives data for me.<br />
<br />
The table has about 15 columns.<br />
The procedure takes two parameters - a name and a date (both varchar)<br />
<br />
I want to do a check that the name and date exist in the table before the procedure continues with the bulk of the query... I dont want to procedure to execute if either the name or date are invalid.<br />
<br />
What is the quickest way of doing this? without putting too much strain on the DB?<br />
<br />
Thanks.<br />
<br />
I have a really large table and I have a complicated procedure which retreives data for me.<br />
<br />
The table has about 15 columns.<br />
The procedure takes two parameters - a name and a date (both varchar)<br />
<br />
I want to do a check that the name and date exist in the table before the procedure continues with the bulk of the query... I dont want to procedure to execute if either the name or date are invalid.<br />
<br />
What is the quickest way of doing this? without putting too much strain on the DB?<br />
<br />
Thanks.<br />