<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>DBPedias Blog</title><link>http://dbpedias.com/blog/</link><description>A variety of blog posts about databases.</description><language>en-us</language><lastBuildDate>Wed, 22 Feb 2012 16:45:09 -0600</lastBuildDate><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/dbpedias" /><feedburner:info uri="dbpedias" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Getting APEX to play with Ref Cursors</title><link>http://feedproxy.google.com/~r/dbpedias/~3/8TGoj0wK6go/</link><description>&lt;p&gt;It&amp;#x2019;s that time of year again. Things are a bit tense around the house.&lt;br&gt;
The other morning, I woke up to find that someone had placed a leek in my slippers.&lt;br&gt;
Yes it&amp;#x2019;s Six Nations time again. England are playing Wales on Saturday. The lovely Debbie is getting into the spirit of the occasion&amp;#x2026;by exhibiting extreme antagonism to all things English.&lt;/p&gt;
&lt;p&gt;Whilst the patriot in me would like to cheer on the Red Rose on Saturday, I have decided that discretion ( or in this case, cowardice) is the better part of valour and will instead, sit quietly in the corner, hoping for a draw. That way, I&amp;#x2019;ve not sold out completely and next week will be far more pleasant if Wales have not lost.&lt;/p&gt;
&lt;p&gt;For those readers who know Rugby Union as merely another one of those odd games that we English let our former colonies win at, all you need to know is, the Welsh take this sport &lt;em&gt;very&lt;/em&gt; seriously.&lt;/p&gt;
&lt;p&gt;In the meantime, I&amp;#x2019;m trying to keep a low profile, which means playing around with APEX 4.1.&lt;/p&gt;
&lt;p&gt;The heady excitement of discovering the first decent GUI development environment for PL/SQL programmers since Oracle Forms is now starting to be replaced by some of the harsh realities of modern web development.&lt;br&gt;
For example, how can I reuse all those terribly useful functions that return Ref Cursors ?&lt;br&gt;
I mean, they work fine in PHP and various other languages, and APEX itself is &lt;em&gt;written&lt;/em&gt; in PL/SQL. Should be easy, shouldn&amp;#x2019;t it ?&lt;/p&gt;
&lt;p&gt;Er, no.&lt;/p&gt;
&lt;p&gt;APEX simply refuses to play. &amp;#x201C;I laugh in the face of your weakly typed Ref Cursor&amp;#x201D; it seems to say. Clearly, some persuasion is required if I&amp;#x2019;m not to end up with a lot of code locked away in my APEX application, unusable by any other programming language I might want to use to build a web front-end for my database.&lt;br&gt;
The way to an APEX application&amp;#x2019;s heart is, as will become apparent, through Pipelined functions. &lt;span id="more-1276"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;A Simple Example&lt;/h3&gt;
&lt;p&gt;Let&amp;#x2019;s say we have a table called simple. It&amp;#x2019;s created like this :&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
CREATE TABLE simple (
	first_name VARCHAR2(30),
	msg VARCHAR2(50))
/

INSERT INTO simple( first_name, msg) VALUES('MIKE', q'[Oh, it's you]')
/

INSERT INTO simple( first_name, msg) VALUES('DEB', 'Hey gorgeous!')
/

COMMIT
/
&lt;/pre&gt;
&lt;p&gt;We&amp;#x2019;ve also got a function that PHP plays nicely with, which returns a Weakly Typed Ref Cursor :&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
CREATE OR REPLACE FUNCTION get_simple_fn RETURN SYS_REFCURSOR 
IS
	l_ret_rc SYS_REFCURSOR;
BEGIN
	OPEN l_ret_rc FOR
		SELECT first_name, msg FROM simple;
	RETURN l_ret_rc;
END;
/
&lt;/pre&gt;
&lt;p&gt;We want to reuse this function in our APEX application. For this purpose, we need to turn to a technique more usually associated with ETL, the pipelined function.&lt;br&gt;
To do this, we will need some or all of :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a database Object Type&lt;/li&gt;
&lt;li&gt;a database Table Type of the Object type&lt;/li&gt;
&lt;li&gt;a pipelined function to act as a wrapper for the Ref Cursor&lt;/li&gt;
&lt;li&gt;a giant inflatable plastic daffodil&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Deb was looking over my shoulder so I had to add that last item.&lt;/p&gt;
&lt;h3&gt;The Database Types Method&lt;/h3&gt;
&lt;p&gt;Create the Database Object Type&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
CREATE OR REPLACE TYPE simple_typ AS OBJECT (
	first_name VARCHAR2(30),
	msg VARCHAR2(50))
/
&lt;/pre&gt;
&lt;p&gt;And now for the Table of objects type&amp;#x2026;&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
CREATE OR REPLACE TYPE simple_tab_typ IS TABLE OF simple_typ
/
&lt;/pre&gt;
&lt;p&gt;Finally, the pipelined function to act as a wrapper&amp;#x2026;&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
CREATE OR REPLACE FUNCTION simple_pipe_fn( i_cursor SYS_REFCURSOR)
	RETURN simple_tab_typ PIPELINED IS
	l_row simple_typ := simple_typ(NULL, NULL);
BEGIN
	LOOP
		FETCH i_cursor INTO l_row.first_name, l_row.msg;
		EXIT WHEN i_cursor%NOTFOUND;
		PIPE ROW( l_row);
	END LOOP;
	RETURN;
END;
/
&lt;/pre&gt;
&lt;p&gt;So, the Pipelined function takes a REF CURSOR as an argument and returns a value of the table type we&amp;#x2019;ve just created.&lt;/p&gt;
&lt;p&gt;Now we test this little lot from SQL &amp;#x2026;&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
SELECT * 
FROM TABLE(simple_pipe_fn(get_simple_fn)); 

FIRST_NAME MSG 
---------- -------------------- 
MIKE	   Oh, it's you 
DEB	   Hey gorgeous! 

&lt;/pre&gt;
&lt;p&gt;Let&amp;#x2019;s see what APEX makes of all this&amp;#x2026;&lt;/p&gt;
&lt;p&gt;In Application Builder, go to whatever your playground application is and Create Page&lt;br&gt;
I&amp;#x2019;m going for an Interactive Report.&lt;/p&gt;
&lt;p&gt;Page Name is Pipeline Test&lt;br&gt;
Region Name is Simple.&lt;/p&gt;
&lt;p&gt;Now to enter the select statement :&lt;/p&gt;
&lt;div class="wp-caption alignnone" id="attachment_1277"&gt;
&lt;a href="http://mikesmithers.files.wordpress.com/2012/02/report_query.png"&gt;&lt;img alt="" class="size-full wp-image-1277" height="346" src="http://mikesmithers.files.wordpress.com/2012/02/report_query.png?w=450&amp;amp;h=346" title="report_query" width="450"&gt;&lt;/a&gt;&lt;p class="wp-caption-text"&gt;Come on, eat you're Ref Cursors or you'll never grow up to be a proper web technology&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Click through the rest of the creation wizard and then run it &amp;#x2026;&lt;/p&gt;
&lt;div class="wp-caption alignnone" id="attachment_1278"&gt;
&lt;a href="http://mikesmithers.files.wordpress.com/2012/02/report_run.png"&gt;&lt;img alt="" class="size-full wp-image-1278" height="346" src="http://mikesmithers.files.wordpress.com/2012/02/report_run.png?w=450&amp;amp;h=346" title="report_run" width="450"&gt;&lt;/a&gt;&lt;p class="wp-caption-text"&gt;There's a good little declarative development environment.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;OK, not the most elegant report ever, but it does actually work.&lt;/p&gt;
&lt;p&gt;There are one or two things that are a bit unsatisfactory with this approach ( apart from the obvious drawback of having to persuade a PL/SQL development tool to play with a Ref Cursor).&lt;br&gt;
First off, this database type business. Well, it&amp;#x2019;s not exactly robust, is it. If I change the table definition, I&amp;#x2019;ll need to remember to change the object type as well.&lt;/p&gt;
&lt;p&gt;The other minor niggle is, well, there does seem to be quite a bit of type-ing. Ahem.&lt;br&gt;
Moving swiftly on, let&amp;#x2019;s see if we can solve both of these issues in one fell swoop&amp;#x2026;.&lt;/p&gt;
&lt;h3&gt;And now for something completely different&amp;#x2026;&lt;/h3&gt;
&lt;p&gt;Right, we&amp;#x2019;re going to drop those boring fuddy-duddy database types we&amp;#x2019;ve just created and use a PL/SQL package instead.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
DROP TYPE simple_tab_typ 
/ 

Type dropped 

DROP TYPE simple_typ 
/

Type dropped
&lt;/pre&gt;
&lt;p&gt;Now to replace these with a package header :&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
CREATE OR REPLACE PACKAGE pipe_types_pkg AS
	TYPE simple_tab_typ IS TABLE OF simple%ROWTYPE;
END pipe_types_pkg;
/
&lt;/pre&gt;
&lt;br&gt;
As we&amp;#x2019;ve declared this type in a package, we can use an anchored declaration to base it on the table.&lt;br&gt;
If the table structure changes, so will the type.
&lt;p&gt;Finally, we need to change the pipelined function to reference the type we&amp;#x2019;ve declared in the package :&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
CREATE OR REPLACE FUNCTION simple_pipe_fn( i_cursor SYS_REFCURSOR)
	RETURN pipe_types_pkg.simple_tab_typ PIPELINED IS
	l_row simple%ROWTYPE;
BEGIN
	LOOP
		FETCH i_cursor INTO l_row.first_name, l_row.msg;
		EXIT WHEN i_cursor%NOTFOUND;
		PIPE ROW( l_row);
	END LOOP;
	RETURN;
END;
/
&lt;/pre&gt;
&lt;p&gt;If we now test this again &amp;#x2026;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
SQL&amp;gt; SELECT * FROM TABLE(simple_pipe_fn(get_simple_fn)); 

FIRST_NAME MSG 
---------- -------------------- 
MIKE	   Oh, it's you 
DEB	   Hey gorgeous! 

SQL&amp;gt; 
&lt;/pre&gt;
&lt;p&gt;It must be said that, even though we haven&amp;#x2019;t explicitly created a database type , Oracle has taken matters into it&amp;#x2019;s own hands&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
SELECT object_name, object_type 
FROM user_objects 
WHERE TRUNC(created) = TRUNC(SYSDATE)
/
SYS_PLSQL_27148_21_1	       TYPE 
SYS_PLSQL_27148_DUMMY_1        TYPE 
SYS_PLSQL_27158_9_1	       TYPE 
SYS_PLSQL_27158_DUMMY_1        TYPE 
PIPE_TYPES_PKG		       PACKAGE 
SIMPLE_PIPE_FN		       FUNCTION 
GET_SIMPLE_FN		       FUNCTION 
SIMPLE			       TABLE 
&lt;/pre&gt;
&lt;p&gt;Hmmm, not sure why it&amp;#x2019;s felt the need to define four types on my behalf.&lt;br&gt;
On the plus side, we can leave the database to look after it&amp;#x2019;s own types. Ours is all future-proofed and low maintenance.&lt;/p&gt;
&lt;p&gt;Of course, you have the option of declaring all of your required types in a single package header, or leaving them in the packages in which your Ref Cursor functions reside.&lt;/p&gt;
&lt;p&gt;To prove a point, let&amp;#x2019;s see what happens if we make a change to the simple table :&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
ALTER TABLE simple MODIFY (
    msg VARCHAR2(100))
/
&lt;/pre&gt;
&lt;p&gt;Let&amp;#x2019;s see how our package version of the code copes :&lt;br&gt;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;
SELECT * 
FROM TABLE( simple_pipe_fn( get_simple_fn)) 
/ 

FIRST_NAME MSG 
---------- -------------------- 
MIKE	   Oh, it's you 
DEB	   Hey gorgeous! 

SQL&amp;gt; 
&lt;/pre&gt;
&lt;p&gt;Running the report in APEX shows a similar lack of concern for the change in the table structure.&lt;/p&gt;
&lt;p&gt;Whilst all this does mean that you have to create an API for the web API you&amp;#x2019;ve already got, it does mean that you can re-use the code in APEX.&lt;/p&gt;
&lt;p&gt;Deb has just wandered by humming &amp;#x201C;Land of My Fathers&amp;#x201D; which I will take as my queue to run away and hide in the cupboard under the stairs for a bit.&lt;/p&gt;
&lt;br&gt;Filed under: &lt;a href="http://mikesmithers.wordpress.com/category/oracle/"&gt;Oracle&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/category/oradbpedia-syndication/"&gt;OraDBPedia Syndication&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/category/plsql/"&gt;PL/SQL&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/category/sql/"&gt;SQL&lt;/a&gt; Tagged: &lt;a href="http://mikesmithers.wordpress.com/tag/apex-4-1/"&gt;apex 4.1&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/tag/create-type/"&gt;create type&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/tag/create-type-as-object/"&gt;create type as object&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/tag/create-type-is-table-of/"&gt;create type is table of&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/tag/pipelined-functions/"&gt;pipelined functions&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/tag/ref-cursor/"&gt;REF CURSOR&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/tag/sys_refcursor/"&gt;sys_refcursor&lt;/a&gt;, &lt;a href="http://mikesmithers.wordpress.com/tag/weakly-typed-ref-cursor/"&gt;weakly typed ref cursor&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gocomments/mikesmithers.wordpress.com/1276/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikesmithers.wordpress.com/1276/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/mikesmithers.wordpress.com/1276/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikesmithers.wordpress.com/1276/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/mikesmithers.wordpress.com/1276/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikesmithers.wordpress.com/1276/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/mikesmithers.wordpress.com/1276/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikesmithers.wordpress.com/1276/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/mikesmithers.wordpress.com/1276/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikesmithers.wordpress.com/1276/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/mikesmithers.wordpress.com/1276/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikesmithers.wordpress.com/1276/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/mikesmithers.wordpress.com/1276/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikesmithers.wordpress.com/1276/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=mikesmithers.wordpress.com&amp;amp;blog=7683929&amp;amp;post=1276&amp;amp;subd=mikesmithers&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/8TGoj0wK6go" height="1" width="1"/&gt;</description><pubDate>Wed, 22 Feb 2012 16:45:09 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/smithers/getting-apex-to-play-with-ref-cursors/</guid><feedburner:origLink>http://dbpedias.com/blogs/smithers/getting-apex-to-play-with-ref-cursors/</feedburner:origLink></item><item><title>Database Mirroring Failover Considerations</title><link>http://feedproxy.google.com/~r/dbpedias/~3/d7ZVCd14Za8/</link><description>&lt;p&gt;
&amp;#xA0;&lt;/p&gt;
&lt;p&gt;Database mirroring is a great option for many disaster scenarios. If using a witness server automated failovers can be achieved.&amp;#xA0; However, just like any other disaster recovery solution database mirroring should be tested.&amp;#xA0; Before you execute your first test of failing over a database from one server to another you may want to take into consideration a few different items.
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;User Accounts&lt;/strong&gt;
	&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Problem&lt;/em&gt; &amp;#x2013; When a new SQL Server login is created on a server, a row is added to a system table in the master database.&amp;#xA0; The Unique Identifier on that row of data is called the SID.&amp;#xA0; The SID is unique based on the account and the server&amp;#xA0;on which&amp;#xA0;the login is created.&amp;#xA0;
