Stored functions in database: