Re: How can we put a resultset in a table in HANA
Hi Check this if you want unique identifiers you can use the following ways. Creat a sequence and use the same as a column by Select colA, colB, colC...,(SELECT seq.NEXTVAL FROM DUMMY) as colZ...
View ArticleRe: Unsupported property name "Coulmn_name" in database artifact "Table_name"
HI I think the issue may be with space make the columns as test_name and test_id. Thanks and regardsakm
View ArticleRe: Using the Import Statement in SQL procedure in SAP HANA
Hi Dipendra,Thanks for you reply.I will surely try with it. Thanks and RegardsMadhav J
View ArticleRe: Loading from CSV files is successful only when file resides in "work"...
SAP note 2109565Potential information disclosure relating to IMPORT FROM statement in SAP HANA contains the information on that - but it didn't make it (yet) into the main documentation. - Lars
View ArticleQuery regarding calculation view
Hi, 1.) I have couple of doubts. While creating calculation view I cant see the option of SUM and DISTINCT in aggregation.2.) I cant understand the use of aggregation node in calculation view since we...
View ArticleRe: Unicode problem importing CSV to a table
Hello Wenjun, My CSV and XLSX files have 2 colums, ID and DESCRIPTION. The ID column contains both chars (EEAADA, IJDUA) and numbers (1, 10, 23, etc), and the DESCRIPTION column contains only chars but...
View ArticleStored Proc works intermittently
Hi All. We have tried to create a stored proc to block users from adding an invoice if the GP % is not within a certain range (this is defined in UDF's) for certain bp's. However does not work for all...
View ArticleRe: Query regarding calculation view
Hi Sumet,Sum works only on a numeric value MARKS seems to be alpha numeric. Distinct is not necessary because this is done through the aggregation node already. Aggregation and Projection can have the...
View ArticleRe: Stored Proc works intermittently
It might help the analysis if you look at the data: What do the wrong row look like when you execute: SELECT T1."DocEntry", T0."DocEntry", T0."DocTotal", T0."VatSum",...
View ArticleRe: Error parsing PLV file
Well, the file says " com.sap.ndb.planviz.exception.PlanVizException: There are multiple operators with same ID (ID_0)." Looks like something went wrong with the creation of the PlanViz data in the...
View ArticleRe: Creating column with previous month
Why don't you use window functions (e.h. LEAD/LAG) to access the prior/following row?For your scenario, you could also use a self-join. Shouldn't be too difficult for you to find a fitting solution. -...
View ArticleRe: Creating column with previous month
You can simple create two views with the actual and prev. month sales and union these values to get them next to each other. This is method described in following post:Implementation of WTD, MTD, YTD...
View ArticleCan't use tables in graphical calculation view
Hi,No matter what I try, I can't use tables in graphical calculation view. I tried the most simple exampe: Graphical calculation view CV_SCARR as Semantics -> Projection -> Table SCARR. The view...
View ArticleSAP Hana - XML Types/Parsing
Hello,Does HANA support XML data type? I have a developer edition on AWS and I didnt find XML type in the dropdown list when tried to create one. So I am wondering if HANA supports XML types at all. Is...
View ArticleRe: SAP Hana - XML Types/Parsing
No there is no specific XML data type in the database itself. Of course XML can be stored as a string or byte arrary within the database as a STRING, BLOB, or CLOB fields. As far as XML parsing; there...
View ArticleQuery in procedure
Hi, Can someone please help me to understand what is the difference between SQL based procedure ( which we create in schema) and catalog one( one which we create in package)? Are both the same? I have...
View ArticleRe: SQL Script Calculation View: CE_CALC variable conversion
Thanks Lars. Unfortunately at this time I am required to use CE functions. Here is what I tried to partially resolve my issue: p_r56_errors_text = CE_PROJECTION...
View ArticleRe: Query in procedure
From a runtime/execution standpoint there is no difference really. Creating procedures via the repository (package) is there for better lifecycle management. Objects created within the repository are...
View ArticleRe: Query in procedure
So you mean to say procedure via schema ( SQL based ) are not transportable? Are there any other difference in terms of performance and which are better in terms of usage?
View Article