This FDM is deprecated, please refer to SSC-EWI-OR0128 documentation.
Description
This message is used to indicate that a boolean cursor attribute is not supported in SnowScript or that there is no transformation that emulates its functionality in SnowScript. The following table shows the boolean cursor attributes that can be emulated:
--** SSC-FDM-0007 - MISSING DEPENDENT OBJECT "table1" **CREATEORREPLACEPROCEDURE cursor_attributes_proc ()RETURNSVARCHARLANGUAGESQLCOMMENT ='{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},{"attributes":{"component":"oracle"}}'EXECUTEASCALLERAS$$DECLARE is_open_attr BOOLEAN; found_attr BOOLEAN; my_record OBJECT !!!RESOLVE EWI!!! /*** SSC-EWI-0036 - ROWTYPE DATA TYPE CONVERTED TO OBJECT ***/!!! := OBJECT_CONSTRUCT(); my_cursor CURSORFORSELECT OBJECT_CONSTRUCT( *) sc_cursor_record FROM table1;BEGINOPEN my_cursor;LOOP--** SSC-PRF-0003 - FETCH INSIDE A LOOP IS CONSIDERED A COMPLEX PATTERN, THIS COULD DEGRADE SNOWFLAKE PERFORMANCE. **FETCH my_cursor INTO :my_record;IF (my_record ISNULL) THEN EXIT;ENDIF; is_open_attr :=null/*my_cursor%ISOPEN*//*** SSC-FDM-OR0038 - BOOLEAN CURSOR ATTRIBUTE %ISOPEN IS NOT SUPPORTED IN SNOWFLAKE ***/; found_attr := my_record IS NOT NULL;ENDLOOP;CLOSE my_cursor;END;$$;