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 :
Microsoft Dynamics CRM (Archived)

Dynamics CRM 2013 OnPremise - What is the Entity table [dbo].[attachment]

(0) ShareShare
ReportReport
Posted on by 327

Hello everybody, 

recently I discovered this entity on a CRM 2013 On-Premise database.

the entity Table Name is [dbo].[attachment], what is this table?  is it linked to annotationbase or activitymimeattachment ? 

thanks in advance 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Jarrod Williams Profile Picture
    1,747 on at

    Judging based on name, columns and a couple of quick queries, it is an out of the box table that stores meta information on file attachments for messages that isn't stored for a typical file record in the annotationbase record.  

  • Suggested answer
    Kalpavruksh D365 CoE Profile Picture
    2,545 on at

    Hi,

    ActivityMimeAttachment table does not store the file contents. For all emails, the attached file contents are stored into the Attachment table. You can see the attachmentid (Foreign Key of Attachment table) in the metadata of ActivityMimeAttachment entity : http://msdn.microsoft.com/en-us/library/gg327995.aspx

    All other attachments except Email Attachments are stored in annotation entity (AnnotationBase DB table) and the file contents are uploaded into the documentbody string attribute in Base64 string encoded format.

    You may also refer: http://msdn.microsoft.com/en-us/library/gg334587.aspx

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans