Archive

Archive for the ‘Database’ Category

Must Read Today – New Links (31 July 2007)

July 31, 2007 Ali Leave a comment

Must Read Today – New Links (26 July 2007)

July 26, 2007 Ali 1 comment

SQL Server 2008 — New and Exciting!

July 26, 2007 Ali Leave a comment

Most exciting part of Microsoft Business Intelligence Conference was first public demonstration of SQL Server 2008.  Yea, yet another thing from Microsoft appearing at mind-boogling pace for us to grok, but enhancements/features promised are quite exciting. Few key points of session were:

1. SQL Server 2008 focus on four areas primarily;

    * Enterprise Data Platform:
    A typical organization uses databases in lot of areas (desktop, analytics, server farm, data warehouse etc.) and usually    different databases are used at different places, depending on performance, cost, scalibility, load requirements.  SQL Server 2008 will target to cater need of all of them to make it being used ubiquitos all over the organisation.

   * Dynamic Development
    This relates to LINQ. EDM (Entity Data Model), originating from Object Spaces idea, is conceptual object oriented schema for developer. Basically it will be XML Mapping File in application, where entity properties and relationships are mapped to database tables and relationships. With ADO.NET 3.5 and an add-in for SQL Server 2008, it will provide framework and its graphical designer. This is certainly very exciting and those who have already fallen in love with LINQ, can’t afford to ignore it.

    * Beyond Relational
    New data types for filestreams and geocoded information system!

2. T-SQL Intellisense and other rich-client side capabilities in Microsoft SQL Server Management Studio.

3. Improved data warehousing, data mining and BI features.

4. T-SQL will have extended date and time data types.

Got any brain cells excited :) ! do have a look “SQL Server 2008 Product Overview” at white paper here.

Top 10 Hidden Gems in SQL Server 2005

April 16, 2007 Ali Leave a comment

Worflow Instance ID as Primary Key

April 2, 2007 Ali Leave a comment

Suppose you have a simple Purchase Ordering application, built using Workflow Foundation. Since each PO can have multiple statuses (created, authorized, sent) this problem is best suited to be solved using state-machine workflow. Now each status change of PO can happen in hours/days/months, as PO may get created today, but since manager is off to Hawaii he will only see it after two weeks’ off. This means particular PO’s workflow will get persisted. To have it get back from persistence state, we need to have workflow’s instance ID. I was thinking about adding an additional field in PO table in database, named as ‘POWorkflowID’, until I read this thanks to this post at ‘Coding Horror’. That is, I will not have POId as Primary Key, rather Workflow Instance ID will act as a primary key of my Purchase Order table. Good idea, isn’t it!