Skip to main content

Notifications

Microsoft Dynamics AX forum
Answered

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!

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,147 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.

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,115 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,971 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans