﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Jon Reade / Article Discussions / Article Discussions by Author  / How to Schedule a Job in SQL Server Database Creation Script / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 23:52:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: How to Schedule a Job in SQL Server Database Creation Script</title><link>http://www.sqlservercentral.com/Forums/Topic1108871-111-1.aspx</link><description>You could use a WINDOWS scheduled task calling a bcp out command with a trusted connection.Regarding details for bcp please see BOL (BooksOnLine, the SQL Server help syste usually installed together with SQL Server).Another option would be using a SQL Server job and xp_cmdshell but that should require additiona lsteps to avoid making xp_cmdshell available for every user (which would open a security hole of unknown depth).A third solution would be a SSIS package called.I, personally, would use either the first or the second option.</description><pubDate>Sun, 15 May 2011 05:31:12 GMT</pubDate><dc:creator>LutzM</dc:creator></item><item><title>How to Schedule a Job in SQL Server Database Creation Script</title><link>http://www.sqlservercentral.com/Forums/Topic1108871-111-1.aspx</link><description>I want to create a Job scheduler in SQL Server 2008 that should be create a log in text file and stored in some other drive automatically. So for that I think I must need some script. So may be you can give me the right suggestion to resolve my issue. Thanks.:discuss:</description><pubDate>Sun, 15 May 2011 01:22:07 GMT</pubDate><dc:creator>gyani</dc:creator></item></channel></rss>