&lt;/p&gt;
&lt;p&gt;When a login is then added to a database as a user, and the user is granted permissions to work with data inside a database, those permissions are added to the individual databases. Logins are related to the server while users are related to the database.&amp;#xA0; The relationship between the login and the user are based on the SID.
&lt;/p&gt;
&lt;p&gt;When a database mirror becomes the Principal on a different server, the users that are in that database remain due to the user account information being stored in the user database.&amp;#xA0; The relationship from the User in the database to the Login on the server is broken. This is referred to as an orphaned user.&amp;#xA0;
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Solution- &lt;/em&gt;There are a couple ways of correcting orphaned user.&amp;#xA0; One &lt;a href="http://msdn.microsoft.com/en-us/library/ms175475.aspx" target="_blank"&gt;method&lt;/a&gt; is to correct an orphaned user using the sp_change_users_login stored procedure.&amp;#xA0; I don&amp;#x2019;t use this method because it requires either additional activity on your side by either running that procedure manually or via SQL Server Agent job and, depending on how you have it configured, may take some time before those accounts can log on to the database.&amp;#xA0;
&lt;/p&gt;
&lt;p&gt;The solution I choose to use is by creating all the user accounts on the mirror with the same SID as they have on the Principal.&amp;#xA0; By having the same Login SID on both the mirror and the Principal, the accounts relationship remains.&amp;#xA0; To create a new login by declaring the SID use the &lt;a href="http://msdn.microsoft.com/en-us/library/ms189751.aspx" target="_blank"&gt;Create Login&lt;/a&gt; statement.&amp;#xA0;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SQL Server Agent Jobs &lt;/strong&gt;
	&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Problem&lt;/em&gt; &amp;#x2013; Many servers have jobs that reach into databases to manipulate data, or have automated backups that are scheduled via the SQL Server Agent Service.&amp;#xA0; On mirrored versions of the database not marked as being online, these jobs will fail if that is not taken into consideration.&amp;#xA0; Some may consider just adding the job to the server and letting it run and fail and when the mirror becomes the Principal, the jobs will already be scheduled and ready when the next execution time comes around.&amp;#xA0; (I am not a big fan of this, if for&amp;#xA0;nothing else because I monitor for failed jobs and a false positive will eventually be ignored so when the job is needed to run and fails the notification may be missed.)
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Solution&lt;/em&gt; &amp;#x2013; Kevin Cox and Glenn Berry, two SQL Server Professionals that I respect a lot posted a &lt;a href="http://blogs.msdn.com/b/sqlcat/archive/2010/04/01/using-sql-agent-job-categories-to-automate-sql-agent-job-enabling-with-database-mirroring.aspx" target="_blank"&gt;solution&lt;/a&gt; on the SQL Cat site that solves this issue.&amp;#xA0; In short&amp;#x2026;&amp;#xA0; Add a category of jobs to your server that you can assign all your jobs to.&amp;#xA0; Once your database status changes the jobs can be enabled.&amp;#xA0;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Indexing&lt;/strong&gt;
	&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Problem&lt;/em&gt; &amp;#x2013; Running a reindex on a database that is mirrored can create a number of transactions that need to be propagated over to the mirror.&amp;#xA0; On servers that are located in different physical environments, an additional load can be placed on the bandwidth, and the server that is the mirrored.
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Solution&lt;/em&gt; &amp;#x2013; It is important to know the impact of database mirroring on your database and the servers that are hosting those databases.&amp;#xA0; In the situation that I am thinking about the mirror server did not have the same hardware as the Principal server. This meant that indexing was a bigger load on the mirror than it was the Principal.&amp;#xA0;
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;One of the solution options is to make sure that only the indexes which need to be reindexed are reindexed&lt;/em&gt;.&amp;#xA0; This can be done by checking the fragmentation before issuing the index statements.&lt;/p&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/chrisshaw.wordpress.com/771/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/chrisshaw.wordpress.com/771/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/chrisshaw.wordpress.com/771/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/chrisshaw.wordpress.com/771/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/chrisshaw.wordpress.com/771/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/chrisshaw.wordpress.com/771/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/chrisshaw.wordpress.com/771/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/chrisshaw.wordpress.com/771/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/chrisshaw.wordpress.com/771/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/chrisshaw.wordpress.com/771/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/chrisshaw.wordpress.com/771/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/chrisshaw.wordpress.com/771/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/chrisshaw.wordpress.com/771/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/chrisshaw.wordpress.com/771/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=chrisshaw.wordpress.com&amp;amp;blog=3127866&amp;amp;post=771&amp;amp;subd=chrisshaw&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?a=4oCnEMKaUZs:-rs-mdoYYYA:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?a=4oCnEMKaUZs:-rs-mdoYYYA:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?i=4oCnEMKaUZs:-rs-mdoYYYA:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?a=4oCnEMKaUZs:-rs-mdoYYYA:qj6IDK7rITs"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/ChrisShawsWeblogSqlserverpediaSyndication?d=qj6IDK7rITs"&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/d7ZVCd14Za8" height="1" width="1"/&gt;</description><pubDate>Wed, 22 Feb 2012 11:33:44 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/chris-shaws-weblog-sqlserverpedia-syndication/database-mirroring-failover-considerations/</guid><feedburner:origLink>http://dbpedias.com/blogs/chris-shaws-weblog-sqlserverpedia-syndication/database-mirroring-failover-considerations/</feedburner:origLink></item><item><title>2012 MVP Summit Preview</title><link>http://feedproxy.google.com/~r/dbpedias/~3/3P8JJOpLyco/</link><description>&lt;p&gt;&lt;a href="http://thomaslarock.com/2010/02/2010-mvp-summit-preview/mvp_fight_club/" rel="attachment wp-att-3662"&gt;&lt;img alt="" class=" wp-image-3662  alignleft" height="270" src="http://thomaslarock.com/wp-content/uploads/2010/02/mvp_fight_club1-238x300.jpg?9d7bd4" title="mvp_fight_club" width="214"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Next week I will be attending the &lt;a href="http://www.2012mvpsummit.com/" target="_blank"&gt;2012 Microsoft MVP Summit&lt;/a&gt;. This will be my third Summit but it feels like my first because there are going to be a lot of new faces there for the first time. That&amp;#x2019;s why I wanted to take the time to remind everyone that&amp;#xA0;the MVP Summit is essentially like &lt;em&gt;&lt;a href="http://www.imdb.com/title/tt0137523/" target="_blank"&gt;Fight Club&lt;/a&gt;&lt;/em&gt;, but with less soap.&lt;/p&gt;
&lt;p&gt;Not only is the MVP Summit crowded in secrecy, but so is the process that Microsoft uses to even select someone as an MVP. Oh sure, they &lt;a href="http://mvp.support.microsoft.com/gp/mvpbecoming" target="_blank"&gt;list some details on their website&lt;/a&gt; but the process itself is rather a mystery even to those of us in the program. Many days I find myself channeling my &lt;a href="http://quoteinvestigator.com/2011/04/18/groucho-resigns/" target="_blank"&gt;inner Groucho Marx&lt;/a&gt; as I wonder why I am so lucky to be able to mingle with so many great people. The bottom line is this: no one can tell you what it takes to be an MVP.&lt;/p&gt;
&lt;p&gt;Everything about the MVP program, especially the Summit, is clouded in secrecy just like the club started by Tyler Durden. In fact, let&amp;#x2019;s look at some of the rules for the MVP Summit that were emailed to me earlier this week:&lt;/p&gt;
&lt;h3&gt;Rules of MVP Summit&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;You do not talk about the MVP Summit.&lt;/li&gt;
&lt;li&gt;You do not talk about the MVP Summit.&lt;/li&gt;
&lt;li&gt;When someone yells &amp;#x201C;JAVA&amp;#x201D; or goes limp, or taps out, the session is over.&lt;/li&gt;
&lt;li&gt;Only two MVP&amp;#x2019;s to a hotel room.&lt;/li&gt;
&lt;li&gt;One session at a time.&lt;/li&gt;
&lt;li&gt;No Twitter, no Twitpic, and no G+.&lt;/li&gt;
&lt;li&gt;Sidebars go on as long as they have to.&lt;/li&gt;
&lt;li&gt;If this is your first time at the MVP Summit, you have to try the salmon.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After reading those rules it just seemed like a natural fit. Let&amp;#x2019;s get to the preview!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;The first rule of Fight Club is: you do not talk about Fight Club. The second rule of Fight Club is: you DO NOT talk about Fight Club!&amp;#x201D;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Attendees at the MVP Summit are under a strict non-disclosure agreement with regards to the materials they will be shown during the sessions. The NDA we sign covers us at all times throughout the year; not just the Summit. You may not know it but people are asked to leave the MVP program periodically for violating their NDA. Wait&amp;#x2026;I wonder if I just violated my NDA by telling you about how others have violated their NDA? Oh, the irony.&lt;/p&gt;
&lt;p&gt;The bottom line here is that we are asked to provide feedback on features and products that have not gone to market yet. Discussing these items is not really an option for those that wish the remain in the program.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;You wake up at Seatac, SFO, LAX. You wake up at O&amp;#x2019;Hare, Dallas-Fort Worth, BWI. Pacific, mountain, central. Lose an hour, gain an hour. This is your life, and it&amp;#x2019;s ending one minute at a time. You wake up at Air Harbor International. If you wake up at a different time, in a different place, could you wake up as a different person?&lt;/strong&gt;&lt;strong&gt;&amp;#x201C;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This quote covers a couple of things. It gives a glimpse into the grind that is travel. Fortunately I do not travel as frequently as Tyler did, but even when I do travel things can be difficult. Just being away from the family these days gets harder and harder. This quote also touches upon how fleeting our lives are, ending one minute at a time. In this case, my current MVP status is ending one minute at a time. I am up for renewal in April which means if I don&amp;#x2019;t get renewed then I may not get another chance to attend a Summit. So for me it is a no-brainer to attend.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;You had to give it to him: he had a plan. And it started to make sense, in a Tyler sort of way. No fear. No distractions. The ability to let that which does not matter truly slide.&amp;#x201D;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The whole point for the Summit is for Microsoft to get feedback from the most active members of their communities. Now, think about what it must be like to be in Microsoft&amp;#x2019;s shoes. A year ago, some member of the SQL development team was given an assignment. They have been working on something for months. They slaved to get some feature put into SQL 2012 that will be shown to us during a session. And when we see it we will likely be underwhelmed, or critical of the implementation chosen. Some of us try to be polite about our feelings; others are a bit more&amp;#x2026;direct in their approach.&lt;/p&gt;
&lt;p&gt;People and companies that build software have this ability about them to take suggestions or criticisms, shrug off the ones that do not matter, and instead focus on the ones they recognize as important&lt;strong&gt;.&amp;#xA0;&lt;/strong&gt;And the good companies do that very well.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;In that case, sir, may I advise against the lady eating clam chowder?&amp;#x201D;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I have heard a lot about the&amp;#xA0;&lt;a href="http://blogs.msdn.com/mvpglobalsummit/archive/2009/02/19/summit-menus-will-we-have-salmon-every-day.aspx"&gt;food at the Summit&lt;/a&gt;, and last year I was also able to&amp;#xA0;&lt;a href="http://www.thomaslarock.com/2009/03/mvp-summit-update/" target="_blank"&gt;read about it on Twitter&lt;/a&gt;. I have &lt;a href="http://www.2012mvpsummit.com/FAQ#Meals" target="_blank"&gt;no idea what is on the menu this year&lt;/a&gt;, but I am looking forward to breaking bread and bacon with some good friends&lt;strong&gt;&amp;#xA0;&lt;/strong&gt;for a few days.&lt;strong&gt;&lt;br&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;He was full of pep. Must&amp;#x2019;ve had his grande-latte enema.&amp;#x201D;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The MVP Summit is technically not in Seattle, but it is certainly close enough (Bellevue) for us to have a reference to coffee somehow. I have no idea at what point if and when they will be offering enemas at this years Summit, as I didn&amp;#x2019;t see that on my schedule builder. It may just be a service offered at the Hyatt for their Platinum members.&amp;#xA0;&lt;strong&gt;&lt;br&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;Can I get the icon in cornflower blue?&amp;#x201D;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This quote is for the inane requests that all software companies can receive. I have seen and heard the crazy requests that the product team is given during the Summit. I would get them all the time as a DBA. My personal favorite was the time I was asked to increase the size of the data page for one database and to &amp;#x201C;let them know when it is complete&amp;#x201D; (not if it was possible, just when I finished getting it done). The point here is that people are going to ask for some crazy things, as well as for things that have no functional purpose whatsoever. Having icons in certain colors really doesn&amp;#x2019;t matter.&amp;#xA0;&lt;a href="http://thomaslarock.com/2009/08/policy-based-management-podcast-part-2/"&gt;Being forced to see the blue-on-blue in PBM does matter, but there may be little to nothing that will be done about it&lt;/a&gt;.&amp;#xA0;But, hey, we are&amp;#xA0;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/481566/policy-evaluation-screen-is-difficult-to-read"&gt;there to provide feedback&lt;/a&gt;, right?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;Uh, well&amp;#x2026; You&amp;#x2019;re not gonna believe this&amp;#x2026;&amp;#x201D;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Besides feedback the product and development teams get a lot of support requests in the form of sidebars. I know that I do not think twice about asking for help with anything &amp;#x201C;strange&amp;#x201D; that I have been seeing. I have seen times where someone is asking for feedback during a session and someone raises their hand and starts in with a &amp;#x201C;why are you wasting your time with this as opposed to fixing this other thing?&amp;#x201D; Or, it could be the case where we are sharing a meal and we find out that we are talking with someone who works on the product team and we start in with a &amp;#x201C;you won&amp;#x2019;t believe the stuff I have seen in my shop.&amp;#x201D; Microsoft is looking for feedback from real world scenarios, and I am always happy to oblige where I can.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;Without pain, without sacrifice, we would have nothing.&amp;#x201D;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This quote is perfect for recognizing the effort given by a lot of different people. The amount of effort that the product and development teams put into their work is nothing short of amazing. It takes a lot of hard work, a lot of effort, and a lot of coordination in order to get things done, specifically for shipping a product as complex as SQL Server. And it also warrants mentioning the event itself. Putting on the Summit requires a great deal of effort as well, and should be recognized.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;Would you like to say a few words to mark the occasion?&amp;#x201D;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I am arriving late in the afternoon on Monday and leaving Friday afternoon. I live on the East Coast and getting home from Seattle makes for a long day (or a long day and night). I try to time my arrival and departure as best as possible to attend sessions and every year it seems as if extra sessions are added to the agenda after I have already booked my travel. It&amp;#x2019;s frustrating but I can&amp;#x2019;t complain because just being invited to the MVP Summit is like winning the lottery and I would have to be an idiot to complain about not being able to have everything work in my favor.&lt;/p&gt;
&lt;p&gt;I did notice that there isn&amp;#x2019;t a keynote on the agenda for this year. I&amp;#x2019;m not sure why that is the case, and perhaps one has been added recently.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;#x201C;What do you do for a living? Why? So you can pretend like you&amp;#x2019;re interested?&amp;#x201D;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This quote speaks directly to the networking aspect of the MVP Summit. I have no idea how many MVP&amp;#x2019;s there are in the world, but I do know that MVP&amp;#x2019;s exist for just about everything. xBox, Zune, OpsMgr, SQL, and even Visio have people recognize as MVP&amp;#x2019;s. That means I am going to have the opportunity to meet a lot of new people outside of SQL Community in addition to the people inside the SQL team itself. If you are reading this and heading to the MVP Summit, track me down and say hello, I would love to meet as many new people as possible.&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;And if you are every uncertain about something, or need some direction in life, you can always stop and ponder the question: &amp;#x201C;&lt;a href="http://en.wikipedia.org/wiki/What_Would_Tyler_Durden_Do"&gt;What would Tyler Durden do&lt;/a&gt;?&amp;#x201D;&lt;/p&gt;
&lt;div id="_mcePaste"&gt;Can I get the icon in cornflower blue?&lt;/div&gt;
&lt;div class="zemanta-pixie"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=aaf014d7-065f-426f-b858-dd8fe406c7d9"&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;a href="http://thomaslarock.com/2012/02/2012-mvp-summit-preview/"&gt;2012 MVP Summit Preview&lt;/a&gt; is a post from: &lt;a href="http://thomaslarock.com"&gt;SQLRockstar | Thomas LaRock&lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Join Denny Cherry (&lt;a href="http://www.twitter.com/mrdenny"&gt;@mrdenny&lt;/a&gt;) and me for two days of SQL instruction, training, and wine tasting in the California sunshine &lt;a href="http://sqlexcursions.com/napa-2011-sign-up"&gt;this May for $799&lt;/a&gt;.
&lt;p&gt;&lt;/p&gt;

