hana

HANA: Split string?

倖福魔咒の 提交于 2019-11-28 14:02:34
Is there a way to split a string in HANA? Something similar to the equivalent in SQL Server: SELECT * FROM dbo.fnSplitString('valueA,valueB', ',') Try this, Refer Here CREATE PROCEDURE SPLIT_TEST(TEXT nvarchar(100)) AS BEGIN declare _items nvarchar(100) ARRAY; declare _text nvarchar(100); declare _index integer; _text := :TEXT; _index := 1; WHILE LOCATE(:_text,',') > 0 DO _items[:_index] := SUBSTR_BEFORE(:_text,','); _text := SUBSTR_AFTER(:_text,','); _index := :_index + 1; END WHILE; _items[:_index] := :_text; rst = UNNEST(:_items) AS ("items"); SELECT * FROM :rst; END; CALL SPLIT_TEST('A,B,C

Has anyone tried implementing a unsupported database to use for jobRepository for Spring Batch?

你离开我真会死。 提交于 2019-11-28 06:37:24
问题 My database Sap Hana db is not supported for Spring Batch. I am looking for a guide on how to implement my own DAOs for SimpleJobRepository for SpringBatch. Has tried this before? I did not include the database type property because according to spring batch website not including it will auto search for a database type. I also used JobRepositoryFactoryBean since the db is unsupported. I am excited though to write my own implementation for this, maybe i can contribute it to spring batch source

【Zabbix】HANA数据库密码重置

谁都会走 提交于 2019-11-28 00:32:14
数据库版本:2.0 SPS 00, 1、第一个会话切换到hana用户后,执行以下命令: hatadm@linux-aab4:/usr/sap/HAT/HDB00> HDB stop hatadm@linux-aab4:/usr/sap/HAT/HDB00> hdbenv.sh hatadm@linux-aab4:/usr/sap/HAT/HDB00> hdbnameserver 2、新开第二个会话,执行以下命令: hatadm@linux-aab4:/usr/sap/HAT/HDB00> hdbenv.sh hatadm@linux-aab4:/usr/sap/HAT/HDB00> hdbcompileserver 3、新开第三个会话,执行以下命令: hatadm@linux-aab4:/usr/sap/HAT/HDB00> hdbenv.sh hatadm@linux-aab4:/usr/sap/HAT/HDB00> hdbindexserver -resetUserSystem 会出现提示:“resetting of user SYSTEM - new password:” 输入完账号密码后,等到出现:”shutdown is completed.“即执行下一步。 4、回到hdbcompileserver会话,执行”Ctrl + C “结束,再回到hdbnameserver会话

SAP HANA Studio 安装问题

可紊 提交于 2019-11-27 18:52:31
SAP HANA Studio 安装报错:Cannot retrieve features from source repository.Check your repository. 解决:安装包拷贝到不包含中文路径下,执行原安装包路径下包含“HDB_STUDIO xxxx\hdbsetup.exe”安装不要选择“HDB_Client xxxx" 来源: 51CTO 作者: liujiping 链接: https://blog.51cto.com/pinck/2336749

HANA: Split string?

孤街醉人 提交于 2019-11-27 08:20:39
问题 Is there a way to split a string in HANA? Something similar to the equivalent in SQL Server: SELECT * FROM dbo.fnSplitString('valueA,valueB', ',') 回答1: Try this, Refer Here CREATE PROCEDURE SPLIT_TEST(TEXT nvarchar(100)) AS BEGIN declare _items nvarchar(100) ARRAY; declare _text nvarchar(100); declare _index integer; _text := :TEXT; _index := 1; WHILE LOCATE(:_text,',') > 0 DO _items[:_index] := SUBSTR_BEFORE(:_text,','); _text := SUBSTR_AFTER(:_text,','); _index := :_index + 1; END WHILE;

导出SAP系统表结构及数据供HANA使用

↘锁芯ラ 提交于 2019-11-26 21:56:19
该ABAP程序作用是,在没有SLT工具情况下,通过ABAP程序导出SAP ECC系统表结构及数据,生成SQLScript语句的TXT文件,如果表数据量太大不行(该程序是一位大神写的!分享给大家) *&---------------------------------------------------------------------* *& Report ZERP_TO_HANA *& *&---------------------------------------------------------------------* *&-created by dikang 2013.06.24 *&测试用 *&---------------------------------------------------------------------* REPORT ZERP_TO_HANA . TYPES : BEGIN OF TY_DD03L , FIELDNAME TYPE DD03L - FIELDNAME , POSITION TYPE DD03L - POSITION , KEYFLAG TYPE DD03L - KEYFLAG , ROLLNAME TYPE DD03L - ROLLNAME , DATATYPE TYPE DD03L - DATATYPE , LENG

Real-time reporting with SAP HANA

僤鯓⒐⒋嵵緔 提交于 2019-11-26 18:19:52
Cloud computing! In-memory database and computing! Will the cloud change the way we used to put the data together? Change the architecture of a OLAP system? Will the reporting rock with the OLTP system directly someday? Forget about Business Intelligence! Forget about Data Warehousing! At least we could make some wild dreams now already with SAP’s new product HANA (High-Performance Analysis Applience)! Lenovo Group should be the first-ever SAP HANA customer all accross China. Weeks ago I went there to join a small PoC (Prove of Concept) project, which was to show how we could utilize the HANA

基于HANA Cloud的SAP Mobility Platform正式发布

自闭症网瘾萝莉.ら 提交于 2019-11-26 18:18:50
SAP移动平台的产品部门高管Jens Koerner日前宣布基于HANA Cloud的SAP移动平台(SAP Mobile Platform, SMP)已经正式发布。 https://help.hana.ondemand.com/mobile/frameset.htm (也被称为"SMP cloud", "Mobile-as-a-Service"或 "MaaS")。相应的体验版也已经公布,感兴趣的已经可以直接申请在HANA云上部署SMP并开发企业级移动应用。 我大概翻译一下Jens的原文如下。 2012年1月,一个“轻量级”的移动应用云端部署的策略由Jens及Stan Stadelman(移动平台产品部门高管)提出。2012年10月,我们在SAPinsider Enterprise Mobility conference上展示了demo。在2013年年初的马德里SAPPHIRE上对用户体验做了进一步提升,最终在2013年5月28日,我们正式对所有客户发布基于HANA云的移动平台——这是SAP移动愿景成为现实的重要一步。 以下分五个方面介绍基于HANA云的SAP移动平台。 一、什么是SMP cloud? 云上移动平台的出现,简化了移动应用的开发、配置和发布流程,并且使得在无须安装、维护一个平台服务器的情况下对应用实现端到端管理成为可能。SMP cloud是host在SAP HANA