|
|
Sponsor |
Newbie query use help.: msg#00087db.mysql.c++
Hi folks, I'm a humble non-programmer who just wants to read a float table value into a float variable. ---------------------------------------------------------------------------- ------------- Query query = con.query(); query << "select kwh from basic120 order by time desc limit"; // Last value this column. mysqlpp::ResUse res = query.use(); ??? float kwh = ??? ---------------------------------------------------------------------------- ------------- I've tried using the method Fields but can't get it to compile. Thanks, Benjamin Liu -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: commit list, Warren Young |
|---|---|
| Next by Date: | Re: Building w/ Mingw Dev Studio & WxWidgets, Robin |
| Previous by Thread: | commit list, Chris Frey |
| Next by Thread: | Re: Newbie query use help., Chris Frey |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|