MivaScript Builtin Function, Miva Merchant 9+
miva_setdefaultdatabase( database )
<mvt:assign name="g.return_value" value="miva_setdefaultdatabase( database )" />
This function takes a string as a parameter which specifies the type of database to which the miva_defaultdatabase system variable is set.
database