Welcome to MSDN Blogs Sign in | Join | Help

Rafat Sarosh

Tech Crumbs collected along the way ...

Syndication

Browse by Tags

All Tags » SQL   (RSS)
Push or Pull Replication
A study conducted by MSCOM ops team found 1 GB of data took 110 Minute to push and 12.5 minutes to Pull across the continents. Furthermore SQL 2008 with Windows Server 2008 made a huge difference over SQL 2005 and Windows Server 2003. Push subscription Read More...

Posted Wednesday, March 11, 2009 7:07 AM by rafats | 0 Comments

Log Parser and SQL
I thought everyone who wants to know how to put the windows events or IIS Logs to SQL already know about it. But for my amazement it is not the case. Quick search on the web did not turned up a short tutorial. So how to move my window events to SQL? Here Read More...

Posted Friday, February 27, 2009 3:18 PM by rafats | 0 Comments

Filed under: ,

How to partition Cube - using C#
There are many different ways you can partition a cube. Here I am talking about – how you can use C# to partition a cube from a DTS package? Using Microsoft.AnalysisServices Object API, you can travel the whole Hierarchy of objects and completely administer Read More...

Posted Tuesday, February 10, 2009 1:22 PM by rafats | 0 Comments

Filed under: , , ,

Life saver Queries.
These queries can save your life. Query to find the query using the most CPU: select highest_cpu_queries . plan_handle , highest_cpu_queries . total_worker_time , q . dbid , q . objectid , q . number , q . encrypted , q . [text] from ( select top 10 qs Read More...

Posted Friday, January 16, 2009 7:06 AM by rafats | 1 Comments

Filed under: , ,

Column Dependencies
Often it happens, that we want to play with a column value of a table. Not knowing the ramification of the column value, we have to resort to the back breaking manual process of finding the dependency on the column. Using the management studio, get the Read More...

Posted Wednesday, April 11, 2007 8:26 AM by rafats | 5 Comments

Filed under:

Performance Tips - SQL
We had an application which was not performing fast enough for our satisfaction. The application updates various tables with millions of records. We tweaked few things in our SQL and suddenly the speed of application improved to our target level. All Read More...

Posted Monday, December 11, 2006 5:10 PM by rafats | 1 Comments

Filed under: ,

Scope_Identity() and OUTPUT
I seen couple of articles talking about OUTPUT Clause of SQL 2005, but no one is warning the side affect of it on the scope_Identity() function. Let me explain with an example: You have a Table T1, and would like to save the auditing data from T1 to T2. Read More...

Posted Friday, July 21, 2006 2:16 AM by rafats | 2 Comments

Filed under:

Page view tracker