Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Browsing all 9165 articles
Browse latest View live

Re: SAP HANA : Uploading data from excel file with table key NULL

Hi Krishna,my key field is VARCHAR(1) so i cannot fill '<space>'. Is it possible to load field with 'space' value instead of NULL or not? In SAP many key fields are empty.... Another question :...

View Article


could you please tell me how to create project in sap hana studio...

Hi All,      I am new to sap world now i am practicing on sap hana but i am getting errors administration side while working on SAPHANA i am not unable to find out the errors its difficult to...

View Article


Re: SAP HANA : Uploading data from excel file with table key NULL

Yes  i meant to say 'space' only. Did you try it ? did it worked for you? On your question on SLT, i will have to check once and confirm you. Regards,Krishna Tangudu

View Article

Re: Capturing returned data from Stored Procedures

Hi There, You can do like this: CREATE PROCEDURE MyProc(OUT OUTPUT TT_RESULT)...BEGIN     SELECT "COL1" FROM "MYTABLE";END In another procedure I want to capture that result set: CREATE PROCEDURE...

View Article

Re: Export data to excel in HANA

Have a look on the Admin guide link i shared with you and check \o command to write output to a file.  After checking it you will get a better idea on what i was actually trying to refer here and we...

View Article


Re: Unable to update multiple columns in a single update statement

u got any errors while trying to do that?? i think it does works for Column store.. Can you share your error screenshot here? Regards,Krishna Tangudu

View Article

Re: Compare Timestamps of rows of the same table

Hi Felix Something else: you store the IP4 address as a string. You really shouldn't do this. Instead invest a little effort into the loading of the data and your SQL coding and keep the 4 bytes...

View Article

Re: Unable to update multiple columns in a single update statement

Hi, Please don't be so cryptic. Most of the questions you posted on the forum do not provide enough information. I admire the patience from experts like Krishnasandeep and AV who are really trying to...

View Article


Re: Export data to excel in HANA

Why not do the following: Get the resultset from the procedure in the .NET program. Use the .NET API Library (ExcelLibrary) to generate excel and store at the required location. It will be much easier...

View Article


Re: Send EMail from HANA

Or use the outbound http APIs in XSJS to either an intermediary server or email server with the email details? Depends on what you use as your email solution (Exchange/Sendmail/gmail etc.).

View Article

Re: Send EMail from HANA

Hi Krishna, You may want to log the details into a table using the Stored Procedure and then use SMTP function from SAP BODS to trigger a email. Regards,Krishna Tangudu

View Article

Re: Send EMail from HANA

John Appleby wrote: You could use the EXPORT command and use a transient table with a single line to write a CSV? You can call EXPORT from SQLScript, right?Have you tried that?  I couldn't get EXPORT...

View Article

Re: Send EMail from HANA

Hi John, I think we cannot use IMPORT / EXPORT in stored procedure/ function. We were initially trying to create a procedure which can dynamically frame a IMPORT statement dynamically and execute it....

View Article


Re: Send EMail from HANA

Yeah you're right. So the only workaround then is to write some Python/C++ which connects to HANA, reads the table and clears it out after sending an email. We then schedule the Python once a minute...

View Article

Re: Export data to excel in HANA

Adding to Ravindra's reply: If you are looking to export data into CSV, once you are able to load the data into a physical table then you can use the below code to export it into CSV,   DROP PROCEDURE...

View Article


Image may be NSFW.
Clik here to view.

Re: Send EMail from HANA

So I've written the code, here you go: http://scn.sap.com/docs/DOC-52751 Tom has an email from HANA in his inbox  John

View Article

Image may be NSFW.
Clik here to view.

Re: Send EMail from HANA

Hello John Appleby& Thomas Jung I found a workaround, If i directly give EXPORT command it is giving syntax errors. But if i frame the statement dynamically by keeping it in a "Variable" and then...

View Article


Re: Send EMail from HANA

Yep that will work. You could pick this up form the file system directly.

View Article

Re: DB Design Change Log

There is no "last_ddl_modifcation" tracking built into HANA.If you haven't set up auditing for DDL beforehand, there is no option to easily find out which user changed what and when this was done. - Lars

View Article

Re: Unable to update multiple columns in a single update statement

Hi Ravindra,I am BW/BI consultant since 6 years now want to learn SAP HANA. need your guidelines I am  bit confuse --1> with terminology like HANA 100 HANA 300. 2> SAP BW on HANA is only...

View Article
Browsing all 9165 articles
Browse latest View live