database_doc: Arbitrary Octave types

Next: Setting options, Previous: SQL data types, Up: Top [Index]

## 3 Storing arbitrary Octave types in a database

If Octave variable types have corresponding SQL types ( see SQL data types , also consider the links there to types specific for database implementations), the variables can directly be stored in a database. If not, the variables can be converted to representations of the SQL type bytea and then stored. This way of storing is possible for all Octave types which can be correctly saved and loaded with Octaves `save` and `load` functions.