Giovanni
2005-03-10 08:08:16 UTC
esiste una funzione in sql per convertire un valore stringa in numerico ?
Ho un file dove devo sommare un campo dichiarato stringa ma che contiene
valori numerici e vorrei fare una cosa del genere:
SELECT CLIENTE, SUM(.....(ORDINATO))
FROM miofile
group by cliente
ordrer by cliente
il campo ORDINATO è una stringa di 6 con valori tra "000000" e "999999"
Grazie
Giovanni
Ho un file dove devo sommare un campo dichiarato stringa ma che contiene
valori numerici e vorrei fare una cosa del genere:
SELECT CLIENTE, SUM(.....(ORDINATO))
FROM miofile
group by cliente
ordrer by cliente
il campo ORDINATO è una stringa di 6 con valori tra "000000" e "999999"
Grazie
Giovanni