Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

String size larger than 255

Posted on by

Can an Extended Data Type in AX have a string size larger than 255? If so, are there any concerns with doing so?

Thanks!

*This post is locked for comments

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: String size larger than 255

    Take a look at the AOT, there is an Extended data type called str1260, I believe that is the longest one already defined in Standard AX. There are specifcic length versions as well, they start with String* EDT name.

  • DSK67 Profile Picture
    DSK67 on at
    RE: String size larger than 255

    Thanks. I needed just one field that could handle up to 500 characters and knew AX could accommodate it,  but just wanted to make sure it didn't cause any SQL issues on the back end or other issues. I added the new field.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: String Size

    Short answer, yes.

    You simply make a new string and set the size to whatever you need (memo btw will use the max varchar).

    The concern is storing that much data in a database could cause some serious issues in performance.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans