As I tried to make a function for this percent calculation I fell over the problem of passing a table to the function. I'd like to make this function: create function NumRows(table) returns int4 as 'select count(*) from $1' language 'sql'; Is this possible?
- [GENERAL] Calcuate percentage. Sze Yuen Wong
- Re: [GENERAL] Calcuate percentage. Marcin Grondecki
- Re: [GENERAL] Calcuate percentage. Clark Evans
- Re: [GENERAL] Calcuate percentage. Kaare Rasmussen
- Re: [GENERAL] Calcuate percentage. K.T.
- Re: [GENERAL] Calcuate percentage. Sze Yuen Wong
- Re: [GENERAL] Calcuate percentage. Sze Yuen Wong
- Re: [GENERAL] Calcuate percentage. Kaare Rasmussen
- Re: [GENERAL] Calcuate percentage. Kaare Rasmussen
- Re: [GENERAL] Calcuate percentage. Sze Yuen Wong