Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Enterprise
Expertise: Intermediate
Aug 26, 1999

Minimize Data Conversions in Apps to Save CPU Cycles

The application should try to bind columns to a program variable of the same data type as the column in the result set. If the application still needs to have the data converted, it is more efficient for the application to ask the ODBC driver to do the data conversion than for the application to do it. Normally, the driver simply transfers data directly from the network buffer to the application's variables. However, requesting the ODBC driver to perform data translation forces the driver to buffer the data and use CPU cycles to perform the conversion. You should avoid this wherever possible.
Jai Bardhan
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date