Question Robert Steed · Sep 22, 2022 SQLCODE=-52 : Cursor C10 already declared Hi, My routine contains embedded SQL including this: &sql(DECLARE C1 CURSOR FOR The error "SQLCODE=-52 : Cursor C10 already declared" comes up on compilation in Studio. Does anyone know a way around it please? Bob #ObjectScript #SQL #Caché 0 4 0 80