 




<?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 Server tables</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/sql-server-tables/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>Exchange &#8211; extracting email properties</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/exchange-extracting-email-properties/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/exchange-extracting-email-properties/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 21:35:08 +0000</pubDate>
		<dc:creator>dragonsong1</dc:creator>
				<category><![CDATA[Microsoft Exchange 2007]]></category>
		<category><![CDATA[SQL Server tables]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/exchange-extracting-email-properties/</guid>
		<description><![CDATA[New Discussion Post by stellariinformation]]></description>
				<content:encoded><![CDATA[New Discussion Post by stellariinformation]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/exchange-extracting-email-properties/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Joining unmatched tables with duplicates</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/joining-unmatched-tables-with-duplicates/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/joining-unmatched-tables-with-duplicates/#comments</comments>
		<pubDate>Thu, 29 Nov 2012 17:50:59 +0000</pubDate>
		<dc:creator>jruth13</dc:creator>
				<category><![CDATA[Microsoft SQL Server 2005]]></category>
		<category><![CDATA[SQL Server tables]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/joining-unmatched-tables-with-duplicates/</guid>
		<description><![CDATA[New Discussion Post by jruth13]]></description>
				<content:encoded><![CDATA[New Discussion Post by jruth13]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/joining-unmatched-tables-with-duplicates/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SQL Query</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-query-16/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-query-16/#comments</comments>
		<pubDate>Sat, 02 Jun 2012 13:14:51 +0000</pubDate>
		<dc:creator>SDN</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server tables]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[how to select only those table name from database that have a two field in table like PID amd EID table that have PID also have a EID in a single table those table i want to select]]></description>
				<content:encoded><![CDATA[<p>how to select only those table name from database that have a two field in table like PID amd EID<br />
table that have PID also have a EID in a single table<br />
those table i want to select</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-query-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Matching key question &#8211; resubmitted</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/matching-key-question-resubmitted/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/matching-key-question-resubmitted/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 22:25:14 +0000</pubDate>
		<dc:creator>Slowlearner</dc:creator>
				<category><![CDATA[SQL Server tables]]></category>
		<category><![CDATA[SQLServer]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, resubmitting because the first upload did not seem to work&#8230; Here is the problem I am trying to solve. I need to extract some information from a table, say Tab2, using a matching key from another table, say Tab1. Tab1 has two columns, Col1 and Col2. Col1 is digits (1, 2, 3&#8230;) Col2 has [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,<br />
resubmitting because the first upload did not seem to work&#8230;<br />
Here is the problem I am trying to solve.<br />
I need to extract some information from a table, say Tab2, using a matching key from another table, say Tab1.<br />
Tab1 has two columns, Col1 and Col2.<br />
Col1 is digits (1, 2, 3&#8230;)<br />
Col2 has letters (AA, Aa, aA, aa, AB etc)<br />
I need to use Col2 to join to Tab2 and extract some data from Tab2, based on some criteria (like values of Col2).<br />
The problem is that SQL is not differentiating between upper case and lower case values in Col2. So, AA is treated the same as Aa.<br />
If I wanted to retrieve information for AA from Tab2, it gives me the information for AA, Aa, aA and aa.<br />
How do I solve this problem?<br />
Thanks to all who try to help.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/matching-key-question-resubmitted/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reading xml url into SQL Server 2008 Table with OpenXML</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/reading-xml-url-into-sql-server-2008-table-with-openxml/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/reading-xml-url-into-sql-server-2008-table-with-openxml/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 17:21:25 +0000</pubDate>
		<dc:creator>Rscheinberg59</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server tables]]></category>
		<category><![CDATA[SQL tables]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XML development]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am parsing an xml file that contains an xml url and a text file url as values. OpenXML appears to be unable to read neither the xml url nor the url to the text file. It reads the urls to pdf and html locations fine. How can I get the process to get the xml url [...]]]></description>
				<content:encoded><![CDATA[<p>I am parsing an xml file that contains an xml url and a text file url as values. OpenXML appears to be unable to read neither the xml url nor the url to the text file. It reads the urls to pdf and html locations fine. How can I get the process to get the xml url as text into my sql table.  My next step would be to parse each xml for each record to retrieve some data out of each, but that will come later. I first need to be able to read the url. Right now all I get is null values.<br/><br/> Here is a sample of one record (there are about 5000 in the xml):<br/><br/> &lt;document id=&#8221;1028&#8243; doc_type=&#8221;3&#8243;&gt;  &lt;url_xml&gt;https://www.someplace.com/docs/xml/something.xml&lt;/url_xml&gt;  &lt;url_pdf&gt;https://www.someplace.com/docs/pdf/something.pdf&lt;/url_pdf&gt;  &lt;url_html&gt;https://www.someplace.com/docs/html/something.html&lt;/url_html&gt;  &lt;url_txt&gt;https://www.someplace.com/docs/html2/something.txt&lt;/url_txt&gt;  &lt;headline&gt;Some Text&lt;/headline&gt;  &lt;dateadded&gt;20080924&lt;/dateadded&gt;  &lt;active&gt;1&lt;/active&gt;  &lt;published&gt;1&lt;/published&gt; &lt;/document&gt;<br/><br/> Here is my code:<br/><br/>  INSERT<br/><br/>   <br/><br/>   INTO #WorkingTable<br/><br/>  SELECT<br/><br/>   <br/><br/>   * FROM OPENROWSET (BULK &#8216;C:ProcessesBlueMatrixBMdocs.xml&#8217;, SINGLE_BLOB) AS data<br/><br/>  SELECT<br/><br/>   <br/><br/>   @XML = Data FROM #WorkingTable<br/><br/>  EXEC<br/><br/>   <br/><br/>   sp_xml_preparedocument @hDoc OUTPUT, @XML<br/><br/>  SELECT<br/><br/>   <br/><br/>   getdate(), id, doc_type, url_xml, url_pdf, url_html, url_text, headline, dateadded, active<br/><br/>  FROM<br/><br/>   <br/><br/>   OPENXML(@hDoc, &#8216;/doc_url/document&#8217;, 2)<br/><br/>  WITH <br/><br/>   <br/><br/>  (id int &#8216;@id&#8217;, doc_type tinyint &#8216;@doc_type&#8217;, url_xml varchar(200), url_pdf varchar(200), url_html varchar(200), url_text varchar(200), headline varchar(200), dateadded datetime, active tinyint );<br/><br/>  EXEC<br/><br/>   <br/><br/>   sp_xml_removedocument @hDoc<br/><br/> Thanks for any help you can provide.<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/reading-xml-url-into-sql-server-2008-table-with-openxml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The SSIS 2008 R2 job does not complete execution</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/the-ssis-2008-r2-job-does-not-complete-execution/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/the-ssis-2008-r2-job-does-not-complete-execution/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 17:10:13 +0000</pubDate>
		<dc:creator>Iamhere980</dc:creator>
				<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>
		<category><![CDATA[SQL Server Integration Services]]></category>
		<category><![CDATA[SQL Server tables]]></category>
		<category><![CDATA[SSIS]]></category>
		<category><![CDATA[SSIS 2008]]></category>
		<category><![CDATA[SSIS Job]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have an SSIS package created in 2005 SP2. I have compiled this and is sheculed to run under SQL Server 2008 R2, which connects to a SQL Server 2005 database. What the package does. 1.The package FTP&#8217;s some files to the local folder. I verified to confirm the files are downloaded correctly. 2. Truncate [...]]]></description>
				<content:encoded><![CDATA[<p>I have an SSIS package created in 2005 SP2. I have compiled this and is sheculed to run under SQL Server 2008 R2, which connects to a SQL Server 2005 database.<br/><br/> What the package does.<br/><br/> 1.The package FTP&#8217;s some files to the local folder. I verified to confirm the files are downloaded correctly.<br/><br/> 2. Truncate the tablse. Verified to see the record count is 0.<br/><br/> 3.Copies the data from the FTP&#8217;ed file to the tables. Verified to see the table is loaded.<br/><br/> 4.Calls a stored procedure. Verified the log table to see the message of the last step in stored procedure is executed.<br/><br/> 5.Added one more last step in the package to log an entry in the table to see the lat step in package is executed. This also works fine.<br/><br/> 6. The job still shows &#8220;In Progress&#8230;&#8221; I have to manually close this job.<br/><br/> Any help<br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/the-ssis-2008-r2-job-does-not-complete-execution/feed/</wfw:commentRss>
		<slash:comments>2</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>Alter proc to fetch a table structure from SQL Server 2005 database</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/alter-proc-for-fetch-a-table-strcture-from-database/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/alter-proc-for-fetch-a-table-strcture-from-database/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 09:59:24 +0000</pubDate>
		<dc:creator>Amitshukla</dc:creator>
				<category><![CDATA[FETCH statement]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL 2005 Database]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server tables]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[New Answer by nguyenhoanglong]]></description>
				<content:encoded><![CDATA[New Answer by nguyenhoanglong]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/alter-proc-for-fetch-a-table-strcture-from-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create QA database with only some production tables</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/create-qa-database-with-only-some-production-tables/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/create-qa-database-with-only-some-production-tables/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 13:50:12 +0000</pubDate>
		<dc:creator>Rwaltz</dc:creator>
				<category><![CDATA[Clone database]]></category>
		<category><![CDATA[Filegroup]]></category>
		<category><![CDATA[QA]]></category>
		<category><![CDATA[SQL scripts]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server tables]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have a large database with some tables that have largely static data. I need to make a new database on a different server with the same table structure with the static data tables intact (keys, etc.). The other tables must be empty. They&#8217;re all in the same filegroup in the original database. I&#8217;ve done [...]]]></description>
				<content:encoded><![CDATA[<p>I have a large database with some tables that have largely static data.  I need to make a new database on a different server with the same table structure with the static data tables intact (keys, etc.).  The other tables must be empty.  They&#8217;re all in the same filegroup in the original database.  I&#8217;ve done this once, by some sort of partial (copy only?) backup and changing filenames&#8230; but I&#8217;ve lost the script and I can&#8217;t locate the original article (yes, I&#8217;m kicking myself).<br />
Thanks</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/create-qa-database-with-only-some-production-tables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Access or SQL Server tables</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/access-or-sql/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/access-or-sql/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 16:02:12 +0000</pubDate>
		<dc:creator>Imjnice</dc:creator>
				<category><![CDATA[Access Tables]]></category>
		<category><![CDATA[SQL Server administration]]></category>
		<category><![CDATA[SQL Server Table Migration]]></category>
		<category><![CDATA[SQL Server tables]]></category>
		<category><![CDATA[SQL tables]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Yes I am consultant for a small business, and currently they have a Access database that works pretty decently. At the current situation, the owner needs another database. I really do not want to have to ask the developer to keep creating different databases that includes him having to put more separate tables on the [...]]]></description>
				<content:encoded><![CDATA[<p>Yes I am consultant for a small business, and currently they have a Access database that works pretty decently.  At the current situation, the owner needs another database.  I really do not want to have to ask the developer to keep creating different databases that includes him having to put more separate tables on the server for the new database.  I wanted to know, for future growth, would SQL be better to implement being that the owner needs another database?  I mean no telling how many more databases she may need.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/access-or-sql/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/24 queries in 0.029 seconds using memcached
Object Caching 919/1024 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 17:06:51 -->