| От | Mark Hesketh |
|---|---|
| Тема | Re: Declaring constants in PG/PLSQL |
| Дата | |
| Msg-id | 3C4E4650.1040408@iprimus.com.au обсуждение |
| Ответ на | Declaring constants in PG/PLSQL (Mark Hesketh <renmark@iprimus.com.au>) |
| Список | pgsql-novice |
Oliver Elphick wrote: >On Mon, 2002-01-21 at 14:37, Mark Hesketh wrote: > >> Hi all, >> >>Can someone tell me if it's possible to globally scope my constants? How >>do I declare them for reuse? Don't tell me I have to keep defining them >>atop each function... :| >> > >Why not create some functions that return your constants? > Thanks for the replies guys. Yeah, it's certainly not something I've seen much of even with PL/SQL. I think I'll just declare them via functions - it keeps it cleaner that way - less hassle. I should really define them externally, perhaps a property file but, they're for internal use (return codes) so that's a little overkill. Mark
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера