MySQL Forums
Forum List  »  Italian

Re: Stored procedure - variabile per creazione tabella
Posted by: Diego Radica
Date: November 14, 2018 04:19AM

Rettifico la prova precedente della query secca

INSERT INTO October2018 (TimeLog,Zona,Sensore,T,U) select TimeLog,Zona,Sensore,T,U FROM TemperatureLOG_TEST where TimeLog LIKE '2018-11%'

Fatta in questo modo i dati vengono senza problemi copiati nella nuova tabella che con la SP precedente è creata correttamente.

A mio avviso il problema è solo di sintassi nella SP con il simbolo % del LIKE

Grazie ancora

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Stored procedure - variabile per creazione tabella
589
November 14, 2018 04:19AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.