Re: [GENERAL] Column info without executing query

2006-07-21 Thread Mitch.Logue
My question is a bit off the path that you're taking with this issues, but I'd like to add a twist to the discussion -- to meet my needs of course :) Is it possible to simply retrieve Column Type (Numeric, Varchar, Int,...) data for a given table using ecpg? The reason I ask is that when I wri

[GENERAL] Including C/C++ header files containing #defines using EXEC SQL INCLUDE

2006-07-11 Thread Mitch.Logue
Title: Including C/C++ header files containing #defines using EXEC SQL INCLUDE Here is the problem I am trying to solve: I have Header files (C and C++) that check to ensure you don't load them twice by doing the following: #ifndef MY_HDR_FILE #define MY_HDR_FILE Blah Blah Blah #end