• Thanks Matak,

    PFB ddl. the requirement is resemble with the code which i posted. Starttime and endtime will select by front end and i want to add in the back end in 15 mins slot that is four slot per hour. thats it.

    USE [ReportsDev]

    GO

    /****** Object: Table [dbo].[tblPlaner] Script Date: 04/09/2013 21:56:21 ******/

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    CREATE TABLE [dbo].[tblSuperviosr](

    [PlanerID] [numeric](18, 0) IDENTITY(1,1) NOT NULL,

    [AdvisorID] [int] NOT NULL,

    [StartDate] [date] NULL,

    [StartTime] [time](7) NULL,

    [EndTime] [time](7) NULL,

    [Flag] [bit] NULL,

    CONSTRAINT [PK_tblSuperviosr] PRIMARY KEY CLUSTERED

    (

    [PlanerID] ASC

    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]

    ) ON [PRIMARY]

    GO