473,222 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,222 software developers and data experts.

problems with datatypes Navision in SQL


I have problems with retrieving some datatypes from the Navision
database in SQL Server 2000.
I use Linked Server with Navision ODBC driver(C/ODBC

When retrieving datatype 'Code' or 'Decimal' I get the following

OLE DB provider 'MSDASQL' returned an unexpected data length for the
fixed-length column '[MSDASQL].Nr_'. The expected data length is 21,
while the returned data length is 0.
OLE DB error trace [Non-interface error: Unexpected data length
returned for the column: ProviderName='MSDASQL',
TableName='[MSDASQL]', ColumnName='Nr_', ExpectedLength='21',

The query I use:

select Top 100*
from OPENQuery(NAVISION,'select Nr_ from klant')

When I ask for Naam and not Nr_ then it works properly


Hans de Korte
ProMinent Verder Holland
Jul 20 '05 #1
0 2919

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Andrew Gordon | last post by:
I'm investigating getting Microsoft Navision to do stuff from a Python script. The recommended way seems to be to use message queues (MSMQ). I can get Navision to send a message to itself fine. I...
by: Steve | last post by:
Hello I have just been given a new project requiring that I create a new web application in Microsoft .NET that integrates with Navision Axapta v 3.0 While I am aware that I would be able to...
by: Xavi | last post by:
I would like to know if someone has prove the integration and comunication between Biztalk nad Navision and if it works fine. Thank you
by: hipo | last post by:
Hi: I'm trying to read data from Navision 2.60 ERP with own database to a SQL Server 2000 database via ODBC. All is working except just one thing, how to filter data with a date field. I have...
by: zhilan | last post by:
How are messages sent to and from Microsoft Navision?
by: Felix | last post by:
Hi Fellows, following problem: I have written a class library in vb.net an enabled it for com interop. A class within the library calls the FileNet Content Engine Webservice. That is a...
by: Navision Recruiter | last post by:
What we're getting you for Christmas: ·Excellent benefits package ·Exciting Career Path ·Great Team of Professionals ·Compensation $75k - $90k USD dependent upon experience Permanent role...
by: anna | last post by:
An experienced Microsoft Dynamics NAV Consultant is required in our implementation team to assist with the successful implementation and maintenance of our client's Microsoft Dynamics NAV based ERP...
by: azuro | last post by:
Hi, Is there any ways to extract data within a specified date range from Navision database? Thanks.
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.