what does this do

Поиск
Список
Период
Сортировка
От John
Тема what does this do
Дата
Msg-id 201006100222.03196.johnf@jfcomputer.com
обсуждение исходный текст
Ответы Re: what does this do
Список pgsql-sql
Hi,
I have a piece of python code that excutes a SQL statement:

apitempCur.execute("select * from jfcs_balancedue('%s') f(enrolleeid varchar, 
course_cost decimal, paid_amt decimal)" % (enrollIds,));

The "enrollids" is a list of primary keys and the "jfcs_balancedue" is a user 
defined function.  What I don't understand is the "f(enrolleeid 
varchar, ...)"   I have no idea what it's for?  Would some kind soul educate 
me.

Thanks in advance,
Jhnf  


В списке pgsql-sql по дате отправления:

Предыдущее
От: Aaron Burnett
Дата:
Сообщение: Re: Some insight on the proper SQL would be appreciated
Следующее
От: Tim Landscheidt
Дата:
Сообщение: Re: what does this do