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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Creating Table/View from SQL query

(0) ShareShare
ReportReport
Posted on by 95

Hello all!

I am very new to AX and am looking to create a table or view from an SQL statement that I have written. I was told this is possible but can't seem to find any information on it. 

Anybody have any insights or done this before?

Thanks in advance!

-Jeff

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    XB Profile Picture
    1,875 on at

    It's very easy to create a new table in ax and you don't need to execute sql statement.

    Check the link below

    AXLearn

  • Verified answer
    Mea_ Profile Picture
    60,286 on at

    Hi JHickey,

    It does not work this way in AX. In AX you need to create new table or view in AOT and when you will synch, AX will create table\view in SQL database.

  • JHickey Profile Picture
    95 on at

    Well that is unfortunate. Thanks for your reply!

  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You _could_ create new objects in the AX database, but whether you _should_ is a different question.

    Anything that is not reflected within the AX AOT are simply not visible (unless you write custom code to retrieve it through ODBC connection, which is horrible idea due to many reasons). Always create everything in the AOT.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans