I load big data into a database,
I want to know how this happens.
I use
select count(*) from table
to check how many lines are loaded. and now I want to get a percentage of the process. I tried:
select ( count(*)/20000 ) from table
and
select cast( ( count(*)/20000 ) as DECIMAL(6,4) ) from table
but they all return 0,
so how can i do this?
And it is better if he can show a percentage.
thanks
source
share