I have a query which calls a function, the function returns some values and at same time does some error trapping and inserts data into a log table.
Select countryCode, GetName(countryCode) from countryTable;
GetName( ) will look for some data in some other table, if found it will return the value else it will insert an error message in a log table.
There are 1500 possible rows in the CountryTable.
When I make a macro OpenQuery, the whole set of data is not getting traversed. Is there any way,to traverse the whole set of data ?
Select countryCode, GetName(countryCode) from countryTable;
GetName( ) will look for some data in some other table, if found it will return the value else it will insert an error message in a log table.
There are 1500 possible rows in the CountryTable.
When I make a macro OpenQuery, the whole set of data is not getting traversed. Is there any way,to traverse the whole set of data ?