partitioning in 2008

  • can you partition on

    nvarchar column with values mm/dd/yyyy. How to define the part... function, may need some conversion? and fg for part... sche...?

    syntax may help.

  • http://msdn.microsoft.com/en-us/library/ms345146(SQL.90).aspx

    http://blogs.msdn.com/menzos/archive/2008/06/25/table-partitioning-in-sql-2008.aspx

    http://sqlfool.com/2008/11/102/

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle

  • lakb200 (12/17/2009)


    can you partition on

    nvarchar column with values mm/dd/yyyy.

    Wait just a sec. An nvarchar column with a date in it? Why nvarchar and not datetime? If it's a date, it should be stored as datetime.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Appreciate your help.

    Cannot define as date time.populated by othe application.noticed though defining function in sequential order, it reshuffles from 01/31/2009,02/31/2009...01/31/2010...12/31/2010...12/31/2011 01/31/2009,01/31/2010,02/2009...12/31/2010,12/31/2011 and the values are in the wrong partition

  • lakb200 (12/18/2009)


    Cannot define as date time.

    Why not?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Checked further , it is populated in ERP system and they have restrictions on this format. 3rd party. Also there is no dd coming

    We just get MM/yyyy.

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply