Index: trunk/FACT++/src/fits2sql.cc
===================================================================
--- trunk/FACT++/src/fits2sql.cc	(revision 19103)
+++ trunk/FACT++/src/fits2sql.cc	(revision 19104)
@@ -591,6 +591,9 @@
     {
         if (!noinsert && !dry_run)
-            // => Simple result
-            connection.query(query).execute();
+        {
+            auto q = connection.query(query);
+            q.execute();
+            cout << q.info() << '\n' << endl;
+        }
         else
             cout << "Insert query skipped!" << endl;
@@ -609,5 +612,4 @@
     if (verbose>0)
     {
-        cout << count << " row(s) inserted.\n\n";
         cout << "Total execution time: " << Time().UnixTime()-start.UnixTime() << "s\n" << endl;
 
@@ -616,7 +618,4 @@
             const auto resw =
                 connection.query("SHOW WARNINGS").store();
-
-            if (resw.num_rows()>0)
-                cout << "\nWARNINGS:\n\n";
 
             for (size_t i=0; i<resw.num_rows(); i++)
@@ -633,5 +632,5 @@
         {
             cerr << "\nSHOW WARNINGS\n\n";
-            cerr << "SQL query failed:\n" << e.what() << endl;
+            cerr << "SQL query failed:\n" << e.what() << '\n' <<endl;
             return 8;
         }
Index: trunk/FACT++/src/root2sql.cc
===================================================================
--- trunk/FACT++/src/root2sql.cc	(revision 19103)
+++ trunk/FACT++/src/root2sql.cc	(revision 19104)
@@ -600,6 +600,9 @@
     {
         if (!noinsert && !dry_run)
-            // => Simple result
-            connection.query(query).execute();
+        {
+            auto q = connection.query(query);
+            q.execute();
+            cout << q.info() << '\n' << endl;
+        }
         else
             cout << "Insert query skipped!" << endl;
@@ -618,5 +621,4 @@
     if (verbose>0)
     {
-        cout << count << " row(s) inserted.\n\n";
         cout << "Total execution time: " << Time().UnixTime()-start.UnixTime() << "s\n" << endl;
 
@@ -625,7 +627,4 @@
             const auto resw =
                 connection.query("SHOW WARNINGS").store();
-
-            if (resw.num_rows()>0)
-                cout << "\nWARNINGS:\n\n";
 
             for (size_t i=0; i<resw.num_rows(); i++)
@@ -642,5 +641,5 @@
         {
             cerr << "\nSHOW WARNINGS\n\n";
-            cerr << "SQL query failed:\n" << e.what() << endl;
+            cerr << "SQL query failed:\n" << e.what() << '\n' <<endl;
             return 7;
         }
