Hi, I need to define this statement 'EXEC SQL DEFINE MAX 10;' in one file(include/const.h) and need to include it in another(./test.pcg) which has the following code. EXEC SQL BEGIN DECLARE SECTION; char t[MAX]; EXEC SQL END DECLARE SECTION; How and where in the code do I include this file. Regards, Vikas
On Wed, Jul 24, 2002 at 04:32:09PM -0400, viksa verma wrote: > Hi, > I need to define this statement > 'EXEC SQL DEFINE MAX 10;' in one file(include/const.h) and need to include > it in another(./test.pcg) which has the following code. > EXEC SQL BEGIN DECLARE SECTION; > char t[MAX]; > EXEC SQL END DECLARE SECTION; > How and where in the code do I include this file. Just add EXEC SQL INCLUDE const; before the declare section. Michael -- Michael Meskes Michael@Fam-Meskes.De Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера