Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How much space to allocate for TIMESTAMP field in MaxDB/SQLDBC

Hi Everybody,

In a C application using SQLDBC to access MaxDB if i have to allocate space for holding the value returned by TIMESTAMP field from a table. How much space should i allocate to this variable.

For example:

In Oracle:

the space allocated is

m_size = sizeof(OCIDate);

In DB2:

sizeof(SQL_TIMESTAMP_STRUCT)

In MySQL:

sizeof(MYSQL_TIME)

Regards

Raja

Former Member
replied

Hello Raja,

the Reference Manual is part of the documentation provided online.

In thread 'MaxDB documentation' a link is provided: http://maxdb.sap.com/doc/7_6/default.htm

In this documentation you can find a link to the 'SQL Reference Manual'.

Best regards,

Melanie

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question