&lt;div class="shr-publisher-7715"&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/3P8JJOpLyco" height="1" width="1"/&gt;</description><pubDate>Wed, 22 Feb 2012 10:35:18 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/thomas-larock/2012-mvp-summit-preview/</guid><feedburner:origLink>http://dbpedias.com/blogs/thomas-larock/2012-mvp-summit-preview/</feedburner:origLink></item><item><title>Want Another Reason to Hate iTunes?</title><link>http://feedproxy.google.com/~r/dbpedias/~3/1BKmejk3Cec/</link><description>&lt;p&gt;I&amp;#x2019;m not one to whine.&amp;#xA0; Really.&amp;#xA0; I&amp;#x2019;m totally &lt;strong&gt;not &lt;/strong&gt;a whiner.&amp;#xA0; However, I&amp;#x2019;m going to sound like one with this statement&amp;#x2026;&lt;/p&gt;
&lt;h2&gt;&lt;em&gt;I fricken &lt;span&gt;HATE&lt;/span&gt; iTunes.&lt;/em&gt;&lt;/h2&gt;
&lt;p&gt;There, I said it.&amp;#xA0; I&amp;#x2019;m already starting to feel better.&lt;/p&gt;
&lt;p&gt;Playing on &lt;a href="http://www3.amherst.edu/~rjyanco94/literature/elizabethbarrettbrowning/poems/sonnetsfromtheportuguese/howdoilovetheeletmecounttheways.html" title="Elisabeth Barrett Browning poem"&gt;Elisebeth Barrett Browning and her fantastic poem, &amp;#x201C;How do I love thee? Let me count the ways.&amp;#x201D;&lt;/a&gt;, I&amp;#x2019;m going to count some ways that iTunes is filling me with inhuman, Hulk-like&amp;#xA0;rage:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://kevinekline.com/wp-content/uploads/2012/02/my-disks.jpg"&gt;&lt;img alt="" class="alignright size-medium wp-image-1881" height="300" src="http://kevinekline.com/wp-content/uploads/2012/02/my-disks-217x300.jpg" title="my disks" width="217"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Ridiculously frequent updates&lt;/strong&gt;. Not the &amp;#x201C;Update Tuesday&amp;#x201D; sort of thing we get from Microsoft, but the &amp;#x201C;I&amp;#x2019;m going to interrupt you all the time, any time sort of upda&amp;#x2026;&amp;#x201D; &amp;#x2013; hold on, iTunes wants me to update it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Genius&lt;/strong&gt;. You&amp;#x2019;re an idiot.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shuffle&lt;/strong&gt;. You don&amp;#x2019;t.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Home Sharing&lt;/strong&gt;.&amp;#xA0;If by &amp;#x201C;sharing&amp;#x201D;, you mean making it impossible to get music onto other devices without copying and moving it manually, you&amp;#x2019;re perfect.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Relentless Focus on Making a Buck&lt;/strong&gt;.&amp;#xA0; Yeah, I know that Apple is the biggest capitalized company since the Iron Age and that they had a better Q4 in 2011 than the rest of humanity combined.&amp;#xA0; But couldn&amp;#x2019;t you give it a rest for plain ol&amp;#x2019; music, especially if you&amp;#x2019;re a user who still uses CDs?&amp;#xA0; It seems like they&amp;#x2019;d monetize punctuation marks if they had the opportunity, for Pete&amp;#x2019;s sake!&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Duplicate Songs in Library&lt;/strong&gt;. Take a few minutes and Google on &amp;#x2018;Remove duplicates from iTunes library&amp;#x2019;. (&lt;a href="http://www.lmgtfy.com/?q=remove+duplicate+itunes" title="LMGTFY, if you're feeling snarky"&gt;See it on Let Me Google That for You&lt;/a&gt;). People are about to grab torches and pitchforks on this one. &lt;em&gt;&lt;strong&gt;WHY ISN&amp;#x2019;T THIS BUILT IN?!?&amp;#xA0; WHY DOESN&amp;#x2019;T THE TOOL HANDLE THIS?!!!?&amp;#xA0; Someone please make an app for this!&lt;/strong&gt;&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Duplicate Songs on Disk&lt;/strong&gt;. So my last disk backup took a lot longer than usual.&amp;#xA0; Hmmm, I wonder why? So I looked at my backup info and saw this (image).&amp;#xA0; Just in case you don&amp;#x2019;t see what I saw &amp;#x2013; 70.3 GB of hard disk sucked down for music.&amp;#xA0; Keep in mind that I actually have only about 6 GB of music files.&amp;#xA0; So, in the vernacular, W-T-F?!?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I&amp;#x2019;m now going to spend hours of precious time burning down iTunes and rebuilding my library.&amp;#xA0; And I must&amp;#x2019;ve already done this two or three times in the past few years already.&amp;#xA0; Look, Apple, I don&amp;#x2019;t fricken need this.&amp;#xA0; I need troublefree music that doesn&amp;#x2019;t require an IT certificate to manage.&amp;#xA0; Didn&amp;#x2019;t Apple used to be the company where everything was slap-your-mammy easy?&amp;#xA0; Well, it ain&amp;#x2019;t so now.&amp;#xA0; And it&amp;#x2019;s pissin&amp;#x2019; me off.&lt;/p&gt;
&lt;p&gt;I&amp;#x2019;m sure that there are other things about this product that makes your blood boil.&amp;#xA0; Lay it on me!&amp;#xA0; I want to hear your rant!&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;
&lt;p&gt;-Kev&lt;/p&gt;
&lt;p&gt;&lt;a href="http://twitter.com/kekline" title="C'mon, you know you want to!"&gt;-Follow me on Twitter!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#xA0;&lt;/p&gt;
&lt;p&gt;&amp;#xA0;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/1BKmejk3Cec" height="1" width="1"/&gt;</description><pubDate>Wed, 22 Feb 2012 10:13:39 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/kevin-kline/want-another-reason-to-hate-itunes/</guid><feedburner:origLink>http://dbpedias.com/blogs/kevin-kline/want-another-reason-to-hate-itunes/</feedburner:origLink></item><item><title>SQL Server 2012 (“Denali”): FileTable</title><link>http://feedproxy.google.com/~r/dbpedias/~3/BBBYCwK2DIg/</link><description>&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff929144(v=sql.110).aspx"&gt;FileTable&lt;/a&gt; is a new feature in SQL Server 2012 that is built on top of SQL Server &lt;a href="http://technet.microsoft.com/en-us/library/bb933993.aspx"&gt;FILESTREAM&lt;/a&gt; technology, which allows BLOB data to be stored as individual files separate from a database&amp;#x2019;s data files. &amp;#xA0;Interactions with the FileStream files took place only through T-SQL or through code which engaged with OpenSqlFileStream API.&lt;/p&gt;
&lt;p&gt;FileTable goes one step further in adding support for the Windows file namespace and compatibility with Windows applications to the file data stored in SQL Server, accessing the files as if they were stored in the file system. &amp;#xA0;It also&amp;#xA0;employs a familiar, hierarchical folder structure, and includes the storage of file attributes, such as created date and modified date.&lt;/p&gt;
&lt;p&gt;FileTable lets an application integrate its storage and data management components, and provides integrated SQL Server services &amp;#x2013; including full-text search and semantic search &amp;#x2013; over unstructured data and metadata.&lt;/p&gt;
&lt;p&gt;More info:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/b/andrew/archive/2011/08/31/beyond-relational-installing-sql-server-filetable.aspx"&gt;Beyond Relational &amp;#x2013; Installing SQL Server FileTable&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://simranjindal.wordpress.com/2011/08/30/denali-ctp-3-how-to-set-up-the-filetable-and-access-the-unstructured-data-from-sql-server/"&gt;Denali CTP 3 &amp;#x2013; How to Set Up the FileTable and access the unstructured data from SQL Server&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/data_otaku/archive/2011/09/20/creating-your-first-filetable-in-sql-server-denali-ctp3.aspx"&gt;Creating Your First FileTable in SQL Server Denali CTP3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sqlskills.com/BLOGS/BOBB/post/SQL-Server-2012-FileTables-in-T-SQL-part-1-functions-and-methods.aspx"&gt;SQL Server 2012 FileTables in T-SQL part 1: functions and methods&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sqlskills.com/BLOGS/BOBB/post/SQL-Server-2012-FileTables-in-T-SQL-part-2-new-rows.aspx"&gt;SQL Server 2012 FileTables in T-SQL part 2: new rows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.geniiius.com/blog/sql-server-2012-filetable-part-1/"&gt;SQL Server 2012 FileTable &amp;#x2013; Part 1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.geniiius.com/blog/sql-server-2012-filetable-part-2/"&gt;SQL Server 2012 FileTable &amp;#x2013; Part 2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Video&amp;#xA0;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI316"&gt;Microsoft SQL Server Beyond Relational Landscape: Current and Future&lt;/a&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=niX8E2Jjpj8:o0DCIzVx060:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=niX8E2Jjpj8:o0DCIzVx060:D7DqB2pKExk"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=niX8E2Jjpj8:o0DCIzVx060:D7DqB2pKExk"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=niX8E2Jjpj8:o0DCIzVx060:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=niX8E2Jjpj8:o0DCIzVx060:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=niX8E2Jjpj8:o0DCIzVx060:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=niX8E2Jjpj8:o0DCIzVx060:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=niX8E2Jjpj8:o0DCIzVx060:qj6IDK7rITs"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=qj6IDK7rITs"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=niX8E2Jjpj8:o0DCIzVx060:3QFJfmc7Om4"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=niX8E2Jjpj8:o0DCIzVx060:3QFJfmc7Om4"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=niX8E2Jjpj8:o0DCIzVx060:I9og5sOYxJI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=I9og5sOYxJI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=niX8E2Jjpj8:o0DCIzVx060:-BTjWOF_DHI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=niX8E2Jjpj8:o0DCIzVx060:-BTjWOF_DHI"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/JamesSerraSSPedia/~4/niX8E2Jjpj8" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/BBBYCwK2DIg" height="1" width="1"/&gt;</description><pubDate>Wed, 22 Feb 2012 10:00:47 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/james-serras-blog-sqlserverpedia-syndication/sql-server-2012-denali-filetable/</guid><feedburner:origLink>http://dbpedias.com/blogs/james-serras-blog-sqlserverpedia-syndication/sql-server-2012-denali-filetable/</feedburner:origLink></item><item><title>SQL SERVER – T-SQL Constructs – Declaration and Initialization – SQL in Sixty Seconds #003 – Video</title><link>http://feedproxy.google.com/~r/dbpedias/~3/7H2INnTOd_4/</link><description>&lt;p&gt;&lt;img alt="" class="alignleft" height="108" src="http://www.pinaldave.com/bimg/60.jpg" width="153"&gt;&lt;/p&gt;
&lt;p&gt;We got tremendous response to our very first video of &lt;a href="http://blog.sqlauthority.com/2012/02/08/sql-server-convert-subquery-to-cte-sql-in-sixty-seconds-001-video/" target="_blank"&gt;SQL in Sixty Seconds #001&lt;/a&gt;&amp;#xA0;and&amp;#xA0;&lt;a href="http://blog.sqlauthority.com/2012/02/15/sql-server-t-sql-errors-and-reactions-sql-in-sixty-seconds-002-video/" target="_blank"&gt;SQL in Sixty Seconds #002&lt;/a&gt;. We talked about how to convert Subquery to CTE and Error and Reaction. My co-authors &lt;a href="http://blogs.extremeexperts.com/" target="_blank"&gt;Vinod Kumar&lt;/a&gt; and &lt;a href="http://joes2pros.com/" target="_blank"&gt;Rick Morelan&lt;/a&gt;, we often came across very interesting and useful tips which we believe would be helpful to readers.&lt;/p&gt;
&lt;p&gt;In today&amp;#x2019;s SQL in Sixty Seconds Vinod Kumar has presented very visual reach concept of SQL Server.&amp;#xA0;T-SQL has many enhancements which are less explored. In this quick video we learn how T-SQL Constructions works. We will explore Declaration and Initialization of T-SQL Constructions. We can indeed improve our efficiency using this kind of simple tricks. I strongly suggest that all of us should keep this kind of tricks in our toolbox.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://blog.sqlauthority.com/2012/02/22/sql-server-t-sql-constructs-declaration-and-initialization-sql-in-sixty-seconds-003-video/"&gt;&lt;img alt="" src="http://img.youtube.com/vi/mRpNqi__7y0/2.jpg"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;More on Errors:&lt;br&gt;&lt;/strong&gt;&lt;a href="http://blog.sqlauthority.com/2011/03/18/sql-server-2008-2011-declare-and-assign-variable-in-single-statement/" target="_blank"&gt;Declare and Assign Variable in Single&amp;#xA0;Statement&lt;/a&gt;&lt;br&gt;&lt;a href="http://blog.sqlauthority.com/2008/10/31/sql-server-declare-multiple-variables-in-one-statement/" target="_blank"&gt;Declare Multiple Variables in One&amp;#xA0;Statement&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I encourage you to submit your ideas for &lt;strong&gt;&lt;em&gt;SQL in Sixty Seconds&lt;/em&gt;&lt;/strong&gt;. We will try to accommodate as many as we can. Do you know any such tricks&lt;/p&gt;
&lt;p&gt;Reference:&amp;#xA0;&lt;strong&gt;Pinal Dave (&lt;a href="http://blog.sqlauthority.com/" target="_blank"&gt;http://blog.sqlauthority.com&lt;/a&gt;)&lt;/strong&gt;&lt;/p&gt;
&lt;br&gt;Filed under: &lt;a href="http://blog.sqlauthority.com/category/database/"&gt;Database&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/pinal-dave/"&gt;Pinal Dave&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/postaday/"&gt;PostADay&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql/"&gt;SQL&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-authority/"&gt;SQL Authority&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/sql-in-sixty-seconds/"&gt;SQL in Sixty Seconds&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-query/"&gt;SQL Query&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/sql-scripts/"&gt;SQL Scripts&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/"&gt;SQL Tips and Tricks&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/sqlserver/"&gt;SQLServer&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/technology/t-sql/"&gt;T SQL&lt;/a&gt;, &lt;a href="http://blog.sqlauthority.com/category/video/"&gt;Video&lt;/a&gt;  &lt;a href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/17507/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/17507/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/17507/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/17507/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/17507/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/17507/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/17507/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/17507/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/17507/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/17507/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/17507/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/17507/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/17507/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/17507/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;amp;blog=668536&amp;amp;post=17507&amp;amp;subd=sqlauthority&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/7H2INnTOd_4" height="1" width="1"/&gt;</description><pubDate>Tue, 21 Feb 2012 19:30:36 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/pinal-dave/sql-server-t-sql-constructs-declaration-and-initialization-sql-in-sixty-seconds-003-video/</guid><feedburner:origLink>http://dbpedias.com/blogs/pinal-dave/sql-server-t-sql-constructs-declaration-and-initialization-sql-in-sixty-seconds-003-video/</feedburner:origLink></item><item><title>Julie Presents SSIS 2012 A Fresh Start in Columbia</title><link>http://feedproxy.google.com/~r/dbpedias/~3/KZ2TB2Oiyjw/</link><description>&lt;p&gt;Thanks for attending tonight. Here is the &lt;a href="https://skydrive.live.com/redir.aspx?cid=560bdd02fc361b27&amp;amp;resid=560BDD02FC361B27!293&amp;amp;parid=root" target="_blank" title="Slidedeck"&gt;link &lt;/a&gt;to the slidedeck.&lt;/p&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/datachix.wordpress.com/2087/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/datachix.wordpress.com/2087/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/datachix.wordpress.com/2087/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/datachix.wordpress.com/2087/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/datachix.wordpress.com/2087/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/datachix.wordpress.com/2087/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/datachix.wordpress.com/2087/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/datachix.wordpress.com/2087/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/datachix.wordpress.com/2087/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/datachix.wordpress.com/2087/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/datachix.wordpress.com/2087/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/datachix.wordpress.com/2087/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/datachix.wordpress.com/2087/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/datachix.wordpress.com/2087/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=datachix.com&amp;amp;blog=10004350&amp;amp;post=2087&amp;amp;subd=datachix&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/TheDatachixBlog?a=tafhu1EriJc:iDz9yyvBYqU:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/TheDatachixBlog?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/TheDatachixBlog?a=tafhu1EriJc:iDz9yyvBYqU:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/TheDatachixBlog?i=tafhu1EriJc:iDz9yyvBYqU:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/TheDatachixBlog?a=tafhu1EriJc:iDz9yyvBYqU:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/TheDatachixBlog?i=tafhu1EriJc:iDz9yyvBYqU:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/TheDatachixBlog?a=tafhu1EriJc:iDz9yyvBYqU:qj6IDK7rITs"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/TheDatachixBlog?d=qj6IDK7rITs"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/TheDatachixBlog?a=tafhu1EriJc:iDz9yyvBYqU:I9og5sOYxJI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/TheDatachixBlog?d=I9og5sOYxJI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/TheDatachixBlog?a=tafhu1EriJc:iDz9yyvBYqU:3QFJfmc7Om4"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/TheDatachixBlog?i=tafhu1EriJc:iDz9yyvBYqU:3QFJfmc7Om4"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/TheDatachixBlog/~4/tafhu1EriJc" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/KZ2TB2Oiyjw" height="1" width="1"/&gt;</description><pubDate>Tue, 21 Feb 2012 17:20:36 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/julie-smith-audrey-hammonds/julie-presents-ssis-2012-a-fresh-start-in-columbia/</guid><feedburner:origLink>http://dbpedias.com/blogs/julie-smith-audrey-hammonds/julie-presents-ssis-2012-a-fresh-start-in-columbia/</feedburner:origLink></item><item><title>Using the MDX Script Debugger in BIDS</title><link>http://feedproxy.google.com/~r/dbpedias/~3/ZOrJsn2CO3Y/</link><description>&lt;p&gt;Almost every time I write MDX calculations, I end up using scoped assignments &amp;#x2013; it&amp;#x2019;s by far the easiest way to control where your calculations work inside a cube. However making sure that your scoped assignments work in the places that they&amp;#x2019;re meant to work and don&amp;#x2019;t overwrite each other can be very tricky indeed (for a brief introduction to the subject and these problems, see &lt;a href="http://sqlbits.com/Sessions/Event8/Fun_with_Scoped_Assignments_in_MDX"&gt;this session&lt;/a&gt; I gave at SQLBits a year or so ago), so in this post I&amp;#x2019;m going to show you how you can use the MDX Script Debugger in BIDS to help you do this.&lt;/p&gt;
&lt;p&gt;Despite its name the MDX Script Debugger doesn&amp;#x2019;t actually help you to debug individual MDX expressions or calculations. What it does is clear the MDX Script of the cube then allow you to step through each statement in the MDX Script, applying them one after the other, so you can see the cumulative effect on a query. This is only really useful when you&amp;#x2019;re working with scoped assignments because it allows you to see which cells in your query are changed with each successive assignment.&lt;/p&gt;
&lt;p&gt;To illustrate, let&amp;#x2019;s use the Adventure Works cube. Comment out everything on the MDX Script (ie what&amp;#x2019;s on the Calculations tab) &lt;strong&gt;except&lt;/strong&gt; the Calculate statement and add the following code to the bottom:&lt;/p&gt;
&lt;p&gt;CREATE MEMBER CURRENTCUBE.MEASURES.DEMO AS 1;&lt;/p&gt;
&lt;p&gt;SCOPE(MEASURES.DEMO);    &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0; SCOPE([Date].[Date].MEMBERS, [Date].[Calendar Quarter].[Calendar Quarter].MEMBERS);     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; THIS=2;     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0; END SCOPE;     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0; SCOPE([Date].[Calendar Year].[Calendar Year].MEMBERS);     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; THIS=3;     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0; END SCOPE;     &lt;br&gt;END SCOPE;&lt;/p&gt;
&lt;p&gt;SCOPE([Measures].[Internet Sales Amount]);    &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0; SCOPE([Date].[Date].MEMBERS, [Date].[Calendar Quarter].[Calendar Quarter].MEMBERS);     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; THIS=2;     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0; END SCOPE;     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0; SCOPE([Date].[Calendar Year].[Calendar Year].MEMBERS);     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0; THIS=3;     &lt;br&gt;&amp;#xA0;&amp;#xA0;&amp;#xA0; END SCOPE;     &lt;br&gt;END SCOPE;&lt;/p&gt;
&lt;p&gt;Then deploy your database and go to Debug menu in BIDS and click Start Debugging:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image2.png"&gt;&lt;img alt="image" border="0" height="220" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb2.png?w=485&amp;amp;h=220" title="image" width="485"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The MDX Debugger screen will then be displayed:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image3.png"&gt;&lt;img alt="image" border="0" height="341" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb3.png?w=589&amp;amp;h=341" title="image" width="589"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the top pane you can see the Calculate statement highlighted &amp;#x2013; this is the point in the script that has been reached as you step through the code. In the bottom pane you have a browser control where you can construct a query plus four panes where you can enter your own hand-written MDX queries.&lt;/p&gt;
&lt;p&gt;In the browser control, drag the Internet Sales Amount measure onto columns and the Calendar hierarchy from the Date dimension onto rows, until you see something like this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image4.png"&gt;&lt;img alt="image" border="0" height="251" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb4.png?w=591&amp;amp;h=251" title="image" width="591"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You don&amp;#x2019;t see any data at the moment because the Calculate statement hasn&amp;#x2019;t been executed yet (see &lt;a href="http://cwebbbi.wordpress.com/2011/10/20/why-has-all-the-data-in-my-cube-disappeared/"&gt;here&lt;/a&gt; for more details on what the Calculate statement does). If you hit F10 to step to the next statement in the MDX Script you&amp;#x2019;ll see the values for Internet Sales Amount appear because the Calculate statement has now been executed:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image5.png"&gt;&lt;img alt="image" border="0" height="416" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb5.png?w=581&amp;amp;h=416" title="image" width="581"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you hit F10 again, the calculated member DEMO will be created and you can now drag it into the browser; at this point you&amp;#x2019;ll see it always returns the value 1 because none of the scoped assignments have been executed yet:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image6.png"&gt;&lt;img alt="image" border="0" height="412" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb6.png?w=583&amp;amp;h=412" title="image" width="583"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hit F10 again until you reach the first END SCOPE statement and you&amp;#x2019;ll see the following:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image7.png"&gt;&lt;img alt="image" border="0" height="414" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb7.png?w=584&amp;amp;h=414" title="image" width="584"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can see that MEASURES.DEMO now returns 2 for the Date, Month and Quarter level as a result of this first assignment; you can also see that only the values that have been affected by this assignment have been changed. Hit F10 some more to execute the second assignment and you&amp;#x2019;ll see that DEMO returns 3 at the Year level and the affected cells are again highlighted:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image8.png"&gt;&lt;img alt="image" border="0" height="408" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb8.png?w=575&amp;amp;h=408" title="image" width="575"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Notice how, in this case, because you&amp;#x2019;re scoping on a calculated measure only the cells you scoped on have their values changed. This is in contrast with scoped assignments on regular measures: because regular measures aggregate up, scoping on a regular measure not only affects the values in the cells you scoped on, but those values will then also be aggregated up though the cube. &lt;/p&gt;
&lt;p&gt;To show what does happen when you scope on a regular measure, look at the next set of scoped assignments on the Internet Sales Amount measure. The first assignment scopes on the Date, Month and Quarter levels and sets their values to 2; however the Year level values now show the aggregated totals of all the quarters in the year, so if there are four quarters in a year then the year will show 4 * 2 = 8. The All level total is also similarly affected.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image9.png"&gt;&lt;img alt="image" border="0" height="396" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb9.png?w=567&amp;amp;h=396" title="image" width="567"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The final assignment sets the Year totals to 3 for the Year level; this overwrites the values that have been previously aggregated up from the Quarter level, and the Year level values are again aggregated up to the All level:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://cwebbbi.files.wordpress.com/2012/02/image10.png"&gt;&lt;img alt="image" border="0" height="400" src="http://cwebbbi.files.wordpress.com/2012/02/image_thumb10.png?w=569&amp;amp;h=400" title="image" width="569"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hit F10 some more and you&amp;#x2019;ll reach the end of the MDX Script, whereupon you&amp;#x2019;ll go back to the beginning and can start all this again. Go to the Debug menu and click Stop Debugging to finish. Useful bit of functionality, isn&amp;#x2019;t it? Certainly one of the least-known features of BIDS too.&lt;/p&gt;
&lt;p&gt;One last point &amp;#x2013; if you try to use the Debugger and hit the infamous SSAS Locale Identifier bug, check out Boyan Penev&amp;#x2019;s post &lt;a href="http://www.bp-msbi.com/2012/01/ssas-locale-identifier-bug/"&gt;here&lt;/a&gt; on how to solve this issue.&lt;/p&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/cwebbbi.wordpress.com/1393/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cwebbbi.wordpress.com/1393/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/cwebbbi.wordpress.com/1393/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cwebbbi.wordpress.com/1393/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/cwebbbi.wordpress.com/1393/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cwebbbi.wordpress.com/1393/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/cwebbbi.wordpress.com/1393/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cwebbbi.wordpress.com/1393/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/cwebbbi.wordpress.com/1393/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cwebbbi.wordpress.com/1393/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/cwebbbi.wordpress.com/1393/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cwebbbi.wordpress.com/1393/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/cwebbbi.wordpress.com/1393/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cwebbbi.wordpress.com/1393/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=cwebbbi.wordpress.com&amp;amp;blog=16411407&amp;amp;post=1393&amp;amp;subd=cwebbbi&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/wordpress/Cpjz?a=ZCd9s-orOZA:2Isw2GLBE7c:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/wordpress/Cpjz?d=yIl2AUoC8zA"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/wordpress/Cpjz/~4/ZCd9s-orOZA" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/ZOrJsn2CO3Y" height="1" width="1"/&gt;</description><pubDate>Tue, 21 Feb 2012 15:56:45 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/chris-webbs-bi-blog/using-the-mdx-script-debugger-in-bids/</guid><feedburner:origLink>http://dbpedias.com/blogs/chris-webbs-bi-blog/using-the-mdx-script-debugger-in-bids/</feedburner:origLink></item><item><title>Support me and Team #SQLPlunge for the Special Olympics</title><link>http://feedproxy.google.com/~r/dbpedias/~3/QvGz7QPMm9g/</link><description>&lt;p&gt;&lt;a href="http://www.plungemn.org/plunger/andylohn"&gt;&lt;img align="right" alt="logo_plunge_bear" border="0" height="209" src="http://www.sqlfeatherandquill.com/wp-content/uploads/2012/02/logo_plunge_bear.png" title="logo_plunge_bear" width="195"&gt;&lt;/a&gt;On March 3, 2012 I will be jumping into a hole in the ice in Lake Calhoun to raise money for the &lt;a href="http://www.specialolympicsminnesota.org/"&gt;Special Olympics&lt;/a&gt;. One item on my bucket list will be crossed off &amp;#x2013; I don&amp;#x2019;t think I want to get good at this, but I do want to try it.&lt;/p&gt;
&lt;p&gt;The big reason we are doing this is to raise money for the &lt;a href="http://www.specialolympicsminnesota.org/"&gt;Special Olympics&lt;/a&gt;, this has always been one of my favorite charities.&amp;#xA0; I love sports and competing in anything &amp;#x2013; this organization gives people with disabilities the opportunity to experience the thrill of competition and the fun of learning a skill and working on a craft.&lt;/p&gt;
&lt;p&gt;This is where you come in.&amp;#xA0; I need your help raising money.&amp;#xA0; If you wish to donate to the cause, you can do so &lt;a href="http://www.plungemn.org/plunger/andylohn"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.plungemn.org/plunger/andylohn"&gt;&lt;img alt="Support Me" border="0" height="65" src="http://www.sqlfeatherandquill.com/wp-content/uploads/2012/02/button_supportme.png" title="Support Me" width="299"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Here are the facts about the event:&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Who &lt;/strong&gt;- Tracy McKibben* (&lt;a href="http://www.realsqlguy.com/"&gt;B&lt;/a&gt;/&lt;a href="http://twitter.com/realsqlguy"&gt;T&lt;/a&gt;), Jason Strate (&lt;a href="http://www.jasonstrate.com/"&gt;B&lt;/a&gt;/&lt;a href="http://twitter.com/stratesql"&gt;T&lt;/a&gt;), Afroza Ahmed and I make up Team #SQL Plunge&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.plungemn.org/team/teamsqlplungemp"&gt;Here is Team #SQLPlunge&amp;#x2019;s page&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="1"&gt;*denotes team captain&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What&lt;/strong&gt; &amp;#x2013; Jumping in a hole in the ice.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why&lt;/strong&gt; &amp;#x2013; I&amp;#x2019;m still not sure, Tracy tweeted something about not knowing if he should do it this year, I responded that with these temperatures, this would be an easy year to do it.&amp;#xA0; The next thing I know&amp;#x2026; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Where&lt;/strong&gt; &amp;#x2013; &lt;a href="http://maps.google.com/maps?f=q&amp;amp;source=s_q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=Lake+Calhoun,+Thomas+Ave+S+and+West+Calhoun+Parkway,+Minneapolis,+MN+55417&amp;amp;sll=44.935117,-93.314127&amp;amp;sspn=0.006836,0.01649&amp;amp;ie=UTF8&amp;amp;hq=&amp;amp;hnear=W+Calhoun+Pkwy+%26+Thomas+Ave+S,+Minneapolis,+Hennepin,+Minnesota&amp;amp;z=17"&gt;Lake Calhoun, Minneapolis&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;When&lt;/strong&gt; &amp;#x2013; March 3rd, 2012&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.plungemn.org/location/minneapolis"&gt;Here is more info on the Minneapolis Polar Plunge&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Other Info &amp;#x2013; &lt;/strong&gt;My alma matter participated in an event this year &amp;#x2013; &lt;a href="http://news.blog.gustavus.edu/2012/02/17/gusties-support-special-olympics-minnesota/"&gt;Gusties Support Special Olympics Minnesota&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://news.blog.gustavus.edu/2012/02/17/gusties-support-special-olympics-minnesota/"&gt;&lt;img alt="GAC_PolarPlunge" border="0" height="169" src="http://www.sqlfeatherandquill.com/wp-content/uploads/2012/02/GAC_PolarPlunge.jpg" title="GAC_PolarPlunge" width="300"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is just cool &amp;#x2013; not what we are doing, but just too cool not to share.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=qh6iAvJeGu4:LwFocsNxgfo:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=qh6iAvJeGu4:LwFocsNxgfo:7Q72WNTAKBA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?d=7Q72WNTAKBA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=qh6iAvJeGu4:LwFocsNxgfo:-BTjWOF_DHI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?i=qh6iAvJeGu4:LwFocsNxgfo:-BTjWOF_DHI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=qh6iAvJeGu4:LwFocsNxgfo:D7DqB2pKExk"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?i=qh6iAvJeGu4:LwFocsNxgfo:D7DqB2pKExk"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=qh6iAvJeGu4:LwFocsNxgfo:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?i=qh6iAvJeGu4:LwFocsNxgfo:V_sGLiPBpWU"&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/QvGz7QPMm9g" height="1" width="1"/&gt;</description><pubDate>Tue, 21 Feb 2012 11:00:00 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/sql-feather-and-quill-sqlserverpedia-syndication/support-me-and-team-sqlplunge-for-the-special-olympics/</guid><feedburner:origLink>http://dbpedias.com/blogs/sql-feather-and-quill-sqlserverpedia-syndication/support-me-and-team-sqlplunge-for-the-special-olympics/</feedburner:origLink></item><item><title>Still Using Windows Logins for your Databases? You’re Doing it Wrong</title><link>http://feedproxy.google.com/~r/dbpedias/~3/7pvLPQDqZsk/</link><description>&lt;p&gt;&lt;a href="http://thomaslarock.com/2012/02/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/sec-book/" rel="attachment wp-att-7706"&gt;&lt;img alt="" class=" wp-image-7706   alignleft" src="http://thomaslarock.com/wp-content/uploads/2012/02/sec-book.jpeg?9d7bd4" title="sec-book"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If your DBA is still adding Windows logins to your database servers then&amp;#xA0;&lt;strong&gt;&lt;em&gt;they are doing it wrong&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Using logins (versus Windows groups) is an inefficient method that hasn&amp;#x2019;t been considered a&amp;#xA0;favorable&amp;#xA0;practice for almost ten years. Oh&amp;#x2026;&lt;em&gt;sure&lt;/em&gt;&amp;#x2026;it works. I won&amp;#x2019;t argue that point. But if you are administering hundreds of database servers and you are using logins instead of groups then you are making your environment more complex than it needs to be. When shops exploded with exponential growth in the past decade Microsoft recognized this by publishing guidelines around security best practices that reflect the preference for using groups. Here&amp;#x2019;s &lt;a href="http://technet.microsoft.com/en-us/library/cc779601(WS.10).aspx" target="_blank"&gt;one from 2005&lt;/a&gt;&amp;#xA0;that states simply at the top:&lt;/p&gt;
&lt;p&gt;&amp;#x201C;&lt;em&gt;Because it is inefficient to maintain user accounts directly, assigning permissions on a user basis should be the exception.&lt;/em&gt;&amp;#x201D;&lt;/p&gt;
&lt;p&gt;Exception. As in &amp;#x201C;not the norm&amp;#x201D;. And say what you want about SQL 2000, but even they &lt;a href="http://technet.microsoft.com/en-us/library/cc966456.aspx" target="_blank"&gt;knew that using groups was the way to a simpler life&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here are three reasons why you should be using Windows groups.&lt;/p&gt;
&lt;h3&gt;Audit compliance&lt;/h3&gt;
&lt;p&gt;Since those best practices guidelines were published there has been an ever tightening of a grip on systems with regards to security and audits. Most companies that have to be in compliance with government legislation of some type will prefer to use Windows groups to access there database servers. Why? Three words: separation of duties.&lt;/p&gt;
&lt;p&gt;The DBA should not be the person that is adding or removing individuals from groups within Active Directory. Those actions should be handled by a security team, and only after being given an approval by the IT custodian (or manager) responsible for the application (also, not the DBA). In other words, security in your company should have two parts. One part is handled by the DBA who, working with the database developers, creates the necessary roles, schemas, and Windows group logins on the database instance. The other part is the security team who controls the people added (or removed) from the Active Directory group(s) so that the users can access the applications as needed.&lt;/p&gt;
&lt;p&gt;That is the separation: the DBA doesn&amp;#x2019;t control the users in the groups, just the structure the groups are allowed to access. Likewise the security team has no say in how the structure inside the database instance is built, they just fulfill the requests for access after the IT custodian has approved.&lt;/p&gt;
&lt;h3&gt;Reduce your administrative overhead&lt;/h3&gt;
&lt;p&gt;Besides the likely compliance issues you will face, if you are adding in Windows logins by hand your actions will not be able to scale to hundreds of instances. I&amp;#x2019;m certain that someone will leave a comment telling me that Powershell can get the job done with just a few lines of code. This would be where I remind people that automation is a wonderful way to make mistakes faster than ever before.&lt;/p&gt;
&lt;p&gt;Let&amp;#x2019;s consider the case of a developer who needs different levels of access for development, test, QA, and production servers. That would mean you need to keep four copies of your scripts for each environment, and server, and person. That is a lot of scripts to maintain and troubleshoot. I can&amp;#x2019;t even imagine trying to add or modify those scripts as needed.&lt;/p&gt;
&lt;p&gt;Even with just a handful of servers the idea of trying to maintain the correct permissions on a per-user level is more overhead than I would want. Every time a new person joins the company I would need to recreate all the permissions necessary for that person to access the databases they need. And the minute a person gets an &amp;#x2018;access denied&amp;#x2019; error message returned it would be in my lap to figure out what was missed.&lt;/p&gt;
&lt;p&gt;I can&amp;#x2019;t imagine why anyone would prefer to spend their time making things more difficult than they need to be. With Windows groups your could have all the permissions, roles, and groups defined in advance and then the security team (remember them?) could add and remove users as needed.&lt;/p&gt;
&lt;h3&gt;Less mess to clean up afterwards&lt;/h3&gt;
&lt;p&gt;One area I see customers and clients struggle with centers around the removal of logins after a person has left the company or even changed jobs within the company. When there is no defined removal process the end result is a glut of logins defined on an instance of SQL Server and most DBAs have no idea who should stay or who should go.&lt;/p&gt;
&lt;p&gt;When companies have a defined access process that is tied to Windows groups it helps to avoid the issue of having logins lingering around for months and possibly years. We&amp;#x2019;re talking about one step versus hundreds of steps. Which would you prefer?&lt;/p&gt;
&lt;p&gt;If you think not having separation of duties would make an auditor have cause for concern just sit across from the table and look them in the eye and say &amp;#x201C;those logins have been there for years, we rarely go back to remove them, we wouldn&amp;#x2019;t know which ones are no longer valid&amp;#x201D;. Good times.&lt;/p&gt;
&lt;h3&gt;Exceptions are not the rule&lt;/h3&gt;
&lt;p&gt;There are always going to be exceptions to using Windows groups. And for those exceptions you will have the extra overhead, you will need a defined cleanup process, and you will likely need to file for an audit exception. But they are exceptions, not the rule. Exceptions always introduce&amp;#xA0;complexity&amp;#xA0;into your environment. Unless you enjoy having an environment more complex than necessary, unless you enjoy having failed audits, you should start using Windows groups as your standard.&lt;/p&gt;
&lt;p&gt;If you only have a handful of servers, and your shop doesn&amp;#x2019;t need to comply with audit guidelines, then you can get away with continuing to use Windows logins versus groups. But at some point you will cross a threshold where the overhead for maintaining your environment outweighs the usefulness. And it is then, at the precise moment, when you will look back and say &amp;#x201C;crap, I should have listened.&amp;#x201D;&lt;/p&gt;
&lt;p&gt;You&amp;#x2019;ll thank me then. And you&amp;#x2019;re welcome.&lt;/p&gt;
&lt;div class="zemanta-pixie"&gt;&lt;img alt="" class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=55f6748b-ba34-423d-a9fe-7ead5030d488"&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;a href="http://thomaslarock.com/2012/02/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/"&gt;Still Using Windows Logins for your Databases? You&amp;#x2019;re Doing it Wrong&lt;/a&gt; is a post from: &lt;a href="http://thomaslarock.com"&gt;SQLRockstar | Thomas LaRock&lt;/a&gt;
&lt;p&gt;&lt;/p&gt;
Join Denny Cherry (&lt;a href="http://www.twitter.com/mrdenny"&gt;@mrdenny&lt;/a&gt;) and me for two days of SQL instruction, training, and wine tasting in the California sunshine &lt;a href="http://sqlexcursions.com/napa-2011-sign-up"&gt;this May for $799&lt;/a&gt;.
&lt;p&gt;&lt;/p&gt;

