# From MSSQL to csv to email

**URL:** <https://discourse.nodered.org/t/from-mssql-to-csv-to-email/14315>\
**Category:** General\
**Created:** [14 August 2019 11:50 UTC](https://discourse.nodered.org/t/from-mssql-to-csv-to-email/14315 "2019-08-14T11:50:52Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [3 April 2021 08:52 UTC](https://discourse.nodered.org/t/from-mssql-to-csv-to-email/14315/6 "2021-04-03T08:52:25Z")

</div>

Hi. First, you flow cannot be imported. In order to make code more readable and importable it is important to surround your code with three backticks  
`````  
`like this`  
`````

You can edit and correct your post by clicking the pencil icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

> [@Georg25](#):
>
> Timestamp and payload are variable in this case and I can´t manage that the CSV node includes them

That's not really clear. What is your issue? Does the email arrive? Does it have a csv attachment? Does the attachment have your data?

---

_[View the full topic](https://discourse.nodered.org/t/from-mssql-to-csv-to-email/14315)._
