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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Long c# datatype field

(0) ShareShare
ReportReport
Posted on by 115

How can i create a Long c# datatype equivalent field for an entity on Dynamics CRM?

I have the same question (0)
  • Verified answer
    Wahaj Rashid Profile Picture
    11,321 on at

    Hi,

    Thank you for your query.

    Long in SQL Server is equivalent to BIGINT. Which is currently not supported in Dynamics 365 Customer Engagement (CRM) platform.

    You can either use Decimal Number or Whole Number as per your needs.

    There is an idea already raised (and it is under review), you can vote it to have this in future:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Need-ability-to-have-option-for-bigInt-field-data-type-for/idi-p/218679

    For information, on which type for numbers to choose, see following docs:

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/types-of-fields#using-the-right-type-of-number

  • JMO Profile Picture
    115 on at

    Thank you! Can i change the range of whole number to -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 ?

  • Suggested answer
    Wahaj Rashid Profile Picture
    11,321 on at

    Hi,

    No, here are the supported ranges:

    • Whole Number: -2,147,483,648 and 2,147,483,647
    • Floating Point Number: -100,000,000,000 and 100,000,000,000
    • Decimal Number: -100,000,000,000 and 100,000,000,000

    You can read more about it here:

    Types of fields and field data types | Microsoft Docs

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans