ODBC Using SQLColumns

Go back to: Code Samples
rc = SQLColumns (... "UnknownTable" ...);
 
/* This call to SQLColumns will generate a query to the 
   system catalogs... possibly a join which must be
   prepared, executed, and produce a result set */
 
rc = SQLBindCol (...);
rc = SQLExtendedFetch (...);  
 
/* User must retrieve N rows from the server.
   N = # result columns of UnknownTable
   result column information has now been obtained. */




Like what you see? Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis

Book Content Copyright © 2009 by Prentice Hall PTR. All rights reserved. | Corporate Sponsor DataDirect Technologies.