# Write values from Excel to Database

**URL:** <https://forum.uipath.com/t/write-values-from-excel-to-database/5617>\
**Category:** Help\
**Tags:** excel, database, activities\
**Created:** [June 1, 2017, 4:17am UTC](https://forum.uipath.com/t/write-values-from-excel-to-database/5617 "2017-06-01T04:17:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jothyprasanth.m](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/jothyprasanth.m/32/2737_2.png) [@jothyprasanth.m](https://forum.uipath.com/u/jothyprasanth.m)\
**Post date:** [June 1, 2017, 4:17am UTC](https://forum.uipath.com/t/write-values-from-excel-to-database/5617/1 "2017-06-01T04:17:33Z")

</div>

i have a excel file with 3 columns i just want to copy that value to database using database activity.

Any idea to do this

---

<div class="post-metadata">

**Author:** ![Vikas.Jain](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/vikas.jain/32/3278_2.png) [@Vikas.Jain](https://forum.uipath.com/u/Vikas.Jain)\
**Post date:** [June 1, 2017, 10:50am UTC](https://forum.uipath.com/t/write-values-from-excel-to-database/5617/2 "2017-06-01T10:50:29Z")

</div>

HI @jothyprasanth.m,

You can use Read Range Activity to put Excel data into Datatable and then by using Database activities, you can insert the values/data table as is.

Regards,  
**V**

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [October 29, 2018, 9:30am UTC](https://forum.uipath.com/t/write-values-from-excel-to-database/5617/3 "2018-10-29T09:30:04Z")

</div>


