Quantcast
Channel: SCN : Popular Discussions - SAP PowerDesigner
Viewing all articles
Browse latest Browse all 1779

test data generation doesn'T surround date string with to_date()

$
0
0

Hi,

 

I generate test data for a fact table with several date/time columns.

 

For example:

 

insert into DWH_AL.FACT_QMS_VERWEILDAUER (AFTFZGVWLDA_ID, ABFAHRT_PERIODE_ID, PZ_ID, BST_ID, KGW_ID, LADEZUSTAND_ID, BBFA_ID, AUFTRAG_ID, AUFTRAG_ERFASS_DATUM, FZG_ID, EINGANGS_ZUG_ID, ANKUNFTSZEITPUNKT, AUSGANGS_ZUG_ID, ABFAHRTSZEITPUNKT, VERSAND_KUNDE_ID, EMPFANG_KUNDE_ID, VERSAND_LAND_ID, VERSAND_BST_ID, EMPFANG_LAND_ID, EMPFANG_BST_ID, PRODUKT_ID, GEFAHRGUT_ID, DFB_ID, GEFAHRGUT_FLG, VERWEILDAUER, LDTS, UPTS, LOAD_ID, UPDLOAD_ID) values (9, 20150821, 30, 80664565, 1, 2, 5, 130, '2013-12-2 19:54:46', 315139076543, 201310180744129, '2013-8-12 13:36:5', 201310190240007, '2013-3-7 3:48:53', 609894522, 604413203, 49, 80661124, 59, 80660647, 12, 77, 18, 'N', 84, '2014-7-14 0:0:0', '2014-2-11 0:0:0', -1, -1);

 

As you can see the date/time string isn't encapsulated with a valid to_date().

 

Are the any settings to change to get a valid insert statement?

 

kind regards

Christian


Viewing all articles
Browse latest Browse all 1779

Trending Articles



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