Export Blob Field
pschartz
Member Posts: 3
Hello, I want to export a compressed Blob field to a file (in a decompressed state) so I can upload it to a MySQL db. The Data in the field are XML Files. I do only have read access to the SQL Server, therefore I cannot change any property neither create a NAV page etc. Please help. Regards Philippe
0
Answers
-
Not possible in old NAV.
Versions pre 2013 use bespoke compression alghoritm, so the only way is to make NAV to decompress the field before "plain text" data become available on the SQL Server table level.
If you can't change anything in your production database install demo Cronus side-by-side, create or modify a table there which could keep your BLOB data, copy data between databases (even using a SQL query) and then change table definition in Cronus setting Compressed to No. NAV Client will decompress the data for you. You will be then copy uncompressed data to MySQL database.
Unfortunately such a workaround is only good for one-off excercise of extracting data from NAV database.Slawek Guzek - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;0 -
Hi @Slawek_Guzek
many thanks for your return.
We're using Microsoft Dynamics NAV 2015 ... so what do you call "old NAV" ?
Regards0 -
You have posted in "Navision Classic Client" - so I've assumed you are talking about NAV 2009 R2 or a prior version, as "Navision Classic Client" is for posting issues regarding thses versions only.
NAV 2013 and onwards BLOBs can be decompressed using C# methods. Read this to find more details and sample C# code acceesing data in compressed BLOB fields outside NAV
Slawek Guzek - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;0 -
Well as 2015 is 3 years ago, I taught it would already be a Classic product


Thanks I will have a look at this post ... but ... actually I'm looking for a webapp implementation, so C# won't do it0 -
[Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
