<?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>Data Analysts, Crystal Reports and Sql Reporting Services Consultants &#187; Sql Server 2005</title>
	<atom:link href="http://datamart.org/category/sql-server-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://datamart.org</link>
	<description>Feel free to ask tough questions relating to Crystal Reports / SQL Reporting Services / SQL  and get answers from Collective intelligence</description>
	<lastBuildDate>Wed, 08 Feb 2012 09:01:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Examples Use string concatenation</title>
		<link>http://datamart.org/2010/09/18/examples-use-string-concatenation/</link>
		<comments>http://datamart.org/2010/09/18/examples-use-string-concatenation/#comments</comments>
		<pubDate>Sun, 19 Sep 2010 00:14:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Sql Server 2005]]></category>
		<category><![CDATA[Sql Server 2008]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=1337</guid>
		<description><![CDATA[Recently I was trying to import datafeeds into the wordpress blog. images on the post and links needs some html tags. I used SQL language string concatenation operator to fill up the missing tags as follows; select  [name], &#8216;&#60;img src=&#8221;&#8216; + &#8221; +IMAGEURL + &#8216;&#8221;&#8216; + &#8216; Detail: &#8216; + [description]+ &#8216;, &#8216;+ &#8216;Price in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://datamart.org/wp-content/uploads/2010/09/query.SQL_view.jpg"><img class="alignnone size-medium wp-image-1338" title="query.SQL_view" src="http://datamart.org/wp-content/uploads/2010/09/query.SQL_view-300x143.jpg" alt="" width="300" height="143" /></a>Recently I was trying to import datafeeds into the wordpress blog. images on the post and links needs some html tags. I used SQL language string concatenation operator to fill up the missing tags as follows;</p>
<p>select  [name], &#8216;&lt;img src=&#8221;&#8216; + &#8221; +IMAGEURL + &#8216;&#8221;&#8216; + &#8216; Detail: &#8216; + [description]+ &#8216;, &#8216;+ &#8216;Price in USD:&#8217;+ &#8216;, &#8216;+ cast(PRICE as CHAR)+ &#8216;, &#8216;+ &#8216;&lt;a href=&#8221;&#8216; + &#8221; +BUYURL +  &#8216;&#8221;&gt;[Read More and Booking information] &lt;/a&gt;&#8217;</p>
<p>,  KEYWORDS from</p>
<p> dbo.['Hotels_com-International_Hotels$']</p>
<p> where KEYWORDS like &#8216;%doha%&#8217; or</p>
<p> KEYWORDS like &#8216;%Manama%&#8217; or</p>
<p> KEYWORDS like &#8216;%Mumbai%&#8217; or</p>
<p> KEYWORDS like &#8216;%Tokyo%&#8217; or</p>
<p> KEYWORDS like &#8216;%Dubai%&#8217; or</p>
<p> KEYWORDS like &#8216;%Dallas%&#8217; or</p>
<p> KEYWORDS like &#8216;%Houston%&#8217; or</p>
<p> KEYWORDS like &#8216;%Chicago%&#8217; or</p>
<p> KEYWORDS like &#8216;%NYC%&#8217;  or</p>
<p> KEYWORDS like &#8216;%toronto%&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2010/09/18/examples-use-string-concatenation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data integrity example</title>
		<link>http://datamart.org/2010/03/18/data-integrity-example/</link>
		<comments>http://datamart.org/2010/03/18/data-integrity-example/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 20:40:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Sql Server 2005]]></category>
		<category><![CDATA[Sql Server 2008]]></category>
		<category><![CDATA[SQL, BI, IT news]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=759</guid>
		<description><![CDATA[An example of a data integrity mechanism is the parent and child relationship of related records. If a parent record owns one or more related child records all of the referential integrity processes are handled by the database itself, which automatically insures the accuracy and integrity of the data so that no child record can [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://datamart.org/wp-content/uploads/2010/03/integrity-triangle-1.jpg"><img src="http://datamart.org/wp-content/uploads/2010/03/integrity-triangle-1.jpg" alt="" title="integrity-triangle-1" width="269" height="243" class="alignnone size-full wp-image-760" /></a></p>
<p>An example of a data integrity mechanism is the parent and child relationship of related records. If a parent record owns one or more related child records all of the referential integrity processes are handled by the database itself, which automatically insures the accuracy and integrity of the data so that no child record can exist without a parent (also called being orphaned) and that no parent loses their child records. It also insures that no parent record can be deleted while the parent record owns any child records. All of this is handled at the database level and does not require coding integrity checks into each application.</p>
<p>source: Wikipedia.org</p>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2010/03/18/data-integrity-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rules and Check constraint</title>
		<link>http://datamart.org/2010/03/07/rules-and-check-constraint/</link>
		<comments>http://datamart.org/2010/03/07/rules-and-check-constraint/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 20:45:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[data analyses]]></category>
		<category><![CDATA[Data Model]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Sql Server 2005]]></category>
		<category><![CDATA[Sql Server 2008]]></category>
		<category><![CDATA[SQL, BI, IT news]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=624</guid>
		<description><![CDATA[Rules are a backward-compatibility feature that perform some of the same functions as CHECK constraints. CHECK constraints are the preferred, standard way to restrict the values in a column. CHECK constraints are also more concise than rules; there can only be one rule applied to a column, but multiple CHECK constraints can be applied. CHECK [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://datamart.org/wp-content/uploads/2010/03/check_cnstrnt.gif"><img src="http://datamart.org/wp-content/uploads/2010/03/check_cnstrnt-240x300.gif" alt="" title="check_cnstrnt" width="240" height="300" class="alignnone size-medium wp-image-640" /></a>Rules are a backward-compatibility feature that perform some of the same functions as CHECK constraints. CHECK constraints are the preferred, standard way to restrict the values in a column. CHECK constraints are also more concise than rules; there can only be one rule applied to a column, but multiple CHECK constraints can be applied. CHECK constraints are specified as part of the CREATE TABLE statement, while rules are created as separate objects and then bound to the column.</p>
<p>This example creates a rule that performs the same function as the CHECK constraint example in the preceding topic. The CHECK constraint is the preferred method to use in Microsoft® SQL Server™ 2000.</p>
<p>CREATE RULE id_chk AS @id BETWEEN 0 and 10000<br />
GO<br />
CREATE TABLE cust_sample<br />
   (<br />
   cust_id            int<br />
   PRIMARY KEY,<br />
   cust_name         char(50),<br />
   cust_address         char(50),<br />
   cust_credit_limit   money,<br />
   )<br />
GO<br />
sp_bindrule id_chk, &#8216;cust_sample.cust_id&#8217;<br />
GO</p>
<p>Sourec: Sql Server 2000 books online</p>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2010/03/07/rules-and-check-constraint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temp table a useful tool in many reports</title>
		<link>http://datamart.org/2009/12/28/temp-table-a-useful-tool-in-many-reports/</link>
		<comments>http://datamart.org/2009/12/28/temp-table-a-useful-tool-in-many-reports/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 15:56:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sql Reporting Services]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Sql Server 2005]]></category>
		<category><![CDATA[Sql Server 2008]]></category>
		<category><![CDATA[Sql Server 2008 Express]]></category>
		<category><![CDATA[Transact-SQL]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=580</guid>
		<description><![CDATA[Reporting the payments received against shipment’s C&#38;F value. In this example our client was facing an  issue where shipments are made  and C&#38;F value amount is taken as Accounts Receivable, payments are received in 2 to 3  installments.  Management wants to know how much is outstanding against each shipment C&#38;F Invoice. In database invoice is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://datamart.org/wp-content/uploads/2009/12/TmpTable1.jpg"><img src="http://datamart.org/wp-content/uploads/2009/12/TmpTable1-300x136.jpg" alt="" title="TmpTable" width="300" height="136" class="alignnone size-medium wp-image-656" /></a>Reporting the payments received against shipment’s C&amp;F value.</p>
<p>In this example our client was facing an  issue where shipments are made  and C&amp;F value amount is taken as Accounts Receivable, payments are received in 2 to 3  installments.  Management wants to know how much is outstanding against each shipment C&amp;F Invoice.</p>
<p>In database invoice is generated on C&amp;F basis where comprehensive information is recorded like invoice no,  Bill of Lading No, C&amp;F Amount, Shipment NO and so on.</p>
<p>When Payments are received it is recorded exportpayments table along with shipment NO.</p>
<p>In order to create a report to what is outstanding against respective invoice we created a SQL Query  using select into Transact-SQL  as follows;</p>
<p>select sn1, sum(amt) as cfvl</p>
<p> into #sd4</p>
<p>from dbo.exportpayments</p>
<p>group by sn1</p>
<p>Select Sn, CFvlu,sn1, cfvl, Cfvlu-cfvl as balance from</p>
<p> dbo.invocesexpressions inner join #sd4 on</p>
<p>dbo.invocesexpressions.sn = #sd4.sn1</p>
<p>drop table #sd4</p>
<p>In the above example we selected Shipment NO SN1 and sum amount Sum(amt) as cfvlu</p>
<p>Into temp table SD4 and then we selected Shipment no SN, CFVLU from invoices table and CFVL from Temp table #SD4 and join Invoices table and #sd4 based on Shipment NO</p>
<p>At the end we dropped thetemp table  #SD4.</p>
<p>This example utilized the temp table for generating outstanding payments report.</p>
<p>Shipmnt              CFVLU          Shpmnt  Amnt RCD       Blnc</p>
<table border="0" cellspacing="0" cellpadding="0" width="326" align="left">
<tbody>
<tr>
<td width="64" valign="bottom">
<p align="right">311</p>
</td>
<td width="70" valign="bottom">
<p align="right">672000</p>
</td>
<td width="64" valign="bottom">
<p align="right">311</p>
</td>
<td width="64" valign="bottom">
<p align="right">672000</p>
</td>
<td width="64" valign="bottom">
<p align="right">0</p>
</td>
</tr>
<tr>
<td width="64" valign="bottom">
<p align="right">315</p>
</td>
<td width="70" valign="bottom">
<p align="right">48950</p>
</td>
<td width="64" valign="bottom">
<p align="right">315</p>
</td>
<td width="64" valign="bottom">
<p align="right">48950</p>
</td>
<td width="64" valign="bottom">
<p align="right">0</p>
</td>
</tr>
<tr>
<td width="64" valign="bottom">
<p align="right">316</p>
</td>
<td width="70" valign="bottom">
<p align="right">62968.75</p>
</td>
<td width="64" valign="bottom">
<p align="right">316</p>
</td>
<td width="64" valign="bottom">
<p align="right">62969</p>
</td>
<td width="64" valign="bottom">
<p align="right">-0.25</p>
</td>
</tr>
<tr>
<td width="64" valign="bottom">
<p align="right">317</p>
</td>
<td width="70" valign="bottom">
<p align="right">43775</p>
</td>
<td width="64" valign="bottom">
<p align="right">317</p>
</td>
<td width="64" valign="bottom">
<p align="right">42819</p>
</td>
<td width="64" valign="bottom">
<p align="right">956</p>
</td>
</tr>
<tr>
<td width="64" valign="bottom">
<p align="right">318</p>
</td>
<td width="70" valign="bottom">
<p align="right">43775</p>
</td>
<td width="64" valign="bottom">
<p align="right">318</p>
</td>
<td width="64" valign="bottom">
<p align="right">43776</p>
</td>
<td width="64" valign="bottom">
<p align="right">-1</p>
</td>
</tr>
<tr>
<td width="64" valign="bottom">
<p align="right">325</p>
</td>
<td width="70" valign="bottom">
<p align="right">48950</p>
</td>
<td width="64" valign="bottom">
<p align="right">325</p>
</td>
<td width="64" valign="bottom">
<p align="right">48950</p>
</td>
<td width="64" valign="bottom">
<p align="right">0</p>
</td>
</tr>
<tr>
<td width="64" valign="bottom">
<p align="right">326</p>
</td>
<td width="70" valign="bottom">
<p align="right">48950</p>
</td>
<td width="64" valign="bottom">
<p align="right">326</p>
</td>
<td width="64" valign="bottom">
<p align="right">48950</p>
</td>
<td width="64" valign="bottom">
<p align="right">0</p>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2009/12/28/temp-table-a-useful-tool-in-many-reports/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Practicality of  Floor function in SQL Server</title>
		<link>http://datamart.org/2009/10/03/practicality-of-floor-function-in-sql-server/</link>
		<comments>http://datamart.org/2009/10/03/practicality-of-floor-function-in-sql-server/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 05:49:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Sql Server 2005]]></category>
		<category><![CDATA[Sql Server 2008]]></category>
		<category><![CDATA[Transact-SQL]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=573</guid>
		<description><![CDATA[We are writing this post to share our experience of usefulness of Floor function. We use the floor function in calculating product manufactured and raw material wastage in the process. The problem was to calculate how many units of a product can be manufactured from certain weight of a raw material. We were getting answer [...]]]></description>
			<content:encoded><![CDATA[<p>We are writing this post to share our experience of usefulness of Floor function. We use the floor function in calculating product manufactured and raw material wastage in the process. The problem was to calculate how many units of a product can be manufactured from certain weight of a raw material. </p>
<p>We were getting answer like 8.67 products manufactured from 50 kgs of raw material. We talked to the manufacturing department they confirmed that 8 no of products are manufactured and 0.67 is the wastage. We calculated the weight of each product and then multiply by 8   which gave us the weight in kgs of 8 no of products.<br />
After that weight of 1 product was multiplied with .67 of product and got the weight of wastage in  kgs.<br />
In the above scenario we needed the decimal value of .67 separated from 8.67 in separate column to show wastage. Our data was in SQL Server, we utilized the floor function to make 8.67 into 8 and then subtracted the 8 from 8.67. The issue was resolved by using floor function.</p>
<p>Below is the related information about Floor function as obtained from SQL Server books Online.</p>
<p>CEILING and FLOOR</p>
<p>The CEILING function returns the smallest integer greater than or equal to the given numeric expression. The FLOOR function returns the largest integer less than or equal to the given numeric expression. For example, given a numeric expression of 12.9273, CEILING returns 13, and FLOOR returns 12. The return value of both FLOOR and CEILING has the same data type as the input numeric expression.</p>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2009/10/03/practicality-of-floor-function-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Correlated subquery</title>
		<link>http://datamart.org/2009/09/20/correlated-subquery/</link>
		<comments>http://datamart.org/2009/09/20/correlated-subquery/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 15:32:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Sql Server 2005]]></category>
		<category><![CDATA[SQL, BI, IT news]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=553</guid>
		<description><![CDATA[Correlated subquery (also known as a repeating subquery) is a subquery where selection criterion of inner query refers to values in the outer query. One of the restriction is that inner query cannot return more than one row matching the outer row; Example; USE pubs SELECT au_lname, au_fname FROM authors WHERE 100 IN (SELECT royaltyper [...]]]></description>
			<content:encoded><![CDATA[<p>Correlated subquery (also known as a repeating subquery) is a  subquery where selection criterion of inner query refers to values in the outer query. One of the restriction is that inner query cannot return more than one row matching the outer row;<br />
Example;<br />
USE pubs<br />
SELECT au_lname, au_fname<br />
FROM authors<br />
WHERE 100 IN<br />
   (SELECT royaltyper<br />
   FROM titleauthor<br />
   WHERE titleauthor.au_ID = authors.au_id)<br />
Here is the result set:<br />
au_lname                                 au_fname<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
White                                    Johnson<br />
Green                                    Marjorie<br />
Carson                                   Cheryl<br />
Straight                                 Dean<br />
Locksley                                 Charlene<br />
Blotchet-Halls                           Reginald<br />
del Castillo                             Innes<br />
Panteley                                 Sylvia<br />
Ringer                                   Albert               </p>
<p>(9 row(s) affected)</p>
<p>Source: Sql Server books online</p>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2009/09/20/correlated-subquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data Mart case study</title>
		<link>http://datamart.org/2009/07/09/data-mart-case-study/</link>
		<comments>http://datamart.org/2009/07/09/data-mart-case-study/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 19:53:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[data analyses]]></category>
		<category><![CDATA[Data Governance]]></category>
		<category><![CDATA[Data mart]]></category>
		<category><![CDATA[Data Mart Examples]]></category>
		<category><![CDATA[Sql Server 2005]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=480</guid>
		<description><![CDATA[This post is about a case study of ASB Bank, a wholly owned subsidiary of Commonwealth Bank of Australia (CBA). ASB built a Basel II risk management data mart on Microsoft® SQL Server™ 2005 Enterprise Edition. Using the new features and technologies in SQL Server 2005, the bank was able to meet the requirements in [...]]]></description>
			<content:encoded><![CDATA[<p>This post is about a case study of ASB Bank, a wholly owned subsidiary of Commonwealth Bank of Australia (CBA). ASB built a Basel II risk management data mart on Microsoft® SQL Server™ 2005 Enterprise Edition. Using the new features and technologies in SQL Server 2005, the bank was able to meet the requirements in less than nine months, ensure the integrity of business processes and data, reduce operational losses, lower funding costs, enhance its existing risk framework, and reduce hands-on management.</p>
<p><a href="http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?CaseStudyID=49227">Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2009/07/09/data-mart-case-study/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data Scrubbing / Cleansing</title>
		<link>http://datamart.org/2009/06/22/data-scrubbing-cleansing/</link>
		<comments>http://datamart.org/2009/06/22/data-scrubbing-cleansing/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 15:22:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Data Transformation]]></category>
		<category><![CDATA[E Reporting Services by EReporting.net]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Sql Server 2005]]></category>
		<category><![CDATA[Sql Server 2008]]></category>
		<category><![CDATA[SQL, BI, IT news]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=402</guid>
		<description><![CDATA[Data scrubbing also called data cleansing, is the process of amending or removing incorrect data in a database. Sometimes data incomplete, improperly formatted like postal code should be in this format &#8220;N9B 1W7&#8243; not in “N9B1W7&#8243;or first name and last name in 1 field, instead separate fields or duplicated. Sometimes zip codes are missing or [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://datamart.org/wp-content/uploads/2009/06/DataCleansing.jpg"><img src="http://datamart.org/wp-content/uploads/2009/06/DataCleansing-300x299.jpg" alt="" title="DataCleansing" width="300" height="299" class="alignnone size-medium wp-image-712" /></a>Data scrubbing also called data cleansing, is the process of amending or removing incorrect data in a database. Sometimes data incomplete, improperly formatted like postal code should be in this format &#8220;N9B 1W7&#8243; not in “N9B1W7&#8243;or first name and last name in 1 field, instead separate fields or duplicated. </p>
<p>Sometimes zip codes are missing or in one case we found data was separated using incorrect SQL functions resulting in erroneous data. Data scrubbing / cleansing a dirty data is always different in different companies. </p>
<p>We have a successfully accomplished various complicated tasks using various tools and SQL language. </p>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2009/06/22/data-scrubbing-cleansing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data Architect &#8211; Overview</title>
		<link>http://datamart.org/2009/06/17/data-architect-overview/</link>
		<comments>http://datamart.org/2009/06/17/data-architect-overview/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 15:34:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Data Governance]]></category>
		<category><![CDATA[Data Model]]></category>
		<category><![CDATA[Data Transformation]]></category>
		<category><![CDATA[Metadata]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Sql Server 2005]]></category>
		<category><![CDATA[Sql Server 2008]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=367</guid>
		<description><![CDATA[Many times in the job descrition a title Data Architect is used. According to DAMA (Data Management Association) , Data Architect is often interchangeable with, but includes enterprise architecture considerations. A DAMA recognized Certified Data Management Professional would have a wide range of such skills. Translating this to Data architecture helps defining the role of [...]]]></description>
			<content:encoded><![CDATA[<p>Many times in the job descrition a title Data Architect is used.  According to DAMA (Data Management Association) , Data Architect is often interchangeable with, but includes enterprise architecture considerations. A DAMA recognized Certified Data Management Professional would have a wide range of such skills.</p>
<p>Translating this to Data architecture helps defining the role of the data architect as the one responsible for developing and maintaining a formal description of the data and data structures &#8211; this can include data definitions, data models, data flow diagrams, etc. (in short metadata). Data architecture includes topics such as metadata management, business semantics, data modeling and metadata workflow management.</p>
<p>Source: WikiPedia</p>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2009/06/17/data-architect-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Derived tables</title>
		<link>http://datamart.org/2009/06/11/using-derived-tables/</link>
		<comments>http://datamart.org/2009/06/11/using-derived-tables/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:32:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[Sql Server 2005]]></category>
		<category><![CDATA[Sql Server 2008]]></category>
		<category><![CDATA[SQL, BI, IT news]]></category>

		<guid isPermaLink="false">http://datamart.org/?p=298</guid>
		<description><![CDATA[In Sql language this is very common to use views instead of tables directly, for example we can create view; View_MarketingEmployees ;  CREATE VIEW View_MarketingEmployees AS   SELECT * FROM Employee   WHERE department = &#8220;marketing&#8221;  GO Then If we wanted to see all of the Employees from Marketing with the First name John, ordered alphabetically, we could [...]]]></description>
			<content:encoded><![CDATA[<p>In Sql language this is very common to use views instead of tables directly, for example we can create view; View_MarketingEmployees ;<br />
 CREATE VIEW View_MarketingEmployees AS<br />
  SELECT * FROM Employee<br />
  WHERE department = &#8220;marketing&#8221;<br />
 GO</p>
<p>Then If we wanted to see all of the Employees from Marketing with the First name John,<br />
ordered alphabetically, we could write:<br />
 SELECT LastName, FirstName<br />
 FROM view_marketingemployees<br />
 WHERE Firstname = &#8220;John&#8221;<br />
 ORDER BY FirstName</p>
<p>We can obtain the same results using derived table as follows;</p>
<p>By using derived tables, we could eliminate the view View_marketingemployees<br />
as follows</p>
<p> SELECT LastName, FirstName<br />
 FROM<br />
  (SELECT * FROM Employees<br />
   WHERE department = &#8220;marketing&#8221;) AS marketing_EmployeesDerivedTable<br />
 WHERE FirstName = &#8220;John&#8221;<br />
 ORDER BY FirstName</p>
]]></content:encoded>
			<wfw:commentRss>http://datamart.org/2009/06/11/using-derived-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

