上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页
摘要: 这篇文章是从saphana.com上转载的,文档对HANA数据载入,数据模型,性能优化等方面进行了一些分析,是一篇值得学习的文章。 I've been involved in a few SAP HANA projects where performance has been initially disappointing, and I have been asked to come and s... 阅读全文
posted @ 2013-04-24 09:03 沧海-重庆 阅读(3809) 评论(0) 推荐(0) 编辑
摘要: http://scn.sap.com/community/developer-center/hana/blog/2013/01/11/what-can-you-do-with-decision-tables-in-sap-hana-sp05 利用SAP HANA,越来越多的计算和应用逻辑被放到数据库层,从而利用多核CPU的能力来更快的得到结果。但是在这样一个计算过程里,当一个应用想要做一个操作决... 阅读全文
posted @ 2013-04-20 12:09 沧海-重庆 阅读(2341) 评论(0) 推荐(0) 编辑
摘要: This document provides the general functionality and idea about the "Generate Time Data" with calender type "Fiscal". In order to better understand how to use “Generate Time Data”, we are going to u... 阅读全文
posted @ 2013-04-20 00:25 沧海-重庆 阅读(870) 评论(0) 推荐(0) 编辑
摘要: This document provides the general functionality and idea about the "Generate Time Data" with calender type "Gregorian". In order to better understand how to use “Generate Time Data”, we are going t... 阅读全文
posted @ 2013-04-20 00:03 沧海-重庆 阅读(997) 评论(0) 推荐(0) 编辑
摘要: I have been working with clients and helping them implement solutions on SAP HANA standalone for about four months. I have learned quite a bit from firsthand experience in dealing with items ranging f... 阅读全文
posted @ 2013-04-19 23:05 沧海-重庆 阅读(636) 评论(0) 推荐(0) 编辑
摘要: Unions are used to combine the result-set of two or more select statements. The Union operation is popular for combine plan and actual values in CO-PA. Unions are not supported in modeled art... 阅读全文
posted @ 2013-04-19 20:40 沧海-重庆 阅读(1468) 评论(0) 推荐(0) 编辑
摘要: SQL Explain Plan主要用户分析和优化sql查询,有两种实现方式: 方式一: 在sql editor中右键实现可视化的分析: 点击Explain Plan,结果如下: 点击Visual Plan,结果如下: 方式二: 通过SQL语句的方式创建SQL Explain Plan: 之后在表 Explain_Plan_Table中查询: 阅读全文
posted @ 2013-04-19 11:03 沧海-重庆 阅读(2901) 评论(0) 推荐(0) 编辑
摘要: 打开excel,选择 From Other Sources 选择From Data Connection Wizard 选择other/Advanced 选择 SAP HANA MDX Provider 输入HANA的连接信息 测试连接信息是否正确 选择展示的view 设置展示相关信息 输入用户认证信息 出现相关的展示... 阅读全文
posted @ 2013-04-19 00:25 沧海-重庆 阅读(2051) 评论(0) 推荐(0) 编辑
摘要: SAP HANA的数据预览功能非常强大,能够以多种形式展示及导出数据: 显示以下预览的主界面: 可以先看看数据过滤: 再看看distinct value,根据选定列的不同数据做数量统计和图表展示: 接下来看看分析的内容: 拖动相应的列到lable axis和value axis中 使用filter 阅读全文
posted @ 2013-04-18 12:17 沧海-重庆 阅读(827) 评论(0) 推荐(0) 编辑
摘要: 针对不同的表定义Synonym后,可像实际表一样使用,只是可以针对该object定义不同的权限 阅读全文
posted @ 2013-04-18 11:12 沧海-重庆 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 通过SQL Editor创建schema create schema student44; grant select on schema student44 to _sys_repo with grant option; 阅读全文
posted @ 2013-04-17 10:58 沧海-重庆 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 步骤:1. 创建表2.准备平面文件3.准备CTL文件4. 把平面文件和ctl文件上传到服务器5.在sql editor中执行import语句在操作过程中,只需要根据以下样例准备数据即可。创建相应的表结构:CREATE COLUMN TABLE "STUDENT"."CUSTOMER" ("ORDERID" INTEGER CS_INT NOT NULL , "CUSTOMERID" INTEGER CS_INT, "EMPLOYEEID" INTEGER CS_INT, "ORDERD 阅读全文
posted @ 2013-04-17 10:22 沧海-重庆 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-04-17 10:13 沧海-重庆 阅读(1474) 评论(0) 推荐(0) 编辑
摘要: CREATE PROCEDURE MYPROC(IN P1 INT, IN P2 INT DEFAULT 1, OUT out1 DUMMY) AS BEGIN out1 = SELECT :P1 + :P2 AS DUMMY FROM DUMMY; END; 调用方式: CALL MYPROC(3, 4,?); or CALL MYPROC(P1 => 3... 阅读全文
posted @ 2013-04-11 22:16 沧海-重庆 阅读(1231) 评论(0) 推荐(0) 编辑
摘要: CREATE PROCEDURE getOutput( IN cnt INTEGER, IN currency VARCHAR(3), OUT output_pubs tt_publishers, OUT output_year tt_year) LANGU... 阅读全文
posted @ 2013-04-11 19:56 沧海-重庆 阅读(4599) 评论(0) 推荐(1) 编辑
摘要: Books 数据: Publishers 数据: Table Type: TT_Publishers TT_Year 阅读全文
posted @ 2013-04-11 18:43 沧海-重庆 阅读(984) 评论(0) 推荐(0) 编辑
摘要: <TINYINT, SMALLINT, INTEGER, BIGINT> <DECIMAL(p, s), REAL, FLOAT, DOUBLE> <VARCHAR, NVARCHAR, CLOB, NCLOB> <VARBINARY, BLOB> <DATE, TIME, TIMESTAMP> Table Type 阅读全文
posted @ 2013-04-11 18:32 沧海-重庆 阅读(1522) 评论(0) 推荐(0) 编辑
摘要: 首先定义local table type: CREATE TYPE <type_name> AS TABLE (<column_definition>[{,<column_definition>}...]) 在定义存储过程时类似如下使用: CREATE PROCEDURE <procedure_name> ( IN|OUT|INOUT <param_name> <type_nam... 阅读全文
posted @ 2013-04-11 00:17 沧海-重庆 阅读(1437) 评论(0) 推荐(0) 编辑
摘要: 语法: CREATE PROCEDURE {schema.}name {({IN|OUT|INOUT} param_name data_type {,...})} {LANGUAGE <LANG>} {SQL SECURITY <MODE>} {READS SQL DATA {WITH... 阅读全文
posted @ 2013-04-11 00:14 沧海-重庆 阅读(4127) 评论(0) 推荐(0) 编辑
摘要: 在modeler perspective中,quick lauch界面下面找到switch owner ship: 阅读全文
posted @ 2013-04-10 23:59 沧海-重庆 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 创建序列: 语法:CREATE SEQUENCE <sequence_name> [<common_sequence_parameter_list>] [RESET BY <subquery>] <sequence_name> ::= <identifier> <common_sequence_parameter_list> ::= <common_sequence_parameter>... 阅读全文
posted @ 2013-04-10 23:46 沧海-重庆 阅读(2375) 评论(0) 推荐(0) 编辑
摘要: UNION ALL--不合并重复行 Selects all records from all selectstatements. Duplicates are not removed UNION [DISTINCT] --合并重复行UNION 和 UNION DISTINCT功能相同 Selects all unique records from all selectstatements ... 阅读全文
posted @ 2013-04-09 17:07 沧海-重庆 阅读(3932) 评论(0) 推荐(0) 编辑
摘要: HANA 创建Triggers语法: CREATE TRIGGER <trigger_name> <trigger_action_time> <trigger_event> ON <subject_table_name> [REFERENCING <transition_list>] [<for_each_row>] BEGIN [<trigger_decl_list>] [<proc_hand... 阅读全文
posted @ 2013-04-09 16:39 沧海-重庆 阅读(2725) 评论(0) 推荐(0) 编辑
摘要: 方法一: insert into TEST_USER values ('TEST2'||'TEST','2012-11-02'); 方法二:利用函数concat函数 insert into TEST_USER values (concat('TEST2','TEST'),'2012-11-02'); 阅读全文
posted @ 2013-04-09 16:25 沧海-重庆 阅读(4584) 评论(0) 推荐(0) 编辑
摘要: 语法: CREATE TYPE {schema.}name AS TABLE (name1 type1 {, name2 type2,...}) 实列1: CREATE TYPE tt_publishers AS TABLE ( publisher INTEGER, name VARCHAR(50), price DECIMAL, cnt INTEGER ); ... 阅读全文
posted @ 2013-04-09 16:24 沧海-重庆 阅读(889) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 24 下一页