WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
Page Index Toggle Pages: 1
Insert a record To DB (Read 1620 times)
YaBB Newbies

Posts: 1
Insert a record To DB
Dec 28th, 2010 at 11:11am

i need insert a record to db after a copying a file. How can i do that?
Back to top
IP Logged
YaBB Administrator

Posts: 2269
The Netherlands
Re: Insert a record To DB
Reply #1 - Dec 29th, 2010 at 9:25am

WD does not have a task to insert records into any database.
The easiest way to do this is to use the "Run a bat file" task and do the copy inside that file followed by an insert into the database. Your database software needs to have a commandline sql program for that. An example script for SQL*Server can be found in this post:
Back to top

Gert Rijs - gert (at) gdpsoftware (dot) com
End Alzheimer's:
WWW WWW GdPSoftware  
IP Logged
Page Index Toggle Pages: 1