web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

sql and navision datetime

(0) ShareShare
ReportReport
Posted on by

I have problem when trying to send SQL data (type datetime) to NAV (field also datetime). There is error telling me that date is incorrect.

*This post is locked for comments

I have the same question (0)
  • mmv Profile Picture
    11,471 on at
    RE: sql and navision datetime

    What is the date value?

    Could you post the exact error message?

  • Community Member Profile Picture
    on at
    RE: sql and navision datetime

    0804.prob.PNG

    Error message is teling me only Date is not correct.

    The problem is that writting data directly to NAV tables at the SQL level is not supported, but is there alternative. Don't know how to solve this problem.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at
    RE: sql and navision datetime

    You can use XMLPORT to import data by using .CSV or .txt file

  • MedInfoTech Profile Picture
    1,392 on at
    RE: sql and navision datetime

    Try to convert your date to have some format as your dynamics nav format ---with convert function something like this :

    convert(datetime, '10/23/2016', 101)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans