Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Storing date fields in SAP HANA for optimal data load and report performance?

$
0
0

Guys:

Depending on the source of the data for SAP HANA, the date field type declaration is declared either as a string / timestamp / date and time as 2 separate fields.

As an example if we import data from SAP ECC using SLT into SAP HANA dates are converted into strings by default and we can tweak it as needed.

Below is one scenario where I loaded date field from a flat file into SAP HANA:

Create column table sales.sales_fact(region_id integer, item_id integer, sales_amount double, order_dt timestamp);

The date format in the insert statement looks like this:

INSERT INTO sales.sales_fact  (region_id , item_id , sales_amount,  order_date ) values (1,2,10.5, '4/21/2009 2:25:53 PM')

Requests: What has your experiences been with loading date and time fields into SAP HANA with high volume data ?

Thanks,

Rama Shankar


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>