sql server - how to create batch file for sql query? -


i using sql server 2008 database. have these sql query:

update commonmst set ctypevalue='107' commontype='current orderno' 

i need create batch file execute query every month's 1st date using schedule. how can this?

you can create sql schedule job run every 1st of each month.

steps schedule job. check url.

note: in order keep task running on every first of month, need sure sql server agent running.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -