 




<?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; SQL error messages</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/sql-server/sql-error-messages/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 02:55:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Recursive SQL error</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/recursive-sql-error/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/recursive-sql-error/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 20:27:31 +0000</pubDate>
		<dc:creator>Timothy01</dc:creator>
				<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL statements]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/recursive-sql-error/</guid>
		<description><![CDATA[New Discussion Post by TomLiotta]]></description>
				<content:encoded><![CDATA[New Discussion Post by TomLiotta]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/recursive-sql-error/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How do I resolve this SQL error</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-do-resolve-this-sql-error/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-do-resolve-this-sql-error/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 11:52:04 +0000</pubDate>
		<dc:creator>ITdisciple</dc:creator>
				<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL Server 2005 error messages]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[New Discussion Post by JSH]]></description>
				<content:encoded><![CDATA[New Discussion Post by JSH]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-do-resolve-this-sql-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server Error 7202 Could not find server</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-7202-could-not-find-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/error-7202-could-not-find-server/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 14:12:17 +0000</pubDate>
		<dc:creator>Jabeam</dc:creator>
				<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server error messages]]></category>
		<category><![CDATA[SQL Server stored procedures]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi all, I am currently running into the following error when run a stored procedure with BEGIN TRANS:  &#8221;Could not find server &#8216;VS-DEVELOPERDEVELOPER_SQL&#8217; in sysservers. Execute sp_addlinkedserver to add the server to sysservers.&#8221; The server shown above is the a local sql server instance that is running the stored procedure and therefore shouldn&#8217;t need to [...]]]></description>
				<content:encoded><![CDATA[<p>Hi all,<br />
I am currently running into the following error when run a stored procedure with BEGIN TRANS:</p>
<div></div>
<div> &#8221;Could not find server &#8216;VS-DEVELOPERDEVELOPER_SQL&#8217; in sysservers. Execute sp_addlinkedserver to add the server to sysservers.&#8221;</div>
<div></div>
<div>The server shown above is the a local sql server instance that is running the stored procedure and therefore shouldn&#8217;t need to be linked. Am I misunderstanding the linked server definition or is there another underlying issue with the stored procedure?</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/error-7202-could-not-find-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL9010 is: RUNSQLSTM command failed.</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql9010-is-runsqlstm-command-failed/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql9010-is-runsqlstm-command-failed/#comments</comments>
		<pubDate>Sun, 15 May 2011 06:25:10 +0000</pubDate>
		<dc:creator>Lllooloool</dc:creator>
				<category><![CDATA[RUNSQLSTM]]></category>
		<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[SQL9010 is: RUNSQLSTM command failed.]]></description>
				<content:encoded><![CDATA[<p>SQL9010 is: RUNSQLSTM command failed.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql9010-is-runsqlstm-command-failed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL 9010 Error when using RUNSQLSTM</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql9010-error-when-using-runsqlstm/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql9010-error-when-using-runsqlstm/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 08:03:19 +0000</pubDate>
		<dc:creator>MaldaTabbah</dc:creator>
				<category><![CDATA[CL Program]]></category>
		<category><![CDATA[CLPROGRAM]]></category>
		<category><![CDATA[RUNSQLSTM]]></category>
		<category><![CDATA[SQL error messages]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have a CL program having the following RUNSQLSTM RUNSQLSTM  SRCFILE(AMBDEV/MSRCAMB) SRCMBR(AMBJARRVK)            COMMIT(*NONE)                            AMBJARRVK is a SQL member file in MSRCAMB source file having this SQL statment DELETE FROM GDPF WHERE GDUSID = &#8216;A365&#8242; AND GDOID = &#8216;JAR&#8217; I am receiving SQL9010 error when running the CL program&#8230; Any hint on where is the [...]]]></description>
				<content:encoded><![CDATA[<p>I have a CL program having the following RUNSQLSTM<br/><br/> RUNSQLSTM  SRCFILE(AMBDEV/MSRCAMB) SRCMBR(AMBJARRVK)            COMMIT(*NONE)                            <br/><br/> AMBJARRVK is a SQL member file in MSRCAMB source file having this SQL statment<br/><br/> DELETE FROM GDPF WHERE GDUSID = &#8216;A365&#8242; AND GDOID = &#8216;JAR&#8217;<br/><br/> I am receiving SQL9010 error when running the CL program&#8230; Any hint on where is the problem?<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql9010-error-when-using-runsqlstm/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Running Multiple SQL statements through JCL</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/running-multiple-sql-statements-through-jcl/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/running-multiple-sql-statements-through-jcl/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 23:05:38 +0000</pubDate>
		<dc:creator>Vmfquest</dc:creator>
				<category><![CDATA[DB2 SQL]]></category>
		<category><![CDATA[JCL]]></category>
		<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL statements]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I need to run multiple sql statements seperatd by &#8216;;&#8217;. I want the execution to continue for all the SQL statements even if any of the SQLs throws out error. Is it possible?]]></description>
				<content:encoded><![CDATA[<p>I need to run multiple sql statements seperatd by &#8216;;&#8217;. I want the execution to continue for all the SQL statements even if any of the SQLs throws out error. Is it possible?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/running-multiple-sql-statements-through-jcl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Insert Error Against Runtime Control Error in FLP</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-insert-error-against-runtime-control-error-in-flp/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-insert-error-against-runtime-control-error-in-flp/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 06:55:20 +0000</pubDate>
		<dc:creator>Maheshwag</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[SQL 2000]]></category>
		<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2000]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[am trying to insert into sql-2000 database my code is: StringBuilder sb=null; sb=new StringBuilders; sb.Append("Insert into dummy(name,amount) values"); foreach(Control ctl in this.FlowLayoutPanel1.Controls) { if( ctls.Name.Contains("tb") &#038;&#038; ctl is TextBox) { sb.Append(ctl.Text); } } foreach(Control bbl in this.FlowLayoutPanel1.Controls) { if (bbl.Name.Contians("bb") &#038;&#038; bb is TextBoxe) { sb.Append(bbl.Text); } } SqlCommand cmd=new SqlCommand(sb.ToString(),con); cmd.CommandType=CommandType.Text; cmd.ExecuteNoneQuery(); I don&#8217;t [...]]]></description>
				<content:encoded><![CDATA[<p>am trying to insert into sql-2000 database my code is:<br/><br/>
<pre><br/><br/> StringBuilder sb=null;<br/><br/> sb=new StringBuilders;<br/><br/> sb.Append("Insert into dummy(name,amount) values");<br/><br/> foreach(Control ctl in this.FlowLayoutPanel1.Controls)<br/><br/> {<br/><br/> if( ctls.Name.Contains("tb") &#038;&#038; ctl is TextBox)<br/><br/> {<br/><br/> sb.Append(ctl.Text);<br/><br/> }<br/><br/> }<br/><br/> foreach(Control bbl in this.FlowLayoutPanel1.Controls)<br/><br/> {<br/><br/> if (bbl.Name.Contians("bb") &#038;&#038; bb is TextBoxe)<br/><br/> {<br/><br/> sb.Append(bbl.Text);<br/><br/> }<br/><br/> }<br/><br/> SqlCommand cmd=new SqlCommand(sb.ToString(),con);<br/><br/> cmd.CommandType=CommandType.Text;<br/><br/> cmd.ExecuteNoneQuery();<br/><br/> </pre>
<p><br/><br/> I don&#8217;t know what is wrong with this code but it&#8217;s gives an Error Like<br/><br/> &#8220;Incorrect Syntax Near Values&#8221;<br/><br/> please help me.<br/><br/>  <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-insert-error-against-runtime-control-error-in-flp/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SQL Explorer Not Connected</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-explorer-not-connected/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-explorer-not-connected/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 05:19:48 +0000</pubDate>
		<dc:creator>Yes1</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle 10g]]></category>
		<category><![CDATA[Oracle 10g Express]]></category>
		<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows 7 in 2010]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi all My OS is WIN 7 , Oracle Server Installation (10g Express Edition) is Sucessful Oracle 10g Client Installation is sucessful ODBC connection is Sucessful. But SQL Expolrer &#8211; not connected Error is General SQL Error. Microsoft [ODBC Driver Manager] Driver is SQLallocHandle on SQL_HANDLE_ENV Failed Allias: ProfitDSN Profit DSN is ODBC Name This [...]]]></description>
				<content:encoded><![CDATA[<p>Hi all My OS is WIN 7 , Oracle Server Installation (10g Express Edition) is Sucessful Oracle 10g Client Installation is sucessful ODBC connection is Sucessful. But SQL Expolrer &#8211; not connected Error is General SQL Error. Microsoft [ODBC Driver Manager] Driver is SQLallocHandle on SQL_HANDLE_ENV Failed Allias: ProfitDSN Profit DSN is ODBC Name This is my Problem.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-explorer-not-connected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>error in SQL workbench</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-sql-workbench/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/error-in-sql-workbench/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 01:29:58 +0000</pubDate>
		<dc:creator>Whitneyf</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Syntax]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;)&#8217; at line 2 SQL Statement: CREATE  TABLE `cape codd`.`SKU_DATA` ( )   Does anyone know how to fix or workaround this? thanks Whitney Ferrante]]></description>
				<content:encoded><![CDATA[<p>ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;)&#8217; at line 2<br/><br/> SQL Statement:<br/><br/> CREATE  TABLE `cape codd`.`SKU_DATA` (<br/><br/> )<br/><br/>  <br/><br/> Does anyone know how to fix or workaround this? thanks Whitney Ferrante<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/error-in-sql-workbench/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Syntax Error SQL0104</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-syntax-error-sql0104/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-syntax-error-sql0104/#comments</comments>
		<pubDate>Tue, 25 May 2010 18:37:41 +0000</pubDate>
		<dc:creator>DLM2007</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL Statement Syntax Errors]]></category>
		<category><![CDATA[Syntax errors]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have to recreate a duplicate logical file, but I can&#8217;t use the crtdupobj command because it doesn&#8217;t recreate the correct library pointers. Using the dspfd command. I&#8217;m attempting to recreate the logical file in a different environment(library). Using the exact same commands (different library) I&#8217;m attempting to create the file in SQL using the [...]]]></description>
				<content:encoded><![CDATA[<p>I have to recreate a duplicate logical file, but I can&#8217;t use the crtdupobj command because it doesn&#8217;t recreate the correct library pointers. Using the dspfd command. I&#8217;m attempting to recreate the logical file in a different environment(library). Using the exact same commands (different library) I&#8217;m attempting to create the file in SQL using the example below. When I do I continue to get error SQL0104 which from what I&#8217;ve read says it&#8217;s a syntax error. Can someone please assist me in correcting the syntax below? It&#8217;s not clear to me where the error is. Thank You</p>
<div></div>
<div></div>
<div>
<div>V5R4M0 060210 Run SQL Statements INQHISTZ 05/25/10 11:07:14 Page 2</div>
<div>Record *&#8230;+&#8230; 1 &#8230;+&#8230; 2 &#8230;+&#8230; 3 &#8230;+&#8230; 4 &#8230;+&#8230; 5 &#8230;+&#8230; 6 &#8230;+&#8230; 7 &#8230;+&#8230; 8 SEQNBR Last change</div>
<div>1 create view inqhistz as</div>
<div>2 select h.dcord#, h.dcodat, h.dcbcus, i.ddpart, h.dcscus, h.dcpo</div>
<div>3 cast(max(ifnull(ext.cost,0)) as decimal(11,2) as stdcost</div>
<div>4 cast(max(ifnull(ddunpr,0)) as decimal(12,3)) as ddunpr</div>
<div>5 cast(sum(ddqtoi) as decimal(12,3)) as ddqtoi</div>
<div>6 cast(sum(ddqtsi) as decimal(12,3)) as ddqtsi</div>
<div>7 char(dcodat) as dcodt6, char(dcodat,usa) as dcod10</div>
<div>8 char(dcodat) as dcod08, char(dcodat,iso) as dcodst</div>
<div>9 from csaldat.ocrh h inner join csaldat.ocri i on h.dcord# = i.ddord# +</div>
<div>10 inner join csaldat.cust c on h.dcbcus=c.bvcust +</div>
<div>11 inner join csallib.itemmast s on i.ddpart = s.part left join +</div>
<div>12 csaldat alsordext ext on i.ddord# = ext.ordno and i.dditm# = ext.line +</div>
<div>13 where i.ddglc not like ’SC%’</div>
<div>14 group by h.dcord#, h.dcodat, h.dcbcus, i.ddpart, h.dcscus, h.dcpo;</div>
<div>* * * * * E N D O F S O U R C E * * * * *</div>
<div><b>SQL0104 30 3 Position 7 Token ( was not valid. Valid tokens: , FROM</b></div>
<div><b>INTO.</b></div>
<div>Message Summary</div>
<div>Total Info Warning Error Severe Terminal</div>
<div>1 0 0 0 1 0</div>
<div>30 level severity errors found in source</div>
<div>* * * * * E N D O F L I S T I N G * * * * *</div>
</div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-syntax-error-sql0104/feed/</wfw:commentRss>
		<slash:comments>1</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.024 seconds using memcached
Object Caching 929/986 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 04:07:11 -->