S
S
sound9012019-02-17 13:48:29
PostgreSQL
sound901, 2019-02-17 13:48:29

How to remove spaces in a PostgreSQL column?

There is a table (in PostgreSQL) with a column containing numbers (sums): 1,000.00; 20 000.00; 300.00; 400 000.00. The data type is text.
How to remove spaces in a column?

update table set column = replace(column, ' ', '');
- didn't work
. And if you export to a SQL Server table (with the money data type) do you need the numeric data type in postgres?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question