Yes, you can write,
There is an example project for showing the access to databases.
For writing, an example is
If you prefer to use normal SQL queries rather than using the ROME DB path. An example is,
By using SQL query, you can do anything about DB.
More information is in wiki,
> I need some suggestions on how to write some data to a mySQL database via ROME.
> I am calculating a quantity CTag and making a TGraph of CTag/event in ROME. Now
> if I want to write it to a mySQL what shall I do?
> From the manual I found that we can read from a database DAQ (SQL) system. That
> it reads the main input data from a database. And I looked into the example
> But is there any way I can write the calculated CTags and Event Numbers to a SQL
> Thanks for any suggestion!