 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Data Extraction into SQL Server Database from Cache ODBC Database</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/data-extraction-into-sql-server-database-from-cache-odbc-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/data-extraction-into-sql-server-database-from-cache-odbc-database/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 05:55:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: daveinaz</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/data-extraction-into-sql-server-database-from-cache-odbc-database/#comment-39924</link>
		<dc:creator>daveinaz</dc:creator>
		<pubDate>Fri, 20 Jan 2006 10:45:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-39924</guid>
		<description><![CDATA[Boy, am I confused! First you say you &quot;doubt the database providers will be willing to supply the schema&quot;, but then you say you &quot;have the structure of the tables in the system&quot; and you &quot;know is that the table is a view and not an actual table&quot;. And your query returns different results each time you run it? Jeez! 

Ok, let&#039;s start with some questions for you.
1 Who are these db providers? Are they outside your company? Who does this cache db belong to? If it belongs to your company, can&#039;t you negotiate a deal to get the source for the view you&#039;re trying to emulate? And, if they let you have access to their data, why wouldn&#039;t they be willing to share the SQL source behind the view? 

2 How did you recreate the table structure when you don&#039;t know the schema? 

3 Which table &quot;is a view, not a table&quot;? The _SYSTEM.Patient table in your querying? 

4 You say you want to &quot;re-create the view using joins&quot;, but your SQL only includes one table. Why?

5 Do you KNOW that the resultset is larger than it should be, or are you guessing? If you do know, HOW do you know? Are you able to run the orginal query you&#039;re trying to reproduce?

6 If the recordcounts vary greatly, not just growing, and this db is truly a &quot;cache database&quot;, perhaps the cache is being flushed periodically (as it should be, if it&#039;s really a cache). That is, maybe it&#039;s being emptied and then refilled, but not necessarily with the same data. Caches are often used to temporarily &quot;stage&quot; data prior to some operation like printing invoices or reports. 

Sorry for all the questions, but I don&#039;t think we have a very clear picture of the situation, so it&#039;s hard to know what to advise. 

 ]]></description>
		<content:encoded><![CDATA[<p>Boy, am I confused! First you say you &#8220;doubt the database providers will be willing to supply the schema&#8221;, but then you say you &#8220;have the structure of the tables in the system&#8221; and you &#8220;know is that the table is a view and not an actual table&#8221;. And your query returns different results each time you run it? Jeez! </p>
<p>Ok, let&#8217;s start with some questions for you.<br />
1 Who are these db providers? Are they outside your company? Who does this cache db belong to? If it belongs to your company, can&#8217;t you negotiate a deal to get the source for the view you&#8217;re trying to emulate? And, if they let you have access to their data, why wouldn&#8217;t they be willing to share the SQL source behind the view? </p>
<p>2 How did you recreate the table structure when you don&#8217;t know the schema? </p>
<p>3 Which table &#8220;is a view, not a table&#8221;? The _SYSTEM.Patient table in your querying? </p>
<p>4 You say you want to &#8220;re-create the view using joins&#8221;, but your SQL only includes one table. Why?</p>
<p>5 Do you KNOW that the resultset is larger than it should be, or are you guessing? If you do know, HOW do you know? Are you able to run the orginal query you&#8217;re trying to reproduce?</p>
<p>6 If the recordcounts vary greatly, not just growing, and this db is truly a &#8220;cache database&#8221;, perhaps the cache is being flushed periodically (as it should be, if it&#8217;s really a cache). That is, maybe it&#8217;s being emptied and then refilled, but not necessarily with the same data. Caches are often used to temporarily &#8220;stage&#8221; data prior to some operation like printing invoices or reports. </p>
<p>Sorry for all the questions, but I don&#8217;t think we have a very clear picture of the situation, so it&#8217;s hard to know what to advise. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ferencmantfeld</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/data-extraction-into-sql-server-database-from-cache-odbc-database/#comment-39925</link>
		<dc:creator>ferencmantfeld</dc:creator>
		<pubDate>Wed, 18 Jan 2006 13:41:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-39925</guid>
		<description><![CDATA[roughly how many records are we talkng about in the query ?]]></description>
		<content:encoded><![CDATA[<p>roughly how many records are we talkng about in the query ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spiddy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/data-extraction-into-sql-server-database-from-cache-odbc-database/#comment-39926</link>
		<dc:creator>spiddy</dc:creator>
		<pubDate>Wed, 18 Jan 2006 11:58:05 +0000</pubDate>
		<guid isPermaLink="false">#comment-39926</guid>
		<description><![CDATA[Hi all, Many thanks for your replies.
I am using DTS to extract the data using a simple select statement in a transform data task SQL Query, and using a date criteria to reduce the size of the extract like this:
SELECT  AKA, Admitting_Clinician, Blood_Bank_Work_Issued,  Blood_Group, ??/* Up to about 100 columns */
FROM _SYSTEM.Patient
WHERE Date_Patient_Details_Amended &gt;= &#039;2005-04-01&#039; 
AND Date_Patient_Details_Amended ]]></description>
		<content:encoded><![CDATA[<p>Hi all, Many thanks for your replies.<br />
I am using DTS to extract the data using a simple select statement in a transform data task SQL Query, and using a date criteria to reduce the size of the extract like this:<br />
SELECT  AKA, Admitting_Clinician, Blood_Bank_Work_Issued,  Blood_Group, ??/* Up to about 100 columns */<br />
FROM _SYSTEM.Patient<br />
WHERE Date_Patient_Details_Amended &gt;= &#8217;2005-04-01&#8242;<br />
AND Date_Patient_Details_Amended </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daveinaz</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/data-extraction-into-sql-server-database-from-cache-odbc-database/#comment-39927</link>
		<dc:creator>daveinaz</dc:creator>
		<pubDate>Wed, 18 Jan 2006 10:05:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-39927</guid>
		<description><![CDATA[Well, I hate to disagree with the previous posters, but it sounds to me like you SHOULD be querying the view, NOT the tables. You say the view returns the &quot;correct&quot;, expected number of records, so clearly it already contains the necessary joins and criteria. Why duplicate that effort?

I do agree that DTS is the way to go, though. Just point it at the view and let &#039;er rip. ]]></description>
		<content:encoded><![CDATA[<p>Well, I hate to disagree with the previous posters, but it sounds to me like you SHOULD be querying the view, NOT the tables. You say the view returns the &#8220;correct&#8221;, expected number of records, so clearly it already contains the necessary joins and criteria. Why duplicate that effort?</p>
<p>I do agree that DTS is the way to go, though. Just point it at the view and let &#8216;er rip. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: upesh1</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/data-extraction-into-sql-server-database-from-cache-odbc-database/#comment-39928</link>
		<dc:creator>upesh1</dc:creator>
		<pubDate>Tue, 17 Jan 2006 12:12:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-39928</guid>
		<description><![CDATA[hi,
u should try getting data from the base by using left &amp; right joint &amp; check the joine. i would like to see yr query which is give better idea for yr problem.u might be use view with multiple column along with child table. 
there is 1 way to get data from cache database in sqlserver is dns. by this u can extract data.  ]]></description>
		<content:encoded><![CDATA[<p>hi,<br />
u should try getting data from the base by using left &amp; right joint &amp; check the joine. i would like to see yr query which is give better idea for yr problem.u might be use view with multiple column along with child table.<br />
there is 1 way to get data from cache database in sqlserver is dns. by this u can extract data.  </p>
]]></content:encoded>
	</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/10 queries in 0.040 seconds using memcached
Object Caching 323/329 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 06:03:16 -->