 




<?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 commands</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/development/sql-commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Mon, 20 May 2013 00:58:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>inserting many columns</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/inserting-many-columns/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/inserting-many-columns/#comments</comments>
		<pubDate>Sat, 06 Oct 2012 09:54:57 +0000</pubDate>
		<dc:creator>noor61</dc:creator>
				<category><![CDATA[SQL commands]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/inserting-many-columns/</guid>
		<description><![CDATA[New Discussion Post by carlosdl]]></description>
				<content:encoded><![CDATA[New Discussion Post by carlosdl]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/inserting-many-columns/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SQL WKS SELECT COMMAND</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-wks-select-command/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-wks-select-command/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 09:02:12 +0000</pubDate>
		<dc:creator>235235235</dc:creator>
				<category><![CDATA[Oracle 7.3.1]]></category>
		<category><![CDATA[SQL commands]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Thanks for your response. Actually i am using Oracle 7.3.1 with Devloper 2000 I want to get information from a table name ‘bilmst’ having column name ‘a/c no.’ and ‘enterdate’ i want to collect information as follows fy 01-07     No of A/Cs to 30-06 2005-06        1500 2006-07        1000 2007-08        1200 2008-09        1100 i want to [...]]]></description>
				<content:encoded><![CDATA[<div>
Thanks for your response.</p>
<p>Actually i am using Oracle 7.3.1 with Devloper 2000</p>
<p>I want to get information from a table name ‘bilmst’ having column name ‘a/c no.’ and</p>
<p>‘enterdate’ i want to collect information as follows</p>
<p>fy 01-07                         No of A/Cs</p>
<p>to 30-06<br/><br/><br />
2005-06                              1500</p>
<p>2006-07                              1000</p>
<p>2007-08                              1200</p>
<p>2008-09                              1100<br/><br/><br />
i want to get information as example given above</p>
<p>my financial year from 01-07 to 30-06.</p>
<p>can i get information with select command as above format.</p>
<p>please guide.<br/><br/><br />
Thank <br/><br/><br />
Toqeer Akbar<br/><br/>
</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-wks-select-command/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>SQLRPGLE</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-4/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-4/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 10:30:47 +0000</pubDate>
		<dc:creator>Sasikumarr</dc:creator>
				<category><![CDATA[AS/400]]></category>
		<category><![CDATA[AS/400 output files]]></category>
		<category><![CDATA[SQL commands]]></category>
		<category><![CDATA[SQLRPGLE]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[New Answer by MTidmarsh]]></description>
				<content:encoded><![CDATA[New Answer by MTidmarsh]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sqlrpgle-4/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to search more than a word in a column SQL database?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-search-more-than-a-word-in-a-column-sql-database/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-search-more-than-a-word-in-a-column-sql-database/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 05:19:27 +0000</pubDate>
		<dc:creator>Semantic85</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL commands]]></category>
		<category><![CDATA[SQL Database]]></category>

		<guid isPermaLink="false"></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/how-to-search-more-than-a-word-in-a-column-sql-database/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>I want to delete records from a PF outside a PGM</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/i-want-to-delete-records-from-a-pf-outside-a-pgm/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/i-want-to-delete-records-from-a-pf-outside-a-pgm/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 15:25:39 +0000</pubDate>
		<dc:creator>TIB</dc:creator>
				<category><![CDATA[CPYF]]></category>
		<category><![CDATA[PGM]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL commands]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I need to either setup a SQL that lets me pass a variable so that I can delete records based on a moving date. Or, I want to setup a CPYF command that will allow me to copy records that are *LT a variable (date). I&#8217;m not sure how to pass variable to either idea.]]></description>
				<content:encoded><![CDATA[<p>I need to either setup a SQL that lets me pass a variable so that I can delete records based on a moving date. Or, I want to setup a CPYF command that will allow me to copy records that are *LT a variable (date). I&#8217;m not sure how to pass variable to either idea.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/i-want-to-delete-records-from-a-pf-outside-a-pgm/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SQL command question</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-command-question/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-command-question/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 16:20:52 +0000</pubDate>
		<dc:creator>Ktoby</dc:creator>
				<category><![CDATA[SQL commands]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server tables]]></category>
		<category><![CDATA[SQL tables]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have three tables as below: Table 1: attributes fields: attID, att_CategoryID, name Table 2: att_Category fields: att_CategoryID, name Table 3: prodcutAttributes fields: ID, productID, attID, I desigining this tables to be able to add multiple prodcut attributes for ecommerce site. I don&#8217;t know how good this design is. Anyways I need to find out [...]]]></description>
				<content:encoded><![CDATA[<p>I have three tables as below: Table 1: attributes fields: attID, att_CategoryID, name Table 2: att_Category fields: att_CategoryID, name Table 3: prodcutAttributes fields: ID, productID, attID, I desigining this tables to be able to add multiple prodcut attributes for ecommerce site. I don&#8217;t know how good this design is. Anyways I need to find out the sql command which can first see how many type of options are entered for the particular prodcut based on that, i need to get each product options entered for the prodcut. example: prodcut 1 might have att_category (COLOR): attributes( blue, black, green) and att_category(Size): attributes (xxl, xl, large) prodcut 2 might have only att_category(SIZE): attributes(large, medium, small) I would appreciate any help on this.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-command-question/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>IN and Exists in SQL?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/in-and-exists-in-sql/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/in-and-exists-in-sql/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 07:18:15 +0000</pubDate>
		<dc:creator>Prcvjr</dc:creator>
				<category><![CDATA[Oracle 10g Express]]></category>
		<category><![CDATA[Oracle SQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL commands]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[What is the difference between IN and EXISTS IN SQL? I googled but I dint get good information. PLease provide me the exact deifference between them.]]></description>
				<content:encoded><![CDATA[<p>What is the difference between IN and EXISTS IN SQL?</p>
<div></div>
<div>I googled but I dint get good information. PLease provide me the exact deifference between them.</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/in-and-exists-in-sql/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Parameter Date Conversion in SQL 2000</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/parameter-date-conversion/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/parameter-date-conversion/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 16:22:09 +0000</pubDate>
		<dc:creator>Maheshwag</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2000]]></category>
		<category><![CDATA[SQL commands]]></category>
		<category><![CDATA[SQL Parameters]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[String manipulation]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[my code is : string sql="insert into dummy(date)values(@date)"; sqlcommand cmd=new sqlcommand(sql,con); cmd.parameters.add("@date",sqldbtype.datetime).values=maskedtextbox1.text text; cmd.executenonquery(); the problem is it's throw and error like  conversion of varchar to date; Note :- my demand to put date in DD/MM/YYYY format. ]]></description>
				<content:encoded><![CDATA[<p>my code is :</p>
<div></div>
<div>
<pre></div>
<div></div>
<div>string sql="insert into dummy(date)values(@date)";</div>
<div></div>
<div>sqlcommand cmd=new sqlcommand(sql,con);</div>
<div></div>
<div>cmd.parameters.add("@date",sqldbtype.datetime).values=maskedtextbox1.text</div>
<div>text;</div>
<div></div>
<div>cmd.executenonquery();</div>
<div></div>
<div>the problem is it's throw and error like  conversion of varchar to date;</div>
<div></div>
<div>Note :- my demand to put date in DD/MM/YYYY format. </div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/parameter-date-conversion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQL problem: Adapting code fragment</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-problem-2/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-problem-2/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 10:56:28 +0000</pubDate>
		<dc:creator>Mentos</dc:creator>
				<category><![CDATA[Access 2007]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL commands]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[How do I adapt the fragment of code below to show: a) Two columns &#8211; the Filipino Population and the Total Population  b) The Filipino Population as a percentage of the total population  SELECT DISTINCTROW POPDATA.CITYNUM,  COUNT(*)FROM POPDATA  WHERE POPDATA.ANCNUMBER=720  GROUP BY POPDATA.CITYNUM  ORDER BY COUNT(*) DESC;]]></description>
				<content:encoded><![CDATA[<p>How do I adapt the fragment of code below to show:</p>
<div>a) Two columns &#8211; the Filipino Population and the Total Population </div>
<div>b) The Filipino Population as a percentage of the total population </div>
<div></div>
<div>SELECT DISTINCTROW POPDATA.CITYNUM, </div>
<div>COUNT(*)FROM POPDATA </div>
<div>WHERE POPDATA.ANCNUMBER=720 </div>
<div>GROUP BY POPDATA.CITYNUM </div>
<div>ORDER BY COUNT(*) DESC;</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-problem-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server 2008 Code to find fields containing similar text</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/code-to-find-fields-containing-similar-text/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/code-to-find-fields-containing-similar-text/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 15:37:05 +0000</pubDate>
		<dc:creator>Davewaltonuk</dc:creator>
				<category><![CDATA[SQL commands]]></category>
		<category><![CDATA[SQL Fields]]></category>
		<category><![CDATA[SQL Server 2008 administration]]></category>
		<category><![CDATA[SQL Server development]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I want to find fields that may be the same in some parts but not 100% identical For example Field 1 Has the word &#8220;Smith&#8221; Field 2 has &#8220;Smith AB&#8221; in it Is there any code i can write to find these, without writing code for every single name I am using SQL server 2008 [...]]]></description>
				<content:encoded><![CDATA[<p>I want to find fields that may be the same in some parts but not 100% identical <br/><br/> For example <br/><br/> Field 1 Has the word &#8220;Smith&#8221; <br/><br/> Field 2 has &#8220;Smith AB&#8221; in it <br/><br/> Is there any code i can write to find these, without writing code for every single name I am using SQL server 2008 Thanking you in advance<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/code-to-find-fields-containing-similar-text/feed/</wfw:commentRss>
		<slash:comments>4</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/30 queries in 0.031 seconds using memcached
Object Caching 926/1080 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-20 05:12:13 -->