A data extension is a relational database table in Marketing Cloud to store subscribers or any other type of data. They can be used to maintain subscriber information which can not be stored with profile or preference attributes in Subscriber list.
In this blog we will cover the detail steps to create a Data Extension along with best practice and their advantages and disadvantages.
What is a Data Extension?
Like Lists, Data Extensions are a compilation of subscribers who receive your communications. You can create as many data extensions as you need to segment your subscribers in order to target your communications or to house relational data.
Steps to Create a Data Extension:
In this blog we will cover the detail steps to create a Data Extension along with best practice and their advantages and disadvantages.
What is a Data Extension?
Like Lists, Data Extensions are a compilation of subscribers who receive your communications. You can create as many data extensions as you need to segment your subscribers in order to target your communications or to house relational data.
Steps to Create a Data Extension:
- Standard Data Extension: A standard data extension allows you to create custom fields to store data.
- Filtered Data Extension: A filtered data extension is generated by filtering fields, measures, and filters for sendable data extensions from a source data extension.
- Random Data Extension: A random data extension allows you to randomly select subscribers from a source data extension.
- Individual Records - When this option is selected, the data extension is retained but the individual records inside the data extension are deleted.
- All Records - When this option is selected, the data extension is retained but the records inside the data extension are deleted.
- All Records and Data Extension - When this option is selected, the entire data extension and the records inside the data extension are deleted.
- After: Enter the number of days after the data extension was created to wait before deleting.
- Reset period on import: To extend the retention date following a new import.
- On: Select a specific date to delete.
- In the Create Data Extension Tab Complete the information in the Fields section for each field. Click Add to create a new field in data extension.
- Name - The name of the column in the data extension.
- Primary Key - Determines whether the system considers this field to be the primary key of the table. If you select this checkbox, the system requires a unique value in this field so it can use this field to uniquely identify a row. If you select this checkbox for more than one column, then the combination of the values in the columns must be unique. If you do not select this checkbox, the system does not require the value in this field to be unique. When a Primary Key field is configured with a default value, the default value is not applied during imports.
- Data Type - The data type of the contents of the field. Data type can’t be changed once the data extension is created. Valid values include:
- Text - A combination of letters, numbers, and spaces.
- Number - An integer. Decimal values are not supported.
- Date - A system date. You can use an AMPscript function to format this value when you present it in a message. All time is stored in Central Standard Time and dates are stored in the format MM/DD/YYYY.
- Boolean - A 0 or 1 value.
- EmailAddress - A field of this type must exist in order for you to send an email to a data extension. The system does not verify that the value in this field is a valid email address when importing data.
- Phone - This data type accepts any string with 10 or 11 digits in it and strips out non-digit characters.
- Decimal - A number with a decimal point.
- Length - Maximum number of characters, including spaces, you can import into this column. Do not use empty lengths for Text data types unless necessary. If you select the Decimal data type, you specify both the total maximum number of characters and how many of the total appear after the decimal point. For example, if you define a decimal field with a length of 18.2, the two characters that appear after the decimal point are included in the 18 character total limit. Up to 10 characters are allowed for the Decimal Data type when creating a Data Filters from a Data Extension.
- Nullable - Determines whether this column can be empty.
- Default Value - If you specify a default value for this field, this value is used for all records who do not have a value entered for the field.
- Include a field with the Email Address data type for email sends or a Phone data type for SMS sends in sendable data extensions with no other information that relates to an existing subscriber. If the Email Address or Phone data types are not present, the subscriber receives no messages sent using the data extension.
- Click Create.
Advantages of using Data Extension
Disadvantages of using Data Extension
Stay tune for upcoming blog on more exciting functionalities of Salesforce Marketing Cloud.......
Hello Sumit,
ReplyDeleteI hope you are doing well!
I really appreciate your blog, I am learning SFMC nowadays and your post really helped me out to clear my doubts. I have one request to you that please after each topic please share 5 - 10 most important questions which will cover all the area of that post. It will help me to summarize the whole post in an appropriate way.
I want to be interview ready for SFMC.
Thanks a lot for this blog. I am waiting for your new updates.
Best,
HP
Thanks for you suggestions..
DeleteWill surely consider this in my upcoming blogs.
Hello Sumit,
ReplyDeleteI read the article. Honest opinion? Sounds like 99% of the stuff you find on the internet. Sometimes word by word. I believe the point in venturing to do it on your own is because what is out there isn't clear enough and the ultimate goal should be that even a little child or an elderly can understand it. If you write in in your own words, you can always put tha links to the official documentation at the end. Also, try to tie-it in with real life examples; that really helps my students.
Hope this feed back works for you.
Regards,
Julián
Hi Julian,
DeleteThanks for the feedback. I will try to use more simple language that makes it simple and easy to understand and try having more business use case examples into it.