ArticleDirectory
L stored procedure
Use L to customize SQL Functions
Introduction
In SAP Hana, you can use SQL script to create a stored procedure.Programming LanguageTo implement specific applicationsProgramComplex computing stored procedures. L The stored procedure is basically the same as that of SQL Script Creation. data types or table types can be used as input and output parameters. T
saphana Studio Download Link:
1. Kemia sap hanastudio DOWNLOAD Link: http://www.kemiya.net/thread-24528-1-1.html
2.SAP Download Link: Http://scn.sap.com/community/developer-center/hana find Download Saphana studio-developer Edition
Saphana Studio installation configuration:
Because SAP Hanastudio is required for Java
Hana JDBC Driver
After installing the SAP HANA Client, the Ngdbc.jar of the installation directory is the JDBC database driver. Note the URL notation and Driver name: Driver:com.sap.db.jdbc.Driver url:jdbc:sap://ip_addr:30015 Port: 3 + instance number + code Example
Because there is no difference from other databases, here is a direct code. entity class
Package
Users in SAP Hana do not have a direct copy of the functionality, but we can make a copy of the SQL statement by establishing a stored procedure call:The stored procedure is defined as follows, which you can modify according to your own needs:CREATE PROCEDURE SYSTEM. Copy_user (in V_source_user NVARCHAR (.), in V_target_user NVARCHAR (at), in V_target_pwd NVARCHAR () LANGUAGE SQLSCR IPT asV_found INT: = 1;C
Hana JDBC Driver
After installing SAP HANA Client, the Ngdbc.jar of the installation directory is the JDBC database driver. The main note of the URL and Driver name: Driver:com.sap.db.jdbc.Driver url:jdbc:sap://ip_addr:30015 Port: 3 + instance number + code Sample
Because it's not the same as the other databases, it's directly attached to the code. Entity Classe
The CE plan operators in SAP Hana sqlscript include data source acess and Relational operators. Data Source acess includes ce_column_table, operator, operator, ce_calc_view; Relational operators include ce_join, operator, operator, ce_projection, ce_calc, ce_aggregation, ce_union_all, operator, ce_converseion. Below are some important introductions.
Ce_projection
Syntax:
CE_PROJECTION (:var_table, [param_
JCO is a high-performance, JNI-based middleware that implements the RFC (Remote Function Call) protocol of SAP.1 , JCo the installationDownload Jco from Http://files.cnblogs.com/byfhd/jco.rar and copy Librfc32.dll and Sapjcorfc.dll to Winnt "SYSTEM32" after decompression, Add Sapjco.jar to the project's classpath.2 , with SAP the connectionThe JCO supports two modes of connection, direct connections and con
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.