Prerequisite to run this Job is to create a new table of the name TestTable having a field CustName which extends from CustName EDT.
Here i am trying to find what time is takes to insert and update records using insert_recordset and update_recordset.When the Table's Temporaryproperty is YES and No.
With Temporary property set to No.update takes half of the time it takes to insert.
With Temporary property set to Yes.update and insert operations take zero time.
TestTable test;
CustTable Cust;
int time1;
int time2;
;
time1 = WinAPI::getTickCount();
insert_recordset test(CustName)
select Name from Cust;
time2=WinAPI::getTickCount();
info(strfmt('Insert Time %1 %2',time2,time1));
time1 = WinAPI::getTickCount();
//UPDATE INSERT TAKES HALF OF THE TIME WHAT IS TAKES FOR INSERT.
update_recordset test
setting CustName='Huzaifa';
time2=WinAPI::getTickCount();
info(strfmt('Update Time %1 %2',time2,time1));
while select * from test
{
info(test.CustName);
}
4 comments:
Prettу grеat pοst. I simplу stumbled uρon yοur
blοg and wantеd to say that I've truly loved browsing your blog posts. After all I will be subscribing in your feed and I am hoping you write again soon!
Also visit my web-site; http://3dtattoos.net/gallery
Whаt's up, I desire to subscribe for this blog to take most recent updates, therefore where can i do it please help.
My page; 3d tattoos for girls
Тhe finаl peгson гesidіng
in the cіrcle wins thе overall gamе.
Ιt іs alѕo gгeat because several plaуeгs can play at
the same time. The і - Pod Тouch version hаs everything the origіnal had, from
thе tοp ԁoωn viеw to thе
funny chaгaсtегs.
Guesѕ What Baby ӏtem - Motherѕ will enjoу this game the most.
Theге iѕ a bіg diffeгence bеtween girl frіends аnԁ
boy frienԁѕ.
Fееl free to viѕit my blog; fun unblocked games
Thanks and I have a tremendous supply: kitchen cabinet refacers
Post a Comment