22.3 Use of the sample files

The following table lists batch files for creating a sample database. These batch files are located in the %PDDIR%\sample\tools directory (e.g., C:\win32app\hitachi\hirdb_s\sample\tools).

Table 22-7 Batch files for creating the sample database

File nameDescription
sampleDB1.bat
sampleDB2.bat
Use these batch files to set the table creator to root.
  • sampleDB1.bat defines the sample database.
  • sampleDB2.bat loads data to the sample database.
sampleDB3.bat
sampleDB4.bat
Use these batch files to set the table creator to USER1.
  • sampleDB3.bat grants CONNECT and schema definition privileges to USER1 to define the sample database.
  • sampleDB4.bat loads data to the sample database.
Notes
  • If you are customizing any of these batch files, copy them under a different name and then customize the file contents. If you customize the original batch file, it is overwritten during update installation of HiRDB.
  • The following information assumes that a HiRDB/Single Server has been installed in the installation directory (C:\win32app\hitachi\hirdb_s). Replace the pathnames and HiRDB types (HiRDB/Parallel Server) with those you are actually using, if necessary. For a HiRDB/Parallel Server, see %PDDIR%\HiRDEF\readme.txt.
Organization of this section
22.3.1 Creating the sample database
22.3.2 Customizing the sample database
22.3.3 HiRDB file system area names and user-created file names used with sample database