Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
80820members
346892posts

SQL to CSV trend

energima
Ensign
Ensign
0 Likes
2
613

SQL to CSV trend

I need help. to export my trend in SQL db to CSV. 

Someone can help me with this.

 

In machine Scada expert 2021

Tags (1)
2 Replies 2
Rodrigo_Garcia
Administrator Administrator
Administrator
0 Likes
0
569

Re: SQL to CSV trend

Hello @vitor_mendes : Could you support on this? 

Regards,

Rodrigo G. 


Industrial Automation Community manager

Tags (1)
energima
Ensign
Ensign
0 Likes
0
560

Re: SQL to CSV trend

i find a way but not shure if it's the best and simple way.

 

I use $Exec ("CMD /C sqlcmd -S  .... )

 

And after this i need to send the file by email with the $SendEmailExt. 

 

It's working but you need to make a lots of code to do it nice 

 

Tags (1)