Max length in build datatable activity

Hey,
Can anyone tell me what is Max length in build datatable also what is the use of keeping max length as -1?

@Nisha_K21

Max length depends on the datatype you choose it is different for each datatype you can check the .net datatypes for max length

if max length is kept as -1 then it means it would take the maximum allowed length for that datatype

cheers

Hello

Further to @Anil_G’s reply

Depending on the version of Studio you are using the default value is blank and is set to 100.

If you have any values longer than 100 than it will throw an error.

Set at -1 for maximum value length as per Anil G’s reply.

Cheers

Steve

@Nisha_K21,

For max length query refer this.

Regarding -1

It specifically tells that it can store max possible length as per the datatype.

Thanks,
Ashok :slightly_smiling_face:

Hi @Nisha_K21

In Build Data Table Activity, Length has -1 represent as maximum characters are allowed to fill in the specified column.

In the same way, if we provide -1 in maximum email read in Read Outlook mail message, it will read all the available email.

Thanks,
Chethan