Setting Parameters

In a Neoview session, you can set a parameter of an SQL statement (either prepared or not) by using the SET PARAM command.

NOTE: The parameter name is case-sensitive. If you specify it in lowercase in the SET PARAM command, you must specify it in lowercase in other statements, such as DML statements or

EXECUTE.

For example, this SET PARAM command sets a value for the parameter named ?sal, which you can apply to one of the unnamed parameters in the prepared findemp statement or to a named parameter with an identical name in an SQL statement:

SQL>set param ?sal 40000.00

This SELECT statement uses sal as a named parameter:

SQL>select last_name +>from persnl.employee +>where salary = ?sal;

This SET PARAM command sets a value for the parameter named dn, which you can apply to the named parameter, ?dn, in the prepared empcom statement or to a named parameter with an identical name in an SQL statement:

SQL>set param ?dn 1500

For the syntax of the SET PARAM command, see the “SET PARAM Command” (page 107).

Displaying the Parameters of the Session

To determine what parameters you have set in the current session, use the SHOW PARAM command. For example, this SHOW PARAM command displays the recent SET PARAM settings:

SQL>show param dn 1500

sal 40000.00

SQL>

For the syntax of the SHOW PARAM command, see the “SHOW PARAM Command” (page 118).

Resetting the Parameters

To change the value of a parameter, specify the name of the parameter in the RESET PARAM command and then use the SET PARAM command to change the setting. For example, suppose that you want to change the salary parameter to 80000.00:

SQL>reset param ?sal

SQL>set param ?sal 80000.00

SQL>

Entering the RESET PARAM command without specifying a parameter name clears all parameter settings in the session. For example:

SQL>reset param

SQL>show param

SQL>

To use the parameters that you had set before, you must reenter them in the session:

SQL>set param ?dn 1500

SQL>set param ?sal 80000.00

SQL>show param

Running SQL Statements 61

Page 61
Image 61
HP NEOVIEW 544530-001 manual Setting Parameters, Displaying the Parameters of the Session, Resetting the Parameters

NEOVIEW 544530-001 specifications

The HP Neoview 544530-001 is a sophisticated data warehousing solution that was designed to address the complex demands of modern businesses. Known for its robust architecture, it enables organizations to efficiently manage, store, and process vast amounts of data. This appliance offers a cohesive combination of hardware and software, configured to deliver high performance and reliability for business intelligence applications.

One of the standout features of the HP Neoview 544530-001 is its ability to support large-scale data analytics. The system utilizes a massively parallel processing architecture, which allows it to handle multiple data queries simultaneously, thereby enhancing the overall performance and response time. This characteristic is vital for businesses that rely on real-time data analysis to make informed decisions.

Another significant technology embedded in the Neoview 544530-001 is its advanced data storage capabilities. With generous storage capacity, it can accommodate extensive datasets, ensuring that organizations have the flexibility to grow their data without compromising system performance. The appliance also integrates advanced compression techniques, which optimize storage efficiency, reducing the physical space required and associated costs.

The HP Neoview is engineered with various data management features, including data quality tools that help ensure the integrity and accuracy of information. These tools can cleanse and normalize data, making it more reliable for analysis. Moreover, the system supports a wide array of data formats, facilitating easy integration with existing databases and applications.

Security is also a critical consideration for the HP Neoview 544530-001. The appliance incorporates robust security measures to protect sensitive data from unauthorized access. This includes encrypted connections and user authentication protocols, which are essential for compliance with industry standards.

In terms of scalability, the Neoview 544530-001 allows businesses to expand their data environment as their needs evolve. The system's modular architecture means that organizations can easily add hardware components, ensuring they can keep pace with increasing data volumes.

Overall, the HP Neoview 544530-001 provides organizations with a complete solution for data warehousing that combines powerful performance, extensive storage, advanced data management tools, and scalable architecture, making it an ideal choice for enterprises looking to leverage data for strategic advantage.