How can i read FlowField values from SQL Database.

SHIV_DYN
Member Posts: 30
Hi everyone,
Could anyone tell me
normal fields i can able to retrive but FlowFields not able to retrive.
Could anyone tell me
Ex: We are working on Reporting services, for that we need to retrive data for XXX table which has some flowFields.How can i read FlowField values from SQL Database ?
normal fields i can able to retrive but FlowFields not able to retrive.
Thanks & Regards,
Shiv
Shiv
0
Comments
-
If you're on 5sp1 or later the flowfields are stored in indexed views, pretty easy to read. If you're using standard version SQL you have to add the NOEXPAND hint, if you're using Enterprise version SQL it will use the indexed views automatically if they look like a good idea.
For earlier versions you can look at the tables in the database with $12345$5 like names. But that's usually far too much of a hassle to be worthwhile. They're kept up to date by a trigger on the table.Robert de Bath
TVision Technology Ltd0 -
For versions before 5sp1, the easiest way for me is to use a subquery for each flowfield you need. It's very easy if you know T-SQL and look the definition of the flowfield.0
-
Hi,
maybe this could help you to generate the FlowField-"SubQueries":
http://www.mibuso.com/dlinfo.asp?FileID=1101Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0
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