Error 27: This type not allowed here The data type of the identifier or value containing the cursor is not a valid data type at this location. Check the syntax of the code and verify the correct data type. Change the identifier or value to the correct type.