&lt;div class="shr-publisher-7527"&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/7pvLPQDqZsk" height="1" width="1"/&gt;</description><pubDate>Tue, 21 Feb 2012 10:58:44 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/thomas-larock/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/</guid><feedburner:origLink>http://dbpedias.com/blogs/thomas-larock/still-using-windows-logins-for-your-databases-youre-doing-it-wrong/</feedburner:origLink></item><item><title>Please vote for my SQLRally session</title><link>http://feedproxy.google.com/~r/dbpedias/~3/e3MeWAOYwac/</link><description>&lt;p&gt;I&amp;#x2019;m hoping to do a presentation at SQLRally in Dallas on May 10-11, but I need your help!&lt;/p&gt;
&lt;p&gt;There is a Community Vote for the remaining 20 sessions, so I would greatly appreciate it if you would go to&amp;#xA0;&lt;a href="http://www.sqlpass.org/sqlrally/2012/dallas/CommunityChoice.aspx" title="http://www.sqlpass.org/sqlrally/2012/dallas/CommunityChoice.aspx"&gt;http://www.sqlpass.org/sqlrally/2012/dallas/CommunityChoice.aspx&lt;/a&gt;&amp;#xA0;and vote for my session (described below). &amp;#xA0;You have to be a PASS member to vote, but if you are not, it is free to register. &amp;#xA0;Thanks for your help!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scaling SQL Server to HUNDREDS of Terabytes OR Overview of Microsoft Appliances&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Learn how SQL Server 2008 can scale to HUNDREDS of terabytes for BI/DW solutions. &amp;#xA0;This session will focus on Fast Track Solutions and Appliances, Reference Architectures, and Parallel Data Warehousing (PDW). &amp;#xA0;Included will be performance numbers and lessons learned on the very first production PDW deployment in the world and how a successful BI solution was built on top of it using SSAS.&lt;/p&gt;
&lt;p&gt;Learn about all the different appliances and how they can save you a tremendous amount of time and money instead of building your own: HP Business Decision Appliance (BDA), HP Business Data Warehouse Appliance (BDW), HP Enterprise Data Warehouse Appliance (EDW), and HP Database Consolidation Appliance (DBC).&lt;/p&gt;
&lt;p&gt;If you are involved in the decision-making in your company for purchasing one or more servers to be used for SQL Server, this session will make you aware that there are better options outside of the usual ordering of a server and internally installing the hardware, OS, and SQL Server. &amp;#xA0;And then hoping it will handle your databases!&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=4ymP77ws9Q0:XYi-IpE8vEc:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=4ymP77ws9Q0:XYi-IpE8vEc:D7DqB2pKExk"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=4ymP77ws9Q0:XYi-IpE8vEc:D7DqB2pKExk"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=4ymP77ws9Q0:XYi-IpE8vEc:F7zBnMyn0Lo"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=4ymP77ws9Q0:XYi-IpE8vEc:F7zBnMyn0Lo"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=4ymP77ws9Q0:XYi-IpE8vEc:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=4ymP77ws9Q0:XYi-IpE8vEc:V_sGLiPBpWU"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=4ymP77ws9Q0:XYi-IpE8vEc:qj6IDK7rITs"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=qj6IDK7rITs"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=4ymP77ws9Q0:XYi-IpE8vEc:3QFJfmc7Om4"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=4ymP77ws9Q0:XYi-IpE8vEc:3QFJfmc7Om4"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=4ymP77ws9Q0:XYi-IpE8vEc:I9og5sOYxJI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?d=I9og5sOYxJI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?a=4ymP77ws9Q0:XYi-IpE8vEc:-BTjWOF_DHI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/JamesSerraSSPedia?i=4ymP77ws9Q0:XYi-IpE8vEc:-BTjWOF_DHI"&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;img height="1" src="http://feeds.feedburner.com/~r/JamesSerraSSPedia/~4/4ymP77ws9Q0" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/e3MeWAOYwac" height="1" width="1"/&gt;</description><pubDate>Tue, 21 Feb 2012 08:00:28 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/james-serras-blog-sqlserverpedia-syndication/please-vote-for-my-sqlrally-session/</guid><feedburner:origLink>http://dbpedias.com/blogs/james-serras-blog-sqlserverpedia-syndication/please-vote-for-my-sqlrally-session/</feedburner:origLink></item><item><title>TNS-12508: TNS:listener could not resolve the COMMAND given</title><link>http://feedproxy.google.com/~r/dbpedias/~3/LIBfnedQYs4/</link><description>&lt;blockquote&gt;
&lt;pre class="brush:tsql"&gt;LSNRCTL&amp;gt; set&amp;#xA0; log_directory /u01/app/oracle/product/11.2.0.2/dbhome_2/network/admin/lsnrlog

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxxxxxxxxx)(PORT=1521)))

TNS-12508: TNS:listener could not resolve the COMMAND given&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;the above issues happen while i&amp;#x2019;m trying to set log directory for listener. But It refused the comments, Why it&amp;#x2019;s refused the commands means&amp;#xA0;I enabled the ADMIN_RESTRICTIONS parameter option in listener.ora file. So that reason, I cann&amp;#x2019;t set command used as administrator level, It restircted for executing the following set command options like SET TRC_FILE, SET TRC_DIRECTORY,SET TRC_LEVEL,&amp;#xA0;SET LOG_DIRECTORY,SET LOG_STATUS,SET CURRENT_LISTENER,SET STARTUP_TIME.&lt;/p&gt;
&lt;p&gt;When enabled, ADMIN_RESTRICTIONS instructs the Listener not to accept any administrative commands from lsnrctl. Instead, an administrator must log in to the Listener&amp;#x2019;s host OS and make configuration changes directly in listener.ora.&lt;/p&gt;
&lt;p&gt;So In this case, We should&amp;#xA0; disable the&amp;#xA0; ADMIN_RESTRICTIONS_LISTENER = OFF and&amp;#xA0;after reload the listener.&lt;/p&gt;
&lt;p&gt;This parameter used for&amp;#xA0;preventing from hackers who are trying to take the listener trace file through remote and It refused the set commands&amp;#x2026;&lt;/p&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/mohamedazar.wordpress.com/1196/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mohamedazar.wordpress.com/1196/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/mohamedazar.wordpress.com/1196/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mohamedazar.wordpress.com/1196/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/mohamedazar.wordpress.com/1196/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mohamedazar.wordpress.com/1196/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/mohamedazar.wordpress.com/1196/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mohamedazar.wordpress.com/1196/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/mohamedazar.wordpress.com/1196/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mohamedazar.wordpress.com/1196/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/mohamedazar.wordpress.com/1196/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mohamedazar.wordpress.com/1196/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/mohamedazar.wordpress.com/1196/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mohamedazar.wordpress.com/1196/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=mohamedazar.com&amp;amp;blog=10092859&amp;amp;post=1196&amp;amp;subd=mohamedazar&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/LIBfnedQYs4" height="1" width="1"/&gt;</description><pubDate>Tue, 21 Feb 2012 06:25:54 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/mohamed-azar/tns-12508-tnslistener-could-not-resolve-the-command-given/</guid><feedburner:origLink>http://dbpedias.com/blogs/mohamed-azar/tns-12508-tnslistener-could-not-resolve-the-command-given/</feedburner:origLink></item><item><title>Creating Your First SSAS 2012 Tabular Project</title><link>http://feedproxy.google.com/~r/dbpedias/~3/Q2A_yVHMTJM/</link><description>&lt;p&gt;No matter how simple it is, new things come with some confusion; at least until you get used to it. Analysis Services 2012 Tabular is no different. This post will look at steps to create your first Tabular project.&lt;/p&gt;
&lt;p&gt;Let&amp;#x2019;s start with firing up SQL Server Data Tools located under Microsoft SQL Server 2012 RC0. I&amp;#x2019;ve selected to create a new project.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/sql-server-2012-ssas-tabular-project.png"&gt;&lt;img alt="SQL Server 2012 SSAS Tabular Project" border="0" height="225" src="http://svangasql.files.wordpress.com/2012/02/sql-server-2012-ssas-tabular-project_thumb.png?w=390&amp;amp;h=225" title="SQL Server 2012 SSAS Tabular Project" width="390"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the above image, I&amp;#x2019;ve selected Analysis Services Tabular Project.&lt;/p&gt;
&lt;p&gt;You might see a error message similar to the one below. This happens when the server instance specified in the Workspace Server property doesn&amp;#x2019;t have an analysis services running in tabular mode. For instance, in this example the name of my instance is localhost\SQL110, but I purposefully changed it to an incorrect name to show this error.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/ssas-tabular-workspace-database-server-error.png"&gt;&lt;img alt="SSAS Tabular Workspace database server error" border="0" height="115" src="http://svangasql.files.wordpress.com/2012/02/ssas-tabular-workspace-database-server-error_thumb.png?w=310&amp;amp;h=115" title="SSAS Tabular Workspace database server error" width="310"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To fix this, I&amp;#x2019;ve changed Workspace Server to the correct one from the properties of model.bim&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/image.png"&gt;&lt;img alt="image" border="0" height="185" src="http://svangasql.files.wordpress.com/2012/02/image_thumb.png?w=240&amp;amp;h=185" title="image" width="240"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Importing Data&lt;/h2&gt;
&lt;p&gt;The Model option located on the top allows you to create model files. You&amp;#x2019;ll begin with importing data from a source.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/image1.png"&gt;&lt;img alt="image" border="0" height="204" src="http://svangasql.files.wordpress.com/2012/02/image_thumb1.png?w=217&amp;amp;h=204" title="image" width="217"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The next screen lets you select a type of data source. I&amp;#x2019;ve selected Microsoft SQL Server. In the next screen, you choose a server name and database name as the source.&lt;/p&gt;
&lt;p&gt;You&amp;#x2019;ll provide impersonation information in the next screen. This is important because, analysis services uses this account to connect to the data source. So, make sure that this account has required permissions on both the server instances: data source and analysis services.&lt;/p&gt;
&lt;p&gt;Next screen asks how you want to import the data. You can either choose from a list of tables or view, or specify a query to retrieve the data. I&amp;#x2019;ve opted to select from a list.&lt;/p&gt;
&lt;p&gt;From the list of tables and views in the below image, I&amp;#x2019;ve selected FactInternetSales, DimProduct, DimProductSubCategory, DimProductCategory, DimCustomer, and DimGeography.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/image2.png"&gt;&lt;img alt="image" border="0" height="226" src="http://svangasql.files.wordpress.com/2012/02/image_thumb2.png?w=249&amp;amp;h=226" title="image" width="249"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Clicking finish will complete by the data import and the next screen displays a status of the tables and views that were imported.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/image3.png"&gt;&lt;img alt="image" border="0" height="230" src="http://svangasql.files.wordpress.com/2012/02/image_thumb3.png?w=265&amp;amp;h=230" title="image" width="265"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Toggle to the diagram view to see the tables and relationships among the objects in the model. In the below image, you&amp;#x2019;ll notice the wizard identifies the relationships in the data source.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/image4.png"&gt;&lt;img alt="image" border="0" height="194" src="http://svangasql.files.wordpress.com/2012/02/image_thumb4.png?w=395&amp;amp;h=194" title="image" width="395"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Toggle to the grid view to see the data that was imported from data source to the model. This interface looks similar or Excel workbooks with one tab for each table in the data source.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/image5.png"&gt;&lt;img alt="image" border="0" height="153" src="http://svangasql.files.wordpress.com/2012/02/image_thumb5.png?w=398&amp;amp;h=153" title="image" width="398"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Create Measures&lt;/h2&gt;
&lt;p&gt;The first thing you should do after importing data is to create measures. I&amp;#x2019;ll select Sales Amount and choose Sum from the measure drop down in the following image.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/image6.png"&gt;&lt;img alt="image" border="0" height="265" src="http://svangasql.files.wordpress.com/2012/02/image_thumb6.png?w=490&amp;amp;h=265" title="image" width="490"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#x2019;ve repeated the same steps for Tax Amount, to create another measure.&lt;/p&gt;
&lt;h2&gt;Deploy To Target Server&lt;/h2&gt;
&lt;p&gt;Before deploying to the server, take a few seconds to verify the target server properties. Target Analysis Services must be running in tabular mode.&lt;/p&gt;
&lt;p&gt;In the below image, I&amp;#x2019;ve selected to deploy the model.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/image7.png"&gt;&lt;img alt="image" border="0" height="155" src="http://svangasql.files.wordpress.com/2012/02/image_thumb7.png?w=325&amp;amp;h=155" title="image" width="325"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Browse Your First Tabular Model&lt;/h2&gt;
&lt;p&gt;I selected Analyze in Excel option located on the top. An excel pivot table with a connection to the model you just deployed allows you to analyze data in Excel.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svangasql.files.wordpress.com/2012/02/image8.png"&gt;&lt;img alt="image" border="0" height="140" src="http://svangasql.files.wordpress.com/2012/02/image_thumb8.png?w=336&amp;amp;h=140" title="image" width="336"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Well, Well, Well. I know this has been a lengthy post. So I&amp;#x2019;ll let you go with no further ado, but please use the comments below should you have any questions or comments.&lt;/p&gt;
&lt;p&gt;~&lt;a href="http://Twitter.com/SamuelVanga"&gt;Sam&lt;/a&gt;&lt;/p&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/svangasql.wordpress.com/1248/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/svangasql.wordpress.com/1248/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/svangasql.wordpress.com/1248/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/svangasql.wordpress.com/1248/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/svangasql.wordpress.com/1248/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/svangasql.wordpress.com/1248/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/svangasql.wordpress.com/1248/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/svangasql.wordpress.com/1248/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/svangasql.wordpress.com/1248/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/svangasql.wordpress.com/1248/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/svangasql.wordpress.com/1248/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/svangasql.wordpress.com/1248/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/svangasql.wordpress.com/1248/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/svangasql.wordpress.com/1248/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=svangasql.wordpress.com&amp;amp;blog=27034556&amp;amp;post=1248&amp;amp;subd=svangasql&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;img height="1" src="http://feeds.feedburner.com/~r/SamVangasSqlserverpediaSyndication/~4/IvKuNgOlv5g" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/Q2A_yVHMTJM" height="1" width="1"/&gt;</description><pubDate>Tue, 21 Feb 2012 06:00:00 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/samuel-vanga/creating-your-first-ssas-2012-tabular-project/</guid><feedburner:origLink>http://dbpedias.com/blogs/samuel-vanga/creating-your-first-ssas-2012-tabular-project/</feedburner:origLink></item><item><title>TNS-01251: Cannot set trace/log directory under ADR</title><link>http://feedproxy.google.com/~r/dbpedias/~3/jcfpu7dcKMQ/</link><description>&lt;p&gt;When you&amp;#x2019;re trying to set new listener&amp;#xA0;log directory, you may face a same error below&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre class="brush:tsql"&gt;LSNRCTL&amp;gt; set log_directory /u01/app/oracle/product/11.2.0.2/dbhome_2/network/admin/lsnr_log
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxx)(PORT=1521)))

