CELLS WORKFLOW and Microsoft SQL Server, Oracle, Sybase, etc.

The Unisoft CELLS Workflow MES interface is ODBC (Open Database Connectivity). ODBC is a general, more or less vendor-neutral mechanism for accessing relational databases. Any ODBC-compliant application can access any DBMS (Database Management System) for which a driver is installed. Drivers exist for all major DBMSs and even for text or CSV files.Consequently, CELLS WORKFLOW can communicate with Microsoft SQL Server, Oracle, Sybase, and even Excel, for example, in addition to Access. Oracle, as well as MS SQL Server, will work with CELLS, although they have considerably more power than the CELLS product requires. Only a minimum configuration of Oracle is needed.

Generally speaking, there are two steps in getting CELLS to work with a database. The first is to create the tables in the database. The second is to configure ODBC.

Creating the tables in the database is mostly a manual process. It is described in the Appendix 1 manual. A critical action is to define the primary keys for each table. Sometimes the database has a feature that allows tables to be imported from a different database. SQL Server, for example, allows an Access database, like cells32.mdb, to be imported. It is still necessary, however, to explicitly define the primary key for each table.

The second step, configuring ODBC to let CELLS know where the database is located and is done through Control Panel "ODBC Data Source Administrator" or with the program odbcad32.

MS SQL

MS SQL Server has a very flexible facility for copying tables from all sorts of other systems, including Access. Nevertheless, when it copies the tables, it often neglects to copy the primary keys. Therefore, one has to define the primary keys for each table in SQL Server itself.

An example is one could import the sample CELLS.MDB Access database into SQL Server. The import does not copy keys/indexes; therefore, after the import you must manually define primary and secondary indexes in SQL Server.

Contact our webmaster (enable JavaScript for the email address) with questions or comments about this web site.

Web Consulting by Dorene Matney
© 2024, Unisoft