Randomblink
The Irreverent Reverend
- Local time
- Yesterday, 23:47
- Joined
- Jul 23, 2001
- Messages
- 279
Ok...
I have a function that gets passed a string...
The string contains SQL code...
SELECT statements only...
How do I count those records?
Due to the nature of the SQL, sometimes it will return NO records... sometimes it will return 0... and for some reason it treats them as two different results...
So, I am needing to test the SQL code...
On 0 or EMPTY I need to do one thing...
On 1 or greater returned records I need to do something else...
I have looked all over the help, searched online, and I have found nothing... Help if you can...
I have a function that gets passed a string...
The string contains SQL code...
SELECT statements only...
How do I count those records?
Due to the nature of the SQL, sometimes it will return NO records... sometimes it will return 0... and for some reason it treats them as two different results...
So, I am needing to test the SQL code...
On 0 or EMPTY I need to do one thing...
On 1 or greater returned records I need to do something else...
I have looked all over the help, searched online, and I have found nothing... Help if you can...