Instructions for loading the ITIS tables into the ITIS database for a MS SQL Server database

Note: As you are reading this document, it assumes you have already obtained the data archive (Zip) file (where this document is stored) from ITIS and unarchived it to a folder. If not, you should do that now.

1. Edit the ItisImport.sql file and change the home_path value to the complete path to the ITIS data files from the Zip file. Note that this path must end in the backslash ('\') character.

2. Open a Windows command prompt and change to the folder where you unarchived the ITIS database files.

3. If no ITIS database exists, use Enterprise Manager to create a database called "ITIS" in SQL Server.

4. Create the schema for the ITIS database by using the file "ItisCreateDb.sql".
     osql -E -d ITIS -i ItisCreateDb.sql

5. Use the command line to load the ITIS data into the new database:
     osql -E -d ITIS -i ItisImport.sql

   The ItisImport script will load the following tables in this order:
     comments
     experts
     geographic_div
     jurisdiction
     kingdoms
     nodc_ids
     other_sources
     publications
     taxon_authors_lkp
     taxon_unit_types
     tu_comments_links
     synonym_links
     taxonomic_units
     reference_links
     vernaculars
     vern_ref_links
     longnames
     strippedauthor
     hierarchy

   At this point, these 19 tables have been loaded with the data from this Zip file.

6. If you don't want the database owner to keep the grants on the database user (ADMINISTER BULK OPERATIONS, INSERT), you should revoke these rights now.
