>con un campo che contiene il nome di locali tipo
>
>the l'arch
>new's road
>
>io vorrei modificare tutti i testi togliendo ogni tipo di spazio,
>apostrofo ecc.... trasformando in:
>
>
>the_l_arch
>new_s_road
Potresti utilizzare due funzioni REPLACE():
SELECT REPLACE(REPLACE(Colonna, ' ', '_'), '''', '_')
FROM ...
Per maggiori info consulta il seguente link:
http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_replace
>Grazie mille
Prego.
Ciao!
--
Lorenzo Benaglia
Microsoft MVP - SQL Server
http://blogs.dotnethell.it/lorenzo/
http://italy.mvps.org