Focal Point
[CLOSED] writing to an mssql table from a scheduled procedure

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5817030876

August 24, 2015, 10:52 AM
Trudy
[CLOSED] writing to an mssql table from a scheduled procedure
I have created an mssql database with a table called GYVEMAL in it and I have a procedure called AllEmail that pulls emails for everyone in our database. I want to schedule this procedure to run nightly and overwrite what ever is in the database table GYVEMAL. Can I do this and how do I do this? I've looked in the documentation and online and cannot see how to do this.

Thanks Trudy

This message has been edited. Last edited by: <Kathryn Henning>,


WF8
Windows
August 24, 2015, 05:54 PM
Waz
I would assume that you would need to clean out the table and replace the contents.

Have you looked into the MODIFY command ?

Or

Issuing SQL to delete the records and INSET statements ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!