In this query :
DECLARE @TempPerformance TABLE(FeatureTitle VARCHAR(50), FeatureText VARCHAR(50))
INSERT INTO @TempPerformance
EXEC [usp_GetPerfomance] @Value
It some times gives 2 columns and sometime one column only..It does not work when it returns only 1 column as the temporary table is not designed so..
How can I differentiate between these 2 results.
EDIT
If the SP fails..it returns one column - one row as :
Standard
--------
No Records Found