Final update of B.sql

As usual, need to be tested with the "live" database...