Non-clustered index on Sals Shipment Line table
Comments
-
David Singleton wrote:And to be honest I am pretty sick and tired of threads like this, where it seams that trying to do the right thing only gets you in trouble, better when some one asks "is it possible to increase the length of the "No." field in the Item table, just to answer YES and close the thread.
1)Answering NO and explaining why and knowing it will get you into trouble. But also that others will support you!
or
2)Answering YES and knowing you are lying.
I prefer 1)
Or there is a third option: close your eyes, take a deep breath and go to the next topic.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
David Singleton wrote:whilst I totally agree with this, I wonder if you do? Because this statement completely contradicts the argument that you are supporting.
IMHO "skill, knowledge & experience" is something everyone could acquire. I don't say it is easy to acquire, but it is possible - it's a matter of "work & effort".
So even though it IS indeed quite tiresome (at least sometimes) I think is necessary to discuss technical options, looking at the matter from different angles, exchanging arguments, showing up the PROs & CONs. So the dear reader of such a thread could learn that 1) YES, it is possible but 2) NO there might be risks. A multilateral discussion should open the mind to reflect on the readers own "skill, knowledge & experience" so he could make the decision about how he wants to proceed.
Those who are stupid enough to be satisfied with the brief YES, ignoring the BUT will regret it soon enough, but that's not us to blame. This forum is platform to exchange thoughts, not an authoritative solution database, isn't it?
Uhm, I guess this thread is now way off topic and I'd prefer to close this here. These "philosophical matters" should be discussed around a table with a beer at handJörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0 -
stryk wrote:These "philosophical matters" should be discussed around a table with a beer at hand0
-
DenSter wrote:It doesn't happen every time, when people do start modifying the table design directly on SQL Server, and there are problems, those problems are generally very significant. You wouldn't believe some of the problems that I've seen caused by changing table design directly, and it always starts with "can I add an index?". Then another index is added, and then an existing index is changed, and then a data type is "fixed", or fields get added.DenSter wrote:In my opinion, when you need an additional index, the best way to go about doing that is to add it in the NAV table designer, and we'll just have to agree to disagree there.The inconvenience of having users restart their NAV session is minor compared to the problems that could be caused by doing something wrong.DenSter wrote:It's much easier to manage, because this way the table design is inside the NAV object at all times, and you don't have the additional layer of objects to manage.0
-
matttrax wrote:I've seen trigger code added that deleted an order during posting, and then when the NAV code came along that did the same thing it errored out. Couldn't post for a couple of days, and because it was done directly in SQL, but happening in NAV, it was damn near impossible to figure out for the NAV developer (i.e. me).matttrax wrote:Anyway, like Denster said, the point is to be careful if you're doing things outside of NAV.0
-
stryk wrote:Those who are stupid enough to be satisfied with the brief YES, ignoring the BUT will regret it soon enough, but that's not us to blame. This forum is platform to exchange thoughts, not an authoritative solution database, isn't it?stryk wrote:Uhm, I guess this thread is now way off topic and I'd prefer to close this here. These "philosophical matters" should be discussed around a table with a beer at hand0
-
kriki wrote:I can add something about a not so "any other SQL Server DBA": a year or 2 ago, I talked to an Italian SQL Server MVP(!), specialised in performance tuning, and he told me that he has been asked a few times to tune a DB that turned out to be a NAV DB. He said to the customer that he doesn't touch that kind of DB's because he knows he can do more damage than heal.0
-
rhpnt wrote:kriki wrote:I can add something about a not so "any other SQL Server DBA": a year or 2 ago, I talked to an Italian SQL Server MVP(!), specialised in performance tuning, and he told me that he has been asked a few times to tune a DB that turned out to be a NAV DB. He said to the customer that he doesn't touch that kind of DB's because he knows he can do more damage than heal.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
rhpnt wrote:stryk wrote:Those who are stupid enough to be satisfied with the brief YES, ignoring the BUT will regret it soon enough, but that's not us to blame. This forum is platform to exchange thoughts, not an authoritative solution database, isn't it?
I think you're contradicting yourself here a bit. You're agreeing that the forums are a place to exchange thoughts, yet you're acting as though your solution is the only one that counts for anything.
It's been a few days since I read through the thread, but I don't think anyone has said that NAV is the only place to do this. I don't remember anyone giving a solution that was just flat out wrong. NAV has been on SQL for what now, at least a decade? I would absolutely hope that there are people out there who know what can / should be done in SQL by now vs. what can / should be done in NAV. You may be one of those people, but that doesn't mean that everyone else is. Everyone who contributes here responds based on what they have experienced with the product, and that's different for everyone.rhpnt wrote:I'm getting the impression that some people would rather sweep things under the carpet instead of facing the facts. Generalizing and diverting topics is a well known method of people who are afraid to lose control over something they consider "theirs only" and the only argument for doing so is "because we are doing it so long".
I think that's the majority of developers, no matter what the language or product is. Most developers think they know better than the next person, a fact that I think has shown itself to be true here. The statement above could be just as easily applied to a SQL Admin saying that SQL is the only place to do it even though NAV is also capable. So much of what is the "best solution" depends on the user, the company, the situation. In questions like this there is no one absolutely 100% you should do it this way every time type of answer.rhpnt wrote:Every NAV expert must be aware that this step also brings tectonic changes in how NAV is to be developed and maintained in the future.
Of course this is true, but you can be aware that there are other ways to do things and not know how to do them in every way possible, or what is best practice given the wide array of conditions and situations you'll find out there. They just need to know that things are possible, like using .NET Add-ins, or SQL Reporting. NAV, especially large NAV, systems, haven't been a "theirs only" thing for a long time, which is precisely why everyone doesn't know how to do everything anymore. Development and database design / administration, while related obviously, are two very separate things. That's the whole point of building a team with members that complement each other, so that multiple ideas and view points can be shared and people can learn from each other. So that you can determine the best way to do something from the people who know that part of the system inside and out. The people in this thread are an example of such a team. Some are expert NAV Developers, some are expert SQL Admins / Developers, and some may be other things or combinations, but we are all working towards a common goal of providing the best solution given what we know.0 -
kriki wrote:Being also a NAV performance specialist, and knowing that the SQL specialists can really mess up things with a NAV DB on SQL if they do it the pure SQL way. I think he proved worthy of his SQL Server MVP status because he knew it was possible to do more damage than good on this DB!0
-
-
rhpnt wrote:An MVP status proves a person has the expertise and knowledge to take on any (in this case) SQL Server job.rhpnt wrote:In my case this expert had all the NAV resources at hand but refused to do anything in that way. I would understand if he would say: "I don't know how NAV works so I need more time on this...", but he didn't even bother asking.rhpnt wrote:We called this guy only because of formal reasons (contract obligations), eventually we ended up doing everything by ourselves. Is that MVP worthy?Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions