SQL server Locking issue

ara3n
Member Posts: 9,258
Hello
Is there a way to do a "DIRTY READ" on a table from outside of Navision even if it locked by a Navision client?
I don't think it is possible, but you never know.
Thank you.
Is there a way to do a "DIRTY READ" on a table from outside of Navision even if it locked by a Navision client?
I don't think it is possible, but you never know.
Thank you.
0
Comments
-
Do you mean that there are someone but not user try to see or even edit the navision database and also the table in the object designer without any permission from user or lient ?
If yes, it's not probably be done except the permission is false.
rgds,
Johnson Alonso
"Past, Present, Future is just an illussion"subscribe to:
sea-navision-community-subscribe@yahoogroups.com
detail in:
http://sea-navision-community.blogspot.com0 -
No Johnson
The users are sql users. one is using navision. The other would use lets say enterprise manager and running a select statement.
Basically the problem is that when a navision user posts orders (this is a very busy with lots of transaction client), SQL locks the table (Item Ledger Entry). They have other systems that read the item ledger, and these other systems get locked out. I would like to know if it is possible to read a table even if it's locked.
Other solution is to create a copy of item ledger and allow replication on server synchronize the two tables.0 -
With a SQL-DB it is possible in Navision.
I mean: when you are posting, it is possible for the other clients to read the UN-COMMITTED data!
It depends on the TRANSACTIONTYPE. The default Navision uses is UpdateNoLocks. This gives the best performance but as a negative, it can read unposted transactions.
With Update or Shapshot, you don't have the problem, but it is slower.
You can easily check it:
In C12 Function Code, put a CONFIRM-statement. This blocks the program even if in a transaction.
Create some lines G/L journal.
Post them. For each G/L journal line, the CONFIRM will come up.
In this moment, check your G/L Entry-table, you will see appearing the G/L entries 1 by 1.
This is from a Navision client, so I think it is also possible from the enterprise manager.
In a Navision-DB, there is no way to see dirty data.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