TNS-01251: Cannot set trace/log directory under ADR&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;Solution :&lt;/p&gt;
&lt;p&gt;If the parameter DIAG_ADR_ENABLED_listenername is set to ON in the listener.ora file, the trace and log file should be located under ADRBASE_listenername location. If ADR is enabled, all listener related trace file and log file stored in under ADR base location. If you don&amp;#x2019;t want to store there, you can disable ADR.&lt;/p&gt;
&lt;p&gt;In listener.ora file&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre class="brush:tsql"&gt;DIAG_ADR_ENABLED_LISTENER = OFF&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;reload the listener.&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre class="brush:tsql"&gt;LSNRCTL&amp;gt; reload

LSNRCTL&amp;gt; set log_directory /u01/app/oracle/product/11.2.0.2/dbhome_2/network/admin/lsnr_log
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxx)(PORT=1521)))
LISTENER parameter "log_directory" set to /u01/app/oracle/product/11.2.0.2/dbhome_2/network/admin/lsnr_log The command completed successfully&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/mohamedazar.wordpress.com/1191/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mohamedazar.wordpress.com/1191/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/mohamedazar.wordpress.com/1191/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mohamedazar.wordpress.com/1191/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/mohamedazar.wordpress.com/1191/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mohamedazar.wordpress.com/1191/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/mohamedazar.wordpress.com/1191/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mohamedazar.wordpress.com/1191/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/mohamedazar.wordpress.com/1191/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mohamedazar.wordpress.com/1191/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/mohamedazar.wordpress.com/1191/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mohamedazar.wordpress.com/1191/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/mohamedazar.wordpress.com/1191/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mohamedazar.wordpress.com/1191/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=mohamedazar.com&amp;amp;blog=10092859&amp;amp;post=1191&amp;amp;subd=mohamedazar&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/jcfpu7dcKMQ" height="1" width="1"/&gt;</description><pubDate>Tue, 21 Feb 2012 04:17:57 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/mohamed-azar/tns-01251-cannot-set-tracelog-directory-under-adr/</guid><feedburner:origLink>http://dbpedias.com/blogs/mohamed-azar/tns-01251-cannot-set-tracelog-directory-under-adr/</feedburner:origLink></item><item><title>Calling ProcessData in SSIS to incrementally load data into tabular partitions</title><link>http://feedproxy.google.com/~r/dbpedias/~3/Z_rU_0-Zrd8/</link><description>&lt;p&gt;Previously, I showed a &lt;a href="http://cathydumas.com/2012/01/25/processing-data-transactionally-in-amo/"&gt;pattern for incrementally loading data &lt;/a&gt;by creating a partition, doing a ProcessData on the partition, then doing a ProcessRecalc on the database all in a single transaction. It is possible to do the same thing in an Integration Services package. Let&amp;#x2019;s take a look.&lt;/p&gt;
&lt;p&gt;We cannot use the Analysis Services Processing task for this chore. This is because &lt;a href="http://blogs.msdn.com/b/cathyk/archive/2011/09/08/using-integration-services-with-tabular-models.aspx"&gt;the task was not updated for SQL Server 2012&lt;/a&gt;, so ProcessRecalc is not an option. Therefore, if we want to use a built in Analysis Services task, we must use the Analysis Services Execute DDL task to do this work.&lt;/p&gt;
&lt;p&gt;We also need to do this work transactionally. Even though it is is something of a &lt;a href="http://www.mattmasson.com/index.php/2011/12/design-pattern-avoiding-transactions/"&gt;design antipattern to use transactions in an SSIS package&lt;/a&gt;, we must use one because we cannot leave the database in an unqueryable state while processing (recall that ProcessData renders a database unqueryable until a Recalc is performed). In theory, you could try to use the built-in transaction support for SSIS, but &lt;a href="http://geekswithblogs.net/darrengosbell/archive/2010/09/26/does-ssas-support-msdtc-transactions.aspx"&gt;transactions do not work properly with Analysis Services&lt;/a&gt;. The easiest way to send the commands in a single transaction is to use one Analysis Services Execute DDL task and wrap all three commands we need inside of an XMLA Batch statement.&lt;/p&gt;
&lt;p&gt;Imagine we want to create a partition for the year 1812 on the DemographicFacts table on the &lt;a href="http://blogs.msdn.com/b/cathyk/archive/2011/12/21/the-hans-rosling-project.aspx"&gt;Hans Rosling demo project&lt;/a&gt; database. Here is how to do the incremental data load:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;From SSDT, create a new Integration Services project.&lt;/li&gt;
&lt;li&gt;Right click in the Connection Managers pane, add a new connection to your tabular server.&lt;/li&gt;
&lt;li&gt;Drop the Analysis Services Execute DDL task into the Control Flow area (it is under &amp;#x201C;Other Tasks&amp;#x201D; in the SSIS Toolbox).&lt;/li&gt;
&lt;li&gt;Double-click to configure the task.&lt;/li&gt;
&lt;li&gt;In the dialog box that appears, click DDL.&lt;/li&gt;
&lt;li&gt;In the DDL properties, set the Connection property to the connection manager you created in step 2.&lt;/li&gt;
&lt;li&gt;Click the &amp;#x2026; button in the SourceDirect property to launch the DDL dialog box.&lt;/li&gt;
&lt;li&gt;Paste in the following XMLA command:
&lt;div class="wlWriterEditableSmartContent" id="scid:C89E2BDB-ADD3-4f7a-9810-1B7EACF446C1:8b91a2b9-adb3-4b43-9097-9bd663868906"&gt;
&lt;pre class="brush:tsql"&gt;

&amp;lt;Batch xmlns='http://schemas.microsoft.com/analysisservices/2003/engine' Transaction='true'&amp;gt; &amp;#xA0; &amp;#xA0;
&amp;lt;!-- Create the partition for the year 1812 on the DemographicFacts table --&amp;gt; &amp;#xA0;
&amp;lt;!-- To create the partition, alter the measure group--&amp;gt; &amp;#xA0;
&amp;lt;Alter AllowCreate="true" ObjectExpansion="ExpandFull" xmlns="&amp;lt;a href="http://schemas.microsoft.com/analysisservices/2003/engine"&amp;gt;http://schemas.microsoft.com/analysisservices/2003/engine&amp;lt;/a&amp;gt;"&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;Object&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;DatabaseID&amp;gt;hans_rosling_project&amp;lt;/DatabaseID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;CubeID&amp;gt;Model&amp;lt;/CubeID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;MeasureGroupID&amp;gt;DemographicFacts_c2655f3e-3570-4a34-92bf-3f9ed44ad24b&amp;lt;/MeasureGroupID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;PartitionID&amp;gt;Partition 1812&amp;lt;/PartitionID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;/Object&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;ObjectDefinition&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;Partition xmlns:xsd="&amp;lt;a href="http://www.w3.org/2001/XMLSchema"&amp;gt;http://www.w3.org/2001/XMLSchema&amp;lt;/a&amp;gt;" xmlns:xsi="&amp;lt;a href="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;http://www.w3.org/2001/XMLSchema-instance&amp;lt;/a&amp;gt;" xmlns:ddl200_200="&amp;lt;a href="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"&amp;gt;http://schemas.microsoft.com/analysisservices/2010/engine/200/200&amp;lt;/a&amp;gt;"&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;ID&amp;gt;Partition 1812&amp;lt;/ID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;Name&amp;gt;Partition 1812&amp;lt;/Name&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;Source xsi:type="QueryBinding"&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;DataSourceID&amp;gt;bc946c5c-ec5b-4fbb-87d9-5e4f721e6adc&amp;lt;/DataSourceID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;QueryDefinition&amp;gt;SELECT [dbo].[DemographicFacts].*&amp;#xA0;&amp;#xA0; FROM [dbo].[DemographicFacts]&amp;#xA0; WHERE ([Year] = 1812)&amp;lt;/QueryDefinition&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;/Source&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;StorageMode valuens="ddl200_200"&amp;gt;InMemory&amp;lt;/StorageMode&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;/Partition&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;/ObjectDefinition&amp;gt;
 &amp;#xA0;&amp;lt;/Alter&amp;gt;

&amp;lt;!-- Now do a ProceessData on the newly created partition --&amp;gt;
 &amp;#xA0;&amp;lt;Process xmlns="&amp;lt;a href="http://schemas.microsoft.com/analysisservices/2003/engine"&amp;gt;http://schemas.microsoft.com/analysisservices/2003/engine&amp;lt;/a&amp;gt;"&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;Type&amp;gt;ProcessData&amp;lt;/Type&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;Object&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;DatabaseID&amp;gt;hans_rosling_project&amp;lt;/DatabaseID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;CubeID&amp;gt;Model&amp;lt;/CubeID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;MeasureGroupID&amp;gt;DemographicFacts_c2655f3e-3570-4a34-92bf-3f9ed44ad24b&amp;lt;/MeasureGroupID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;PartitionID&amp;gt;Partition 1812&amp;lt;/PartitionID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;/Object&amp;gt;
 &amp;#xA0;&amp;lt;/Process&amp;gt;

&amp;lt;!-- Finally, do a ProcessRecalc on the database to make the DB queryable --&amp;gt;
 &amp;#xA0;&amp;lt;Process xmlns="&amp;lt;a href="http://schemas.microsoft.com/analysisservices/2003/engine"&amp;gt;http://schemas.microsoft.com/analysisservices/2003/engine&amp;lt;/a&amp;gt;"&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;Type&amp;gt;ProcessRecalc&amp;lt;/Type&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;Object&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;#xA0;&amp;lt;DatabaseID&amp;gt;hans_rosling_project&amp;lt;/DatabaseID&amp;gt;
 &amp;#xA0;&amp;#xA0;&amp;lt;/Object&amp;gt;
 &amp;#xA0;&amp;lt;/Process&amp;gt;
 &amp;lt;/Batch&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Press OK to all dialog boxes, and F5 to run the package. The run should be successful and you should be able to verify in SSMS that the partition was created, populated, and is queryable.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Let&amp;#x2019;s look a bit closer at that XMLA and look at how the scripts were generated. There are three commands in those 43 lines. The commands were generated by scripting out actions from three different places in the SSMS UI. I manually wrapped these commands in a batch, and inserted some comments which I hope are helpful. Use the comments to find the start of each command.&lt;/p&gt;
&lt;p&gt;The first command, the Alter, creates a partition by modifying the DemographicFacts measure group. Notice that you must refer to the measure group by ID. The ID for the measure group was automatically generated by the SSDT UI when the table was created using the Import Wizard. The partition definition is again bound using a query binding. The data source ID is the GUID for the magical &amp;#x201C;Sandbox&amp;#x201D; object, which was also automatically created by the SSDT UI. None of these IDs are exposed in the UI in SSMS or SSDT, so you will need to discover them by scripting out.&lt;/p&gt;
&lt;p&gt;To generate script for creating a partition, do the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Launch the Partition Manager in SSMS on the desired table.&lt;/li&gt;
&lt;li&gt;Select a partition that is bound via query binding, then click the Copy button in the toolbar.&lt;/li&gt;
&lt;li&gt;From the New Partition dialog, click the Script button. This script will contain both the data source IDs and the measure group IDs necessary for the script.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That takes care of creating the partition. The next command is a ProcessData on the partition. Again, you must pass the measure group ID to do the processing.&lt;/p&gt;
&lt;p&gt;To generate script for processing a partition:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Launch the Partition Manager in SSMS on the desired table.&lt;/li&gt;
&lt;li&gt;Select a partition, click Process.&lt;/li&gt;
&lt;li&gt;Set the desired processing option in the dialog (in this case ProcessData), then script out. This script will contain the measure group ID you need for processing.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The last Process command is the ProcessRecalc on the database. Fortunately the database ID is quite readable, and also exposed via the properties page on the database, so you have some hope of actually being able to write this script yourself. Nevertheless, it is easier to generate the script by right-clicking the database in the SSMS object explorer, selecting Process, choosing ProcessRecalc from the processing options, then scripting out.&lt;/p&gt;
&lt;p&gt;Simple, huh? Compare this to the similar code in AMO. The AMO snippet I posted was 26 lines and doesn&amp;#x2019;t contain any horrible GUIDs, so stylistically it may be a preferable approach to the one I outlined above for creating the DDL. You can call AMO from Integration Services from a scripting task. However, from a performance standpoint, you might want to stick with the ugly DDL to avoid having to deal with the VSTA dependency and overhead associated with the scripting task.&lt;/p&gt;
&lt;p&gt;Also compare this to the &lt;a href="https://cathydumas.wordpress.com/2012/02/14/doing-a-processadd-in-ssis/"&gt;approach for doing a ProcessAdd in SSIS&lt;/a&gt;. ProcessAdd is a lot neater, although there are scenario tradeoffs to be made. Comparing the two processing approaches merits a future post.&lt;/p&gt;
&lt;br&gt;&lt;a href="http://feeds.wordpress.com/1.0/gocomments/cathydumas.wordpress.com/130/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cathydumas.wordpress.com/130/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godelicious/cathydumas.wordpress.com/130/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cathydumas.wordpress.com/130/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gofacebook/cathydumas.wordpress.com/130/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cathydumas.wordpress.com/130/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gotwitter/cathydumas.wordpress.com/130/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cathydumas.wordpress.com/130/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/gostumble/cathydumas.wordpress.com/130/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cathydumas.wordpress.com/130/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/godigg/cathydumas.wordpress.com/130/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cathydumas.wordpress.com/130/"&gt;&lt;/a&gt; &lt;a href="http://feeds.wordpress.com/1.0/goreddit/cathydumas.wordpress.com/130/" rel="nofollow"&gt;&lt;img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cathydumas.wordpress.com/130/"&gt;&lt;/a&gt; &lt;img alt="" border="0" height="1" src="http://stats.wordpress.com/b.gif?host=cathydumas.com&amp;amp;blog=29671258&amp;amp;post=130&amp;amp;subd=cathydumas&amp;amp;ref=&amp;amp;feed=1" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/Z_rU_0-Zrd8" height="1" width="1"/&gt;</description><pubDate>Mon, 20 Feb 2012 22:33:26 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/cathy-dumas/calling-processdata-in-ssis-to-incrementally-load-data-into-tabular-partitions/</guid><feedburner:origLink>http://dbpedias.com/blogs/cathy-dumas/calling-processdata-in-ssis-to-incrementally-load-data-into-tabular-partitions/</feedburner:origLink></item><item><title>Updated – February 2012 PASSMN Meeting – Geographic Visualizations Using Maps in SSRS</title><link>http://feedproxy.google.com/~r/dbpedias/~3/pOap3Aec4KU/</link><description>&lt;h2&gt;Sponsor&lt;/h2&gt;
&lt;p&gt;&lt;a href="http://true-source.com"&gt;&lt;img alt="True Source Logo" border="0" height="46" src="http://www.sqlfeatherandquill.com/wp-content/uploads/2012/02/True-Source-Logo-2011.png" title="True Source Logo" width="240"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Meeting Details&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Loca&lt;a href="http://passmn.org/"&gt;&lt;img align="right" alt="" border="0" src="http://www.sqlfeatherandquill.com/wp-content/uploads/2011/01/PASSMNlogo.gif"&gt;&lt;/a&gt;tion: &lt;/strong&gt;&lt;a href="http://binged.it/sxnHtF"&gt;3601 West 76th Street, Suite 600 Edina, MN&amp;#xA0; 55437&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Date: &lt;/strong&gt;February 21, 2012&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time: &lt;/strong&gt;4:00 PM &amp;#x2013; 6:00 PM &amp;#x2013; &lt;span&gt;Later Time than normal&lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Meeting&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;URL&lt;/strong&gt;:&amp;#xA0; &lt;a href="https://www.livemeeting.com/cc/usergroups/join?id=R9352R&amp;amp;role=attend&amp;amp;pw=QqGKDQ7%5Bp"&gt;https://www.livemeeting.com/cc/usergroups/join?id=R9352R&amp;amp;role=attend&amp;amp;pw=QqGKDQ7%5Bp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Meeting ID&lt;/strong&gt;: R9352R&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Entry Code&lt;/strong&gt;: QqGKDQ7[p&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.sqlpass.org/Events/ctl/ViewEvent/mid/521.aspx?ID=789"&gt;Please click here for meeting details and to RSVP&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Geographic Visualizations Using Maps in SSRS&lt;/h2&gt;
&lt;h3&gt;Brian Larson, Superior Consulting Services&lt;/h3&gt;
&lt;p&gt;This session will explore the many and varied uses of the map report item in Reporting Services. From providing geographic analytics to diagramming locations on a warehouse floorplan, the map report item &amp;#x2013; when combined with SQL Server spatial data types &amp;#x2013; can be used in a variety of ways to create spatial representations of your data. We may even look at a game or two created using the map report item.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Brian Larson&lt;/strong&gt;, as a contract member of the Reporting Services development team, contributed to the original code base. Brian is the Vice President of Technology for Superior Consulting Services. Brian has presented at national conferences and events and is the author of &amp;#x201C;Microsoft SQL Server 2008 Reporting Services: 3rd Edition&amp;#x201D; and &amp;#x201C;Delivering Business Intelligence with SQL Server 2008: 2nd Edition&amp;#x201D; both from McGraw-Hill Professional.&lt;/p&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=oXLQbBRVm9E:vnmX-BunosE:yIl2AUoC8zA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?d=yIl2AUoC8zA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=oXLQbBRVm9E:vnmX-BunosE:7Q72WNTAKBA"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?d=7Q72WNTAKBA"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=oXLQbBRVm9E:vnmX-BunosE:-BTjWOF_DHI"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?i=oXLQbBRVm9E:vnmX-BunosE:-BTjWOF_DHI"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=oXLQbBRVm9E:vnmX-BunosE:D7DqB2pKExk"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?i=oXLQbBRVm9E:vnmX-BunosE:D7DqB2pKExk"&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?a=oXLQbBRVm9E:vnmX-BunosE:V_sGLiPBpWU"&gt;&lt;img border="0" src="http://feeds.feedburner.com/~ff/SqlFeatherAndQuillSqlserverpediaSyndication?i=oXLQbBRVm9E:vnmX-BunosE:V_sGLiPBpWU"&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/pOap3Aec4KU" height="1" width="1"/&gt;</description><pubDate>Mon, 20 Feb 2012 22:32:35 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/sql-feather-and-quill-sqlserverpedia-syndication/updated-february-2012-passmn-meeting-geographic-visualizations-using-maps-in-ssrs/</guid><feedburner:origLink>http://dbpedias.com/blogs/sql-feather-and-quill-sqlserverpedia-syndication/updated-february-2012-passmn-meeting-geographic-visualizations-using-maps-in-ssrs/</feedburner:origLink></item><item><title>RMOUG 2012 Presentation Slides!</title><link>http://feedproxy.google.com/~r/dbpedias/~3/jyo_Yh52IRw/</link><description>&lt;p&gt;Graham Wood was kind enough to send me a quick email and let me know that my presentation slides weren&amp;#x2019;t downloading correctly from RMOUG&amp;#x2019;s website, so I&amp;#x2019;ve put them here for anyone that may like to have them.&lt;/p&gt;
&lt;p&gt;I&amp;#x2019;m still recovering from the post RMOUG Training Day festivities, aka Foak Table, which was held up in Breckenridge again this year.  I will make sure to blog about Training Days and the post event at a later date, but until then, here is a link to my slides.  Please email me with any questions or comments you may have-  always glad to chat!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.google.com/present/edit?id=0AW51m2wSiFHMZGNnc2JidDlfMWd3ODR2aGN3" target="_blank" title="Making EM12C Work for You!"&gt;EM12C&lt;/a&gt;&lt;br&gt;&lt;a href="https://docs.google.com/present/edit?id=0AW51m2wSiFHMZGNnc2JidDlfMTE4ZGJkanZmY3c" target="_blank" title="Sherlock Holmes for DBA's"&gt;Sherlock Holmes for DBA&amp;#x2019;s&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;~Kellyn&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/jyo_Yh52IRw" height="1" width="1"/&gt;</description><pubDate>Mon, 20 Feb 2012 19:53:49 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/dbakevlar/rmoug-2012-presentation-slides/</guid><feedburner:origLink>http://dbpedias.com/blogs/dbakevlar/rmoug-2012-presentation-slides/</feedburner:origLink></item><item><title>Still time to sign up for my SQL 2012 Class</title><link>http://feedproxy.google.com/~r/dbpedias/~3/S8UOOjp-6D0/</link><description>My SQL 2012 class is just a few short weeks away, but there are still seats available for the class. Take the time and get signed up now for this great four day class where we will be diving into SQL Server 2012 with loads of hands on labs to really get you ready to [...]&lt;img height="1" src="http://feeds.feedburner.com/~r/SqlServerWithMrDenny/~4/CCn6TF2cKkc" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/S8UOOjp-6D0" height="1" width="1"/&gt;</description><pubDate>Mon, 20 Feb 2012 18:56:56 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/denny-cherry/still-time-to-sign-up-for-my-sql-2012-class/</guid><feedburner:origLink>http://dbpedias.com/blogs/denny-cherry/still-time-to-sign-up-for-my-sql-2012-class/</feedburner:origLink></item><item><title>Big Data - A Microsoft Tools Approach</title><link>http://feedproxy.google.com/~r/dbpedias/~3/8WSgeQjfCuE/</link><description>&lt;p&gt;&lt;em&gt;&lt;font color="#c0504d"&gt;(As with all of these types of posts, check the date of the latest update I&amp;#x2019;ve made here. Anything older than 6 months is probably out of date, given the speed with which we release new features into Windows and SQL Azure)&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;I don&amp;#x2019;t normally like to discuss things in terms of tools. I find that whenever you start with a given tool (or even a tool stack) it&amp;#x2019;s too easy to fit the problem to the tool(s), rather than the other way around as it should be.&lt;/p&gt;  &lt;p&gt;That being said, it&amp;#x2019;s often useful to have an example to work through to better understand a concept. But like many ideas in Computer Science, &amp;#x201C;Big Data&amp;#x201D; is too broad a term in use to show a single example that brings out the multiple processes, use-cases and patterns you can use it for. &lt;/p&gt;  &lt;p&gt;So we turn to a description of the tools you can use to analyze large data sets. &amp;#x201C;Big Data&amp;#x201D; is a term used lately to describe data sets that have the &amp;#x201C;&lt;a href="http://radar.oreilly.com/2012/01/what-is-big-data.html" target="_blank"&gt;Four V&amp;#x2019;s&lt;/a&gt;&amp;#x201D;&amp;#xA0; as a characteristic, but I have a simpler definition I like to use: &lt;/p&gt;  &lt;p align="center"&gt;&lt;em&gt;&lt;font color="#0000ff" size="3"&gt;Big Data involves a data set too large to process in a reasonable period of time&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;I realize that&amp;#x2019;s a bit broad, but in my mind it answers the question and is fairly future-proof. The general idea is that you want to analyze some data, and using whatever current methods, storage, compute and so on that you have at hand it doesn&amp;#x2019;t allow you to finish processing it in a time period that you are comfortable with. I&amp;#x2019;ll explain some new tools you can use for this processing.&lt;/p&gt;  &lt;p&gt;Yes, this post is Microsoft-centric. There are probably posts from other vendors and open-source that cover this process in the way they best see fit. And of course you can always &amp;#x201C;mix and match&amp;#x201D;, meaning using Microsoft for one or more parts of the process and other vendors or open-source for another. I never advise that you use any one vendor blindly - educate yourself, examine the facts, perform some tests and choose whatever mix of technologies best solves your problem. &lt;/p&gt;  &lt;p&gt;At the risk of being vendor-specific, and probably incomplete, I use the following short list of tools Microsoft has for working with &amp;#x201C;Big Data&amp;#x201D;. There is no single package that performs all phases of analysis. These tools are what I use; they should not be taken as a Microsoft authoritative testament to the toolset we&amp;#x2019;ll finalize for a given problem-space. In fact, that&amp;#x2019;s the key: find the problem and then fit the tools to that. &lt;/p&gt;  &lt;h2&gt;Process Types&lt;/h2&gt;  &lt;p&gt;I break up the analysis of the data into two process types. The first is examining and processing the data &lt;em&gt;in-line&lt;/em&gt;, meaning as the data passes through some process. The second is a &lt;em&gt;store-analyze-present&lt;/em&gt; process. &lt;/p&gt;  &lt;h2&gt;Processing Data In-Line&lt;/h2&gt;  &lt;p&gt;Processing data in-line means that the data doesn&amp;#x2019;t have a destination - it remains in the source system. But as it moves from an input or is routed to storage within the source system, various methods are available to examine the data as it passes, and either trigger some action or create some analysis. &lt;/p&gt;  &lt;p&gt;You might not think of this as &amp;#x201C;Big Data&amp;#x201D;, but in fact it can be. Organizations have huge amounts of data stored in multiple systems. Many times the data from these systems do not end up in a database for evaluation. There are options, however, to evaluate that data real-time and either act on the data or perhaps copy or stream it to another process for evaluation. &lt;/p&gt;  &lt;p&gt;The advantage of an in-stream data analysis is that you don&amp;#x2019;t necessarily have to store the data again to work with it. That&amp;#x2019;s also a disadvantage - depending on how you architect the solution, you might not retain a historical record. One method of dealing with this requirement is to trigger a rollup collection or a more detailed collection based on the event. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;StreamInsight &lt;/strong&gt;- StreamInsight is Microsoft&amp;#x2019;s &amp;#x201C;Complex Event Processing&amp;#x201D; or CEP engine. This product, hooked into SQL Server 2008R2, has multiple ways of interacting with a data flow. You can create adapters to talk with systems, and then examine the data mid-stream and create triggers to do something with it. You can read more about StreamInsight here: &lt;a href="http://msdn.microsoft.com/en-us/library/ee391416(v=sql.110).aspx" title="http://msdn.microsoft.com/en-us/library/ee391416(v=sql.110).aspx"&gt;http://msdn.microsoft.com/en-us/library/ee391416(v=sql.110).aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;BizTalk &lt;/strong&gt;- When there is more latency available between the initiation of the data and its processing, you can use Microsoft BizTalk. This is a message-passing and Service Bus oriented tool, and it can also be used to join system&amp;#x2019;s data together than normally does not have a direct link, for instance a Mainframe system to SQL Server. You can learn more about BizTalk here: &lt;a href="http://www.microsoft.com/biztalk/en/us/overview.aspx"&gt;http://www.microsoft.com/biztalk/en/us/overview.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;.NET and the Windows Azure Service Bus &lt;/strong&gt;- Along the same lines as BizTalk but with a more programming-oriented design are the Windows and Windows Azure Service Bus tools. The Service Bus allows you to pass messages as well, and opens up web interactions and even inter-company routing. BizTalk can do this as well, but the Service Bus tools use an API approach for designing the flow and interfaces you want. The Service Bus offerings are also intended as near real-time, not as a streaming interface. You can learn more about the Windows Azure Service Bus here: &lt;a href="http://www.windowsazure.com/en-us/home/tour/service-bus/"&gt;http://www.windowsazure.com/en-us/home/tour/service-bus/&lt;/a&gt; and more about the Event Processing side here: &lt;a href="http://msdn.microsoft.com/en-us/magazine/dd569756.aspx"&gt;http://msdn.microsoft.com/en-us/magazine/dd569756.aspx&lt;/a&gt;&amp;#xA0; &lt;/p&gt;  &lt;h2&gt;Store-Analyze-Present&lt;/h2&gt;  &lt;p&gt;A more traditional approach with an organization&amp;#x2019;s data is to store the data and analyze it out-of-band. This began with simply running code over a data store, but as locking and blocking became an issue on a file system, Relational Database Management Systems (RDBMs) were created. Over time a distinction was made between data used in an online processing system, meant to be highly available for writing data (OLTP) and systems designed for analytical and reporting purposes (OLAP). &lt;/p&gt;  &lt;p&gt;Later the data grew larger than these systems were designed for, primarily due to consistency requirements. In analysis, however, consistency isn&amp;#x2019;t always a requirement, and so file-based systems for that analysis were re-introduced from the Mainframe concepts, with new technology layered in for speed and size. &lt;/p&gt;  &lt;p&gt;I normally break up the process of analyzing large data sets into four phases: &lt;/p&gt;  &lt;ol&gt;
&lt;li&gt;
&lt;em&gt;Source and Transfer &lt;/em&gt;- Obtaining the data at its source and transferring or loading it into the storage; optionally transforming it along the way&lt;/li&gt;    &lt;li&gt;
&lt;em&gt;Store and Process&lt;/em&gt; - Data is stored on some sort of persistence, and in some cases an engine handles the acquisition and placement on persistent storage, as well as retrieval through an interface. &lt;/li&gt;    &lt;li&gt;&amp;#xA0;&lt;em&gt;Analysis &lt;/em&gt;- A new layer introduced with &amp;#x201C;Big Data&amp;#x201D; is a separate analysis step. This is dependent on the engine or storage methodology, is often programming language or script based, and sometimes re-introduces the analysis back into the data. Some engines and processes combine this function into the previous phase.&lt;/li&gt;    &lt;li&gt;
&lt;em&gt;Presentation&lt;/em&gt; - In most cases, the data wants a graphical representation to comprehend, especially in a series or trend analysis. In other cases a simple symbolic representation, similar to the &amp;#x201C;dashboard&amp;#x201D; elements in a Business Intelligence suite. Presentation tools may also have an analysis or refinement capability to allow end-users to work with the data sets. As in the Analysis phase, some methodologies bundle in the Analysis and Presentation phases into one toolset.&lt;/li&gt; &lt;/ol&gt;
&lt;h3&gt;Source and Transfer&lt;/h3&gt;  &lt;p&gt;You&amp;#x2019;ll notice in this area, along with those that follow, Microsoft is adopting not only its own technologies but those within open-source. This is a positive sign, and means that you will have a best-of-breed, supported set of tools to move the data from one location to another. Traditional file-copy, File Transfer Protocol and more are certainly options, but do not normally deal with moving datasets. &lt;/p&gt;  &lt;p&gt;I&amp;#x2019;ve already mentioned the ability of a streaming tool to push data into a store-analyze-present model, so I&amp;#x2019;ll follow up that discussion with the tools that can extract data from one source and place it in another. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;SQL Server Integration Services (SSIS)/SQL Server Bulk Copy Program (BCP)&lt;/font&gt; &lt;/strong&gt;- SSIS is a SQL Server tool used to move data from one location to another, and optionally perform transform or other processes as it does so. You are not limited to working with SQL Server data - in fact, almost any modern source of data from text to various database platforms is available to move to various systems. It is also extremely fast and has a rich development environment. You can learn more about SSIS here: &lt;a href="http://msdn.microsoft.com/en-us/library/ms141026.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms141026.aspx&lt;/a&gt; BCP is a tool that has been used with SQL Server data since the first releases; it has multiple sources and destinations as well. It is a command-line utility,and has some limited transform capabilities. You can learn more about BCP here: &lt;a href="http://msdn.microsoft.com/en-us/library/ms162802.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms162802.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt;&lt;font color="#800000"&gt;Sqoop&lt;/font&gt; &lt;/font&gt;&lt;/strong&gt;- Tied to Microsoft&amp;#x2019;s latest announcements with Hadoop on Windows and Windows Azure, Sqoop is a tool that is used to move data from SQL Server 2008R2 (and higher) to Hadoop, quickly and efficiently. You can read more about that in the Readme file here: &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=27584"&gt;http://www.microsoft.com/download/en/details.aspx?id=27584&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;font color="#800000"&gt;&lt;strong&gt;Application Programming Interfaces&lt;/strong&gt;&lt;/font&gt; - API&amp;#x2019;s exist in most every major language that can connect to one data source, access data, optionally transforming it and storing it in another system. Most every dialect of&amp;#xA0; the .NET-based languages contain methods to perform this task. &lt;/p&gt;  &lt;h3&gt;Store and Process&lt;/h3&gt;  &lt;p&gt;Data at rest is normally used for historical analysis. In some cases this analysis is performed near real-time, and in others historical data is analyzed periodically. Systems that handle data at rest range from simple storage to active management engines. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;SQL Server&lt;/font&gt;&lt;/strong&gt; - Microsoft&amp;#x2019;s flagship RDBMS can indeed store massive amounts of complex data. I am familiar with a two systems in excess of 300 Terabytes of federated data, and the &lt;a href="http://pan-starrs.ifa.hawaii.edu/public/" target="_blank"&gt;Pan-Starrs&lt;/a&gt; project is designed to handle 1+ Petabyte of data. The theoretical limit of SQL Server DataCenter edition is 540 Petabytes. SQL Server is an engine, so the data access and storage is handled in an abstract layer that also handles concurrency for ACID properties. You can learn more about SQL Server here: &lt;a href="http://www.microsoft.com/sqlserver/en/us/product-info/compare.aspx"&gt;http://www.microsoft.com/sqlserver/en/us/product-info/compare.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;SQL Azure Federations&lt;/font&gt;&lt;/strong&gt; - SQL Azure is a database service from Microsoft associated with the Windows Azure platform. Database Servers are multi-tenant, but are shared across a &amp;#x201C;fabric&amp;#x201D; that moves active databases for redundancy and performance. Copies of all databases are kept triple-redundant with a consistent commitment model. Databases are (at this writing - check &lt;a href="http://WindowsAzure.com"&gt;http://WindowsAzure.com&lt;/a&gt; for the latest) capped at a 150 GB size limit per database. However, Microsoft released a &amp;#x201C;Federation&amp;#x201D; technology, allowing you to query a head node and have the data federated out to multiple databases. This improves both size and performance. You can read more about SQL Azure Federations here: &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/2281.federations-building-scalable-elastic-and-multi-tenant-database-solutions-with-sql-azure.aspx"&gt;http://social.technet.microsoft.com/wiki/contents/articles/2281.federations-building-scalable-elastic-and-multi-tenant-database-solutions-with-sql-azure.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;Analysis Services&lt;/font&gt;&lt;/strong&gt; - The Business Intelligence engine within SQL Server, called Analysis Services, can also handle extremely large data systems. In addition to traditional BI data store layouts (ROLAP, MOLAP and HOLAP), the latest version of SQL Server introduces the Vertipaq column-storage technology allowing more direct access to data and a different level of compression. You can read more about Analysis Services here: &lt;a href="http://www.microsoft.com/sqlserver/en/us/solutions-technologies/business-intelligence/analysis-services.aspx"&gt;http://www.microsoft.com/sqlserver/en/us/solutions-technologies/business-intelligence/analysis-services.aspx&lt;/a&gt; and more about Vertipaq here: &lt;a href="http://msdn.microsoft.com/en-us/library/hh212945(v=SQL.110).aspx"&gt;http://msdn.microsoft.com/en-us/library/hh212945(v=SQL.110).aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#800000"&gt;&lt;strong&gt;Parallel Data Warehouse &lt;/strong&gt;&lt;/font&gt;- The Parallel Data Warehouse (PDW) offering from Microsoft is largely described by the title. Accessed in multiple ways including using Transact-SQL (the Microsoft dialect of the Structured Query Language), it scales in parallel to extremely large datasets. It is a hardware and software offering - you can learn more about it here: &lt;a href="http://www.microsoft.com/sqlserver/en/us/solutions-technologies/data-warehousing/pdw.aspx"&gt;http://www.microsoft.com/sqlserver/en/us/solutions-technologies/data-warehousing/pdw.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;HPC Server&lt;/font&gt;&lt;/strong&gt; - Microsoft&amp;#x2019;s High-Performance Computing version of Windows Server deals not only with large data sets, but with extremely complicated computing requirements. A scale-out architecture and inter-operation with Linux systems, as well as dozens of applications pre-written to work with this server make this a capable &amp;#x201C;Big Data&amp;#x201D; system. It is a mature offering, with a long track record of success in scientific, financial and other areas of data processing. It is available both on premises and in Windows Azure, and also in a hybrid of both models, allowing you to &amp;#x201C;rent&amp;#x201D; a super-computer when needed. You can read more about it here: &lt;a href="http://www.microsoft.com/hpc/en/us/product/cluster-computing.aspx"&gt;http://www.microsoft.com/hpc/en/us/product/cluster-computing.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;Hadoop&lt;/font&gt;&lt;/strong&gt; - Pairing up with Hortonworks, Microsoft has released the Hadoop Open-Source system -&amp;#xA0; including HDFS and a Map/Reduce standardized software, Hive and Pig - on Windows and the Windows Azure platform. This is not a customized version; off-the-shelf concepts and queries work well here. You can read more about Hadoop here: &lt;a href="http://hadoop.apache.org/common/docs/current/"&gt;http://hadoop.apache.org/common/docs/current/&lt;/a&gt; and you can read more about Microsoft&amp;#x2019;s offerings here: &lt;a href="http://hortonworks.com/partners/microsoft/"&gt;http://hortonworks.com/partners/microsoft/&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;Windows and Azure Storage&lt;/font&gt;&lt;/strong&gt; - Although not an engine - other than a triple-redundant, immediately consistent commit - Windows Azure can hold terabytes of information and make it available to everything from the R programming language to the Hadoop offering. Binary storage (Blobs) and Table storage (Key-Value Pair) data can be queried across a distributed environment. You can learn more about Windows Azure storage here: &lt;a href="http://msdn.microsoft.com/en-us/library/windowsazure/gg433040.aspx"&gt;http://msdn.microsoft.com/en-us/library/windowsazure/gg433040.aspx&lt;/a&gt;&amp;#xA0; &lt;/p&gt;  &lt;h3&gt;Analysis&lt;/h3&gt;  &lt;p&gt;In a &amp;#x201C;Big Data&amp;#x201D; environment, it&amp;#x2019;s not unusual to have a specialized set of tasks for analyzing and even interpreting the data. This is a new field called &amp;#x201C;data Science&amp;#x201D;, with a requirement not only for computing, but also a heavy emphasis on math. &lt;/p&gt;  &lt;p&gt;&lt;font color="#800000"&gt;&lt;strong&gt;Transact-SQL &lt;/strong&gt;&lt;/font&gt;- T-SQL is the dialect of the Structured Query Language used by Microsoft. It includes not only robust selection, updating and manipulating of data, but also analytical and domain-level interrogation as well. It can be used on SQL Server, PDW and ODBC data sources. You can read more about T-SQL here: &lt;a href="http://msdn.microsoft.com/en-us/library/bb510741.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb510741.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;Multidimensional Expressions and Data Analysis Expressions&lt;/font&gt;&lt;/strong&gt; - The MDX and DAX languages allow you to query multidimensional data models that do not fit well with typical two-plane query languages. Pivots, aggregations and more are available within these constructs to query and work with data in Analysis Services. You can read more about MDX here: &lt;a href="http://msdn.microsoft.com/en-us/library/ms145506(v=sql.110).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms145506(v=sql.110).aspx&lt;/a&gt; and more about DAX here: &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=28572"&gt;http://www.microsoft.com/download/en/details.aspx?id=28572&lt;/a&gt;&amp;#xA0; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;HPC Jobs and Tasks &lt;/font&gt;&lt;/strong&gt;- Work submitted to the Windows HPC Server has a particular job - essentially a reservation request for resources. Within a job you can submit tasks, such as parametric sweeps and more. You can learn more about Jobs and Tasks here: &lt;a href="http://technet.microsoft.com/en-us/library/cc719020(v=ws.10).aspx"&gt;http://technet.microsoft.com/en-us/library/cc719020(v=ws.10).aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;HiveQL &lt;/font&gt;&lt;/strong&gt;- HiveQL is the language used to query a Hive object running on Hadoop. You can see a tutorial on that process here: &lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/6628.aspx"&gt;http://social.technet.microsoft.com/wiki/contents/articles/6628.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;Piglatin &lt;/font&gt;&lt;/strong&gt;- Piglatin is the submission language for the Pig implementation on Hadoop. An example of that process is here: &lt;a href="http://blogs.msdn.com/b/avkashchauhan/archive/2012/01/10/running-apache-pig-pig-latin-at-apache-hadoop-on-windows-azure.aspx"&gt;http://blogs.msdn.com/b/avkashchauhan/archive/2012/01/10/running-apache-pig-pig-latin-at-apache-hadoop-on-windows-azure.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;Application Programming Interfaces &lt;/font&gt;&lt;/strong&gt;- Almost all of the analysis offerings have associated API&amp;#x2019;s - of special note is Microsoft Research&amp;#x2019;s Infer.NET, a new language construct for framework for running Bayesian inference in graphical models, as well as probabilistic programming. You can read more about Infer.NET here: &lt;a href="http://research.microsoft.com/en-us/um/cambridge/projects/infernet/"&gt;http://research.microsoft.com/en-us/um/cambridge/projects/infernet/&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;h3&gt;Presentation&lt;/h3&gt;  &lt;p&gt;Lots of tools work in presenting the data once you have done the primary analysis. In fact, there&amp;#x2019;s a great video of a comparison of various tools here: &lt;a href="http://msbiacademy.com/Lesson.aspx?id=73"&gt;http://msbiacademy.com/Lesson.aspx?id=73&lt;/a&gt; Primarily focused on Business Intelligence. That term itself is now not as completely defined, but the tools I&amp;#x2019;ll show below can be used in multiple ways - not just traditional Business Intelligence scenarios. Application Programming Interfaces (API&amp;#x2019;s) can also be used for presentation; but I&amp;#x2019;ll focus here on &amp;#x201C;out of the box&amp;#x201D; tools. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;Excel&lt;/font&gt;&lt;/strong&gt; - Microsoft&amp;#x2019;s Excel can be used not only for single-desk analysis of data sets, but with larger datasets as well. It has interfaces into SQL Server, Analysis Services, can be connected to the PDW, and is a first-class job submission system for the Windows HPC Server. You can watch a video about Excel and big data here: &lt;a href="http://www.microsoft.com/en-us/showcase/details.aspx?uuid=e20b7482-11c9-4965-b8f0-7fb6ac7a769f"&gt;http://www.microsoft.com/en-us/showcase/details.aspx?uuid=e20b7482-11c9-4965-b8f0-7fb6ac7a769f&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;Reporting Services&lt;/font&gt;&lt;/strong&gt; - Reporting Services is a SQL Server tool that can query and show data from multiple sources, all at once. It can also be used with Analysis Services. You can read more about Reporting Services here: &lt;a href="http://www.microsoft.com/sqlserver/en/us/solutions-technologies/business-intelligence/reporting-services.aspx"&gt;http://www.microsoft.com/sqlserver/en/us/solutions-technologies/business-intelligence/reporting-services.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;Power View&lt;/font&gt;&lt;/strong&gt; - Power View is a &amp;#x201C;Self-Service&amp;#x201D; Business Intelligence reporting tool, which can work with on-premises data in addition to SQL Azure and other data. You can read more about it and see videos of Power View in action here: &lt;a href="http://www.microsoft.com/sqlserver/en/us/future-editions/business-intelligence/SQL-Server-2012-reporting-services.aspx"&gt;http://www.microsoft.com/sqlserver/en/us/future-editions/business-intelligence/SQL-Server-2012-reporting-services.aspx&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#800000"&gt;SharePoint Services -&lt;/font&gt;&lt;/strong&gt; Microsoft has rolled several capable tools in SharePoint as &amp;#x201C;Services&amp;#x201D;. This has the advantage of being able to integrate into the working environment of many companies. You can read more about&amp;#xA0; lots of these reporting and analytic presentation tools here: &lt;a href="http://technet.microsoft.com/en-us/sharepoint/ee692578"&gt;http://technet.microsoft.com/en-us/sharepoint/ee692578&lt;/a&gt;&amp;#xA0;&lt;/p&gt;  &lt;p&gt;This is by no means an exhaustive list - more capabilities are added all the time to Microsoft&amp;#x2019;s products, and things will surely shift and merge as time goes on. Expect today&amp;#x2019;s &amp;#x201C;Big Data&amp;#x201D; to be tomorrow&amp;#x2019;s &amp;#x201C;Laptop Environment&amp;#x201D;. &lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;img height="1" src="http://blogs.msdn.com/aggbug.aspx?PostID=10270081" width="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/8WSgeQjfCuE" height="1" width="1"/&gt;</description><pubDate>Mon, 20 Feb 2012 16:16:27 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/BuckWoody/big-data-a-microsoft-tools-approach/</guid><feedburner:origLink>http://dbpedias.com/blogs/BuckWoody/big-data-a-microsoft-tools-approach/</feedburner:origLink></item><item><title>SQL Server – Powershell  Active Directory search</title><link>http://feedproxy.google.com/~r/dbpedias/~3/rqpkBc1w2us/</link><description>&lt;div&gt;
&lt;p&gt;&amp;#xA0;Working with Powershell and Active Directory simplifies some complex tasks for the &lt;a href="http://www.sqlserver-dba.com/dba/" target="_self" title="SQL Server DBA"&gt;DBA&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Active Directory is LDAP compliant. This means the RFC 1779 and RFC 2247 standards are met.&lt;/p&gt;
&lt;p&gt;This example lists all employees on an LDAP path. This method requires knowledge of the LDAP path .&lt;/p&gt;
&lt;p&gt;&amp;#xA0;Common Name (cn)&lt;/p&gt;
&lt;p&gt;Organizational Unit (ou)&lt;/p&gt;
&lt;p&gt;Domain Component (dc)&lt;/p&gt;
&lt;p&gt;&amp;#xA0;&lt;/p&gt;
&lt;pre class="brush:tsql"&gt;$group = [ADSI] "LDAP://cn=MYORGAllEmployees,ou=MYORG,dc=south,dc=syborg,dc=net" 
foreach ($member in $group.member) 
{ 
$member 
} 

&lt;/pre&gt;
&lt;p&gt;&amp;#xA0;&lt;/p&gt;
&lt;h1&gt;&lt;strong&gt;See Also&lt;/strong&gt;&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.sqlserver-dba.com/2011/07/powershell-sql-server-security-audit.html" target="_self" title="Powershell sql server security audit "&gt;Powershell sql server security audit&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/dbpedias/~4/rqpkBc1w2us" height="1" width="1"/&gt;</description><pubDate>Mon, 20 Feb 2012 10:13:30 -0600</pubDate><guid isPermaLink="false">http://dbpedias.com/blogs/sql-server-dba/sql-server-powershell-active-directory-search/</guid><feedburner:origLink>http://dbpedias.com/blogs/sql-server-dba/sql-server-powershell-active-directory-search/</feedburner:origLink></item></channel></rss>

