Is anybody else who use this news function in C/SIDE DB?
In the help file I can see : This function is designed to optimize finding and updating sets. If you set any or both of the parameters to FALSE, you can still modify the records in the set but these updates will not be performed optimally.
May in C/SIDE the DB engine makes a Snapshop and it's better than find('-')?
I know this functions are design for SQL but may it's good in C/SIDE?
0
Comments
RIS Plus, LLC
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Because they were created specifically for SQL Server I doubt that MS did any real performance enhancement with these commands on C/SIDE, but you can never tell. Maybe they just mapped the new commands to the old ones for C/SIDE, but they could just as well have done some internal tweaking.
RIS Plus, LLC
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
But not in C80,C90,C22.
So I suppose they only used the new codes in case they had to fix something.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
If I have addon or somehting like that, I don't want to make 2 different copies of it only cause of these three commands...
I don't think you have to worry about this. If this wouldn't work, they would have noticed it directly => Navision is full of "FIND(...)".
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
hm... I'll sure test it before deployment because of possible speed problems in native db. Maybe these funcs are faster on sql, but they could be slower on native...
I think the case with CU 80 is that they need to do a complete rewrite, which I wish they would do sooner rather than later.
More about these new functions is somewhere in webcast about Navision 4.00SP1. May be that the webcast is somewhere in the download section... (there were examples of the related SQL commands etc.)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Table.LOCKTABLE;
IF Table.Find('+') THEN
LastEntryNo := Table."Entry No.";
will result full table scan under SQL.
FINDLAST and FINDFIRST are equal to SELECT TOP statement which will reduce number of deadlocks.
Regards,
Marcin Woch
Thanks in advance.
PS My work is getting ready to upgrade to 4.0 with sql which is the reason I'm trying to test this stuff. I don't actually want to use the Find* functions inside native.
I traded my sanity for a railgun
RIS Plus, LLC
I traded my sanity for a railgun
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.