Entering a query

To enter a query, enter the SELECT statement straight into the Query field. Any valid SELECT statement based on the underlying database system and schema is allowed. No delimiting character to mark the end of the statement is required, for example:

SELECT * FROM CUSTOMERS
SELECT A.CU_NO, A.CU_NAME, A.CU_CITY, B.SA_ORDERDATE, B.SA_TOTAL
FROM CUSTOMERS A, SALES B
WHERE A.CU_NO = B.CU_ID
ORDER BY A.CU_NO

For database schema lookups, click Database Lookup.

NoteThe SELECT statement must be compliant with the SQL language supported by the connected database system. Be especially aware of differences regarding quote characters, date functions, and expressions. It is good practice to use the SQL 92 ANSI standard for queries compatible between different database systems.


Using Query Designer to enter a query

Click Query Designer to open the Query Designer. To learn more about this tool, see “Query designer”.


Validating a query

Click Execute Query to run the query.


Modifying a connection

After modifying connection parameters, re-logon to the database to validate the settings. To re-logon, right-click the component in the project and select Logon.


Optional properties

The optional properties are:

See “Entering database connection parameters” for more information about the optional properties and for more information about the following properties:


Impact on simulation sequence

Read Block Size value impacts the number of records loaded in a single simulation step.

Projects in DemoRepository and Help Flash movie: