Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: ISQL import data by running insert query, speed is slow.

$
0
0

set temporary option date_order='ymd'

go

set temporary option date_format='YYYY-MM-DD'

go

set option public.MINIMIZE_STORAGE = 'ON';

truncate table EventDemo.fact_actual;

commit;

 

load table EventDemo.fact_actual(

period_date,

product_code,

channel_code,

actual_amt,

actual_qty,

actual_cogs

)

from 'C:\Users\DELL\Desktop\fact_actual_test2.csv'

quotes off

escapes off

format BCP

delimited by '|'

row delimited by '\n'

;

commit

;

rollback

;

 

Thank for your reply, found out this script in instruction lesson 2.


Viewing all articles
Browse latest Browse all 9159

Trending Articles