In this chapter, we'll describe the fourth essential CLI resource: the desc. We have much to say about:

  • What is in a desc fields of the header and the "item descriptor areas".
  • How to make a desc, or how to use an automatically-made desc.
  • Similarities and differences of ARDs, APDs, IRDs and IPDs.
  • Functions which attack descs directly: SQLAllocHandle, SQLGetDescField, SQLSetDescField, SQLGetDescRec, SQLSetDescRec, SQLCopyDesc and others.
  • Functions which attack descs indirectly: SQLBindParameter, SQLBindCol, SQLColAttribute, SQLDescribeCol and others.