Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand

Posts Tagged ‘tips’

Sql Server – Transact Sql to make a column unique

Posted by JP on April 23, 2011

ADD CONSTRAINT NewConstraintName


Posted in SQL Server | Tagged: , , | Leave a Comment »

How to shrink Sql Server Database?

Posted by JP on April 21, 2011

The Enterprise Management studio provides an option to shrink the database.


Step 1: Open Enterprise Management Studio (i am using sql server 2008) and select database, right click and choose Tasks>Shrink



Step 2: In the appearing dialogue press Ok to start the shrink process.


Posted in SQL Server | Tagged: , , | Leave a Comment »