MetaData.getString(MetaData::ATTR_NAME) will not return column name more then 15 characters..??? [message #242045] |
Thu, 31 May 2007 08:41 |
yuvaraja2000
Messages: 1 Registered: May 2007
|
Junior Member |
|
|
Hi
I write a function for get a column name using OCCI. When ever column name length exeed more then 15 characters it's throwing debug assertion fail error. I give my code below. Error is throwing from 5 th Line. I am using Visual studio.NET 2003 IDE but code is Pure c++.
Any one met this issue? Where is the problem it's in my code or..???
1) string colName;
2) vector<MetaData>metaData= resultset->getColumnListMetaData();
3) for(int i=0; i<metaData.size(); i++)
4) {
5) colName = metaData[i].getString(MetaData::ATTR_NAME);
6) }
-Yuva
|
|
|