Thanks to all, especially to Stuart, for very informative answers. It's clear to me now that there is no need in my case to use functions / stored procedures (yes, with typical MVC app I meant a webapp on the same server with database, administered by the same persons). However it can be a useful addition for more complex situations that may come.
-- Ksenia -- http://mail.python.org/mailman/listinfo/python-list