„NAV/SQL Quickies“ on MSDynamicsWorld.com

Recently I was asked by MSDynamicsWorld.com if I would like to write some articles for their website. Of course I would like I call this column " NAV/SQL Quickies " and I try to pick out several NAV/SQL related topics to put a brief spotlight on them; having in mind the articles should not be as long and detailed as my BLOG uses to be. But as I'm lacking any " gossip capabilities " it will be somewhat "technical" anyway. (Please regard that the articles might be...
Posted by Jörg A. Stryk | with no comments

Extended NAV/SQL Database Hardening

I really have a deep conflict here … we have recently started a "Database Security" project where we are developing solutions to fix certain NAV issues … so yes, this means there are " security issues ", and talking about potential solutions is not possible without describing the problem … we have the proverb " You should not wake up sleeping dogs ", especially not the mean, filthy ones, having no good in mind … you see my problem? Anyway...

Technical Airlift 2009 (Munich) – NAV/SQL Performance Optimization: Indexes

Hi all, Puuuuhh, that was quite a rush … originally my idea about the TA was just to attend, but unfortunately one of the speakers got sick, and fortunately MS asked me if I could be available … <big grin> Of course I was available! </big grin> The pity was, I just had half a day to prepare my session, but according to the great feedback I got so far, my session was very much appreciated! Edit 10.02.2010: Finally - the Video (German): https://training.partner.microsoft.com...

The NAV/SQL Performance Field Guide - 4th Edition

>> 09.12.2009 - Important Notice In the past days I received several complaints that Amazon.com (and probably Amazon.co.uk , too) are still shipping the old - 3rd - edition. This is due to a big mistake by my publisher " Books on Demand ". I reported the issue to them and they are in progress to fix it instantly. So if you received an old edition please send it back to the book-store, ideally with a little notice. To all international customers I recommend to visit MS Dynamics Books...

Using SQL Server Full Text Search with NAV

A frequently asked feature for NAV is some kind of advanced search feature , which allows to search multiple fields of the same record at once . For example, to search for " Contacts " which have the expression "The" either in the " Name " or "Name 2" or " Address " or " Address 2 " or " Search Name " or … and so on. To accomplish this in NAV this might require a lot of programming, but the filters which have to be used...

#38 of Top 100 Most Influential Dynamics People

Wow! I came across Erik's BLOG ( http://dynamicsuser.net/blogs/admin/archive/2009/06/12/the-100-most-influential-microsoft-dynamics-people.aspx ) and I was more than surprised when I saw my name on this list. The British Community " Dynamics World " ( http://www.dynamicsworld.co.uk ) voted me on rank 38 among the Top 100 Most Influential Dynamics People together with lots of other people well known from http://dynamicsusers.net or http://www.mibuso.com . I feel really proud and honored...
Posted by Jörg A. Stryk | with no comments
Filed under:

Object Auditing

Recently in DynamicsUsers.net some "Wiki" was posted showing how to audit Object changes in NAV with SQL site Triggers; see http://dynamicsuser.net/wikis/navdev/auditing-who-changes-an-object-sql-only.aspx This actually describes how to add some fields to the NAV Object table and to save the User Name etc. who has changed an Objects. Also, on German NAV Developer's BLOG recently was shown how to generate a SQL Report about " Schema Changes "; see http://blogs.msdn.com/german_nav_developer...

BLOB Fields with NAV & SQL

BLOB = [ B inary] L arge OB ject Well, several tables in MS Dynamics NAV use such "BLOB"-fields to store binary data like pictures. This could be quite convenient for the application, for example for creating Item catalogues displaying such pictures, etc. but from a NAV/SQL performance perspective BLOB could also be a real pain – I'd like to explain why, and what I recommend to do to avoid the problems … The basics A NAV " BLOB " data-type is actually the "...

DBCC DBREINDEX vs. DBCC INDEXDEFRAG

The following matters only for those who still run on SQL Server 2000 , as since SQL Server 2005 the DBCC DBREINDEX and DBCC INDEXDEFRAG actually have been replaced by the ALTER INDEX REBUILD/REORGANIZE command (I don't know if the following problem also affects ALTER INDEX). Why executing anyway? Well, Indexes will fragment over time, as data is inserted, modified or deleted anytime when processing NAV (or other) transactions. Basically it's the same like a hard-disk-drive could fragment...

Prevent multiple Logins in NAV with SQL Server

Well, it is a frequently asked question „ How to prevent multiple logins of the same user in NAV? ". Usually the reason for this is to save client-licenses, or other things. When browsing the known web-forums you'll find several approaches to perform this; from executing 3 rd -party applications to kill processes, to sending Alt-F4 keys via " Windows Scripting Host " to manually kill a session in " Session Monitor " (NAV) or " Activity Monitor " (SQL Server...

Blocks & Deadlocks in NAV with SQL Server

Well, "Performance Optimization" in NAV & SQL is some sort of "Cornucopia of issues" – starting from Hardware Sizing, Platform Configuration, Index Tuning, SIFT Optimization, etc. … and – last but not least – the question: " How to prevent and solve blocking conflicts? " At the " Directions EMEA 2008 " Event in Paris I tried to give some feasible, practical advices to answer this question. The following should give some further...

Index Statistics

Well, we all know that " Index Statistics " are crucial for optimized query processing in SQL Server, that we shouldn't use "Auto. Create Stats" or "Auto. Update Stats", that we should use "Jobs" or "Maintenance Plans" to keep them up to date, etc. – but sometimes it is not that easy … Preface " Index Statistics " – short "stats" – contain statistical information about field values, precisely their "density", which...

Downgrading NAV

Well, a current discussion is whether to go for NAV 5.0 Service Pack 1 or not. On the one hand, NAV 5.0 SP1 has lots of improvements regarding SQL performance (Indexed Views, Buffered Inserts, etc.), on the other hand there are other issues and problems (slow FlowFields, lacking SQL 2000 capability, etc.). Once the decision was taken to upgrade – and in the following I ONLY refer to a technical upgrade , means the change of the C/SIDE programs, DLL, etc. – normally there is no way back to a previous...

„Indexed Views“ performing slower than „SIFT Tables“ ?

Today I just ran a brief test to compare the performance of queries on " SIFT Tables " (older NAV versions) with queries on " Indexed Views " (introduced with NAV 5.00 SP1) called VSIFT . Well, in previous BLOGs or forum threads I already stated my concerns about " reading performance " on large tables with VSIFT (no question about " writing performance ", this is definitely improved). As a "View" is just a pre-defined SELECT statement on a table...

NAV/SQL Troubleshooter’s Wish-List

Ho, ho, ho … well, X-Mas is coming soon, time to make a wish-list! In my special case I would like to ask for several things making life with NAV and SQL easier. I'm not asking for "science fiction" features like " non-blocking posting routines " or " different code versions for C/SIDE and SQL "; but small (?) and smart enhancements. Hope someone northern from here (not necessarily Santa C. from North Pole, someone from Vedbaek would be OK ;c) ) takes care about...
More Posts Next page »