I need to change every double precision field of a table to numeric(15,3) type,
how can i do this job quickly with a stored procedure that iterate through the field of a given table and if the type is double precision alter column to numeric ?
I need to change every double precision field of a table to numeric(15,3) type,
Share
following query should return query to update these tables… you can add table filter if you want. Copy the result and run it.
TEST IT BEFORE RUN IT. I DID NOT TEST THIS YET.