List:MySQL++« Previous MessageNext Message »
From:Eric Sepich Date:January 3 2011 6:40pm
Subject:Initialization of a Query object.
View as plain text  
In the code below is the '= conn.query();' essential? From reading the
manual I know that a query can be placed inside quotes in conn.query() and a
Query object is returned.

Query queryb = conn.query();
queryb << "SELECT * FROM sports_program where tf_database_key like 'SP%' and
tf_game_date='"<<todaysdate<<"'";
StoreQueryResult qsports_program=queryb.store();

Thank you,
Eric Sepich

Thread
Initialization of a Query object.Eric Sepich3 Jan
  • Re: Initialization of a Query object.Jonathan Wakely3 Jan
    • Re: Initialization of a Query object.Tomalak Geret'kal3 Jan
      • Re: Initialization of a Query object.Jonathan Wakely3 Jan
      • Re: Initialization of a Query object.Warren Young3 Jan
        • Re: Initialization of a Query object.Eric Sepich3 Jan
          • Re: Initialization of a Query object.Warren Young3 Jan
            • Re: Initialization of a Query object.Tomalak Geret'kal4 Jan
              • Re: Initialization of a Query object.Jonathan Wakely4 Jan
            • Re: Initialization of a Query object.Eric Sepich4 Jan
          • Re: Initialization of a Query object.Tomalak Geret'kal4 Jan
  • Re: Initialization of a Query object.Adrian Cornish3 Jan