The sample program you are creating uses an SQL database called SAMPLE. By selecting a default database in your preferences, you can ensure that you are connecting to the correct database. To select database option:
Figure 31. VAGen SQL Preferences Window