 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; SQLCMD</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/sqlcmd/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 14:27:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>sqlcmd :0 rows updated</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlcmd-0-rows-updated/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sqlcmd-0-rows-updated/#comments</comments>
		<pubDate>Thu, 11 Oct 2012 09:55:16 +0000</pubDate>
		<dc:creator>Beena</dc:creator>
				<category><![CDATA[SQLCMD]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/sqlcmd-0-rows-updated/</guid>
		<description><![CDATA[New Answer by Beena]]></description>
				<content:encoded><![CDATA[New Answer by Beena]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sqlcmd-0-rows-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLCMD does not create a log file</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlcmd-does-not-create-a-log-file/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sqlcmd-does-not-create-a-log-file/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 17:52:13 +0000</pubDate>
		<dc:creator>Harv2002</dc:creator>
				<category><![CDATA[SQL Log Files]]></category>
		<category><![CDATA[SQL Records]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLCMD]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have several SQL update/delete statements I run during a payroll cycle. When I run a SQL that does not have any records that meet the selection criteria, I do not get a log created. I can run the same SQL in SQLServer, and it shows (0 records updated).]]></description>
				<content:encoded><![CDATA[<p>I have several SQL update/delete statements I run during a payroll cycle. When I run a SQL that does not have any records that meet the selection criteria, I do not get a log created. I can run the same SQL in SQLServer, and it shows (0 records updated).</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sqlcmd-does-not-create-a-log-file/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Using the return value of a SQL Restore script</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/using-the-return-value-of-a-sql-restore-script/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/using-the-return-value-of-a-sql-restore-script/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 17:34:43 +0000</pubDate>
		<dc:creator>SQL Server Ask the Experts</dc:creator>
				<category><![CDATA[SQL Restore]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLCMD]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am trying to use the return value of a SQL Restore script executed with SQLCMD, so that my batch script can report on the succes or failure of the restore. I am having difficulty getting the script to return the result of the backup or restore process. Do you have any suggestions? The follwoing [...]]]></description>
				<content:encoded><![CDATA[<p>I am trying to use the return value of a SQL Restore script executed with SQLCMD, so that my batch script can report on the succes or failure of the restore.  I am having difficulty getting the script to return the result of the backup or restore process.  Do you have any suggestions?</p>
<p>The follwoing succesfully restores the database but returns  a -100 error code:</p>
<pre>SQLCMD -S SERVERNAME -Q "exit(RESTORE DATABASE &#91;PremiumAutomation&#93; FROM  DISK = N'C:SQLBackupsHotBackupPremiumAutomationRest.bak' WITH  FILE = 1,  NOUNLOAD,  REPLACE,  STATS = 10)" -o FolderNameRestore.Log</pre>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/using-the-return-value-of-a-sql-restore-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/16 queries in 0.021 seconds using memcached
Object Caching 443/484 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 23:46:39 -->