home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / odbcpa22.zip / IBING408.HLP (.txt) < prev    next >
OS/2 Help File  |  1998-04-20  |  5KB  |  122 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Configuring an INGRES 6.4/04 Data Source ΓòÉΓòÉΓòÉ
  3.  
  4. Data Source Name: 
  5.           A string that identifies this INGRES data source configuration in 
  6.           ODBC.INI.  Examples include "Accounting" or "INGRES-Serv1." 
  7.  
  8. Description: 
  9.           An optional long description of a data source name. For example, "My 
  10.           Accounting Database" or "INGRES on Server number 1." 
  11.  
  12. Server Name: 
  13.           The name of the virtual node that you defined using the INGRES NETU 
  14.           utility.  This virtual node tells INGRES which system to call, how to 
  15.           call it, and the user's name and password. 
  16.  
  17. Database Name: 
  18.           The name of the database to which you want to connect by default. 
  19.  
  20. The following values are optional: 
  21.  
  22. Server List: 
  23.           The list of servers (virtual nodes) that will be available in the 
  24.           Logon dialog box.  Separate the server names with commas. 
  25.  
  26. Database List: 
  27.           The list of databases that will be available in the logon dialog box. 
  28.           Separate the names with commas. 
  29.  
  30. Default User Name: 
  31.           The default user name used to connect to your INGRES database.  A 
  32.           user name is required only if security is enabled on your database. 
  33.           Your ODBC application may override this value or you may override 
  34.           this value in the logon dialog box. 
  35.  
  36. Options: 
  37.           Any flag allowed on the INGRES SQL command line.  Some examples are 
  38.  
  39.    Γûá  -l (locks the database exclusively) 
  40.    Γûá  -u (logs on as username) 
  41.    Γûá  +w or -w (waits/doesn't wait for the database if a user has already 
  42.    opened it exclusively) 
  43.    Γûá  +U or -U (enables/disables user updating of the system tables and locks 
  44.    the database exclusively) 
  45.    Γûá  +Y or -Y (enables/disables user updating of the system tables but does 
  46.    not lock the database exclusively) 
  47.  
  48. Yield Proc: 
  49.           This attribute is not available in OS/2. A numeric value that 
  50.           determines whether you can work in other applications when INGRES is 
  51.           busy. 
  52.  
  53. Repeated Cache Size 
  54.           A number that determines whether all Update and Insert statements are 
  55.           to be executed as repeated statements. This attribute improves the 
  56.           performance of applications that repeat the same SQL statement. When 
  57.           set to 0, the initial default, no statements are repeated. The 
  58.           recommended setting for this attribute is 100 
  59.           (RepeatedCacheSize=100). 
  60.  
  61.           To repeat a single statement rather than all statements, use the 
  62.           INGRES REPEATED syntax. 
  63.  
  64. Repeated Selects 
  65.           A number that determines whether the driver optimizes Select 
  66.           statements or executes them as repeated queries. When set to 0, the 
  67.           initial default, the driver executes all Select statements as it did 
  68.           in previous versions of the product. When set to 1, the driver 
  69.           optimizes Select statements that return only one result row. When set 
  70.           to 2, the driver executes all Select statements as repeated queries. 
  71.           If this attribute is set to 1 or 2, the RepeatedCacheSize attribute 
  72.           must be set to greater than zero. Setting this option to 1 or 2 has 
  73.           no effect on Select statements containing a For Update clause. These 
  74.           settings also limit the driver to one active statement and one active 
  75.           connection. 
  76.  
  77. Value Replacement for Repeated Selects 
  78.           A number that determines whether the driver substitutes parameters 
  79.           for hardcoded values in repeated statements. This option is 
  80.           convenient in applications that do not use dynamic parameters. 
  81.  
  82.           When set to 0, the initial default, the driver does not substitute 
  83.           parameters. When set to 1, the driver substitutes parameters for 
  84.           hardcoded values and the RepeatedCacheSize attribute must be greater 
  85.           than zero or the REPEATED INGRES keyword must be used. 
  86.  
  87.           This option has no effect upon Select statements that contain a For 
  88.           Update clause that requires a cursor or upon statements that already 
  89.           use parameter markers. 
  90.  
  91.           This attribute supports only a subset of standard ODBC SQL grammer. 
  92.           It is intended for performance and does not utilize a full SQL 
  93.           parser. For example, subselects are not supported and use of "is 
  94.           NULL" for columns other than character columns is not supported. 
  95.  
  96. Translate 
  97.  
  98. Displays the Select Translator dialog box to allow you to perform  a 
  99. translation of your data from one character set to another. Choose the 
  100. INTERSOLV OEM ANSI translator to translate your data from the IBM PC character 
  101. set to the ANSI character set. 
  102.  
  103.  
  104. ΓòÉΓòÉΓòÉ 2. Logon to INGRES ΓòÉΓòÉΓòÉ
  105.  
  106. Dialog Box Options 
  107.  
  108. Server Name: 
  109.           Enter the server name of the computer containing the INGRES database 
  110.           you wish to access or select the name from the Server Name box, which 
  111.           displays the server names you specified in the Setup dialog box. 
  112.           Server Name must be a valid Virtual Node that has been added using 
  113.           the INGRES NETU utility. 
  114.  
  115. Database Name: 
  116.           Enter the name of the database to which you want to connect or select 
  117.           the name from the Database Name box, which displays the names you 
  118.           specified in the Setup dialog box. 
  119.  
  120. User Name: 
  121.           Enter your user name. 
  122.