Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Hi,
Can you tell me what is the problem with these statements ?
1)
Update SDR_Clientes SET Rec_Asociado = 'S'
From SDR_TMP_Asociar
Where Rec_Number = Tmp_Number and (link fields)
Tmp_Numero <> p_NumeroViejo (variable)
2)
LET v_CadenaAux = "Select Act_Actividad From SDR_Actividad Where
SDR_Field1 In (" || v_Cadena || ") || ";";
EXEC SQL prepare Seleccion from v_CadenaAux;
EXEC SQL execute Seleccion;
Thanks,
David
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.