| От | Tommy Gildseth |
|---|---|
| Тема | Re: Stored procs / functions - execution failure |
| Дата | |
| Msg-id | 4853F429.1030607@usit.uio.no обсуждение исходный текст |
| Ответ на | Stored procs / functions - execution failure (Damian Georgiou <bchlist@gmail.com>) |
| Список | pgsql-general |
Damian Georgiou wrote:
> Hi All,
>
> I am having an issue with a function where it used to run in a previous
> installation of postgres under windows. The box has since been
>
> ERROR: function sp_schedulefromdate("unknown") does not exist
> LINE 1: select sp_scheduleFromDate('2008-01-01');
> ^
> HINT: No function matches the given name and argument types. You may
> need to add explicit type casts.
I suppose you need to add an explicit cast, as it says in the error
message. This means that instead of sp_scheduleFromDate('2008-01-01');
which is what you got now, you use
sp_scheduleFromDate('2008-01-01'::date); which seems to be what the
function expects.
--
Tommy Gildseth
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера