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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans