Forum Replies Created

Viewing 15 posts - 346 through 360 (of 660 total)

  • RE: Get rid of cursors

    Here it is

    CREATE TABLE [dbo].[IX_SubInspectionTypes](

    [ItemId] [int] IDENTITY(1,1) NOT NULL,

    [SubInspectionTypeId] [int] NULL,

    [InspectionItemId] [int] NULL,

    [Active] [bit] NULL,

    CONSTRAINT [PK_IX_SubInspectionTypes] PRIMARY KEY NONCLUSTERED

    (

    [ItemId] ASC

    )WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]

    ) ON [PRIMARY]

    209True

    134064True

    12910934True

    1044504314True

    1445905988True

    1437806012True

    CREATE TABLE...

  • RE: Get rid of cursors

    exactly.

    also you can check the result set i have posted.

  • RE: Get rid of cursors

    Here it is

    TAble Inspectionitems

    CREATE TABLE [dbo].[InspectionItems](

    [ItemId] [int] IDENTITY(1,1) NOT NULL,

    [TypeId] [int] NULL,

    [FloorId] [int] NOT NULL,

    [ProgramInstanceId] [int] NULL,

    [InspectionItemName] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

    [ZoneInstanceId] [int] NULL,

    [Active] [bit] NULL CONSTRAINT [DF_InspectionItems_Active] DEFAULT...

  • RE: Get rid of cursors

    Donald L Berndt II

    can i expect any help from you regarding my store proc. I guess,am not able to use CTE's in the right way?

  • RE: Get rid of cursors

    help

  • RE: Get rid of cursors

    Hey Lynn

    I really appreciate you prompt replies, though u cudnt spend time on this but am happy with your inputs.

    I understand your job will be priority for you. Atleast with...

  • RE: Get rid of cursors

    guys thanks for your hep so far.

    I was just looking for something like CTE's which can replace cursors. I didnt work much on 2005 or CTE's. appreciate for that.

  • RE: Get rid of cursors

    Lynn Pettis

    I hope i gave everything u asked?

  • RE: Get rid of cursors

    Audits

    270396/27/2006 12:00:00 AM6/22/2006 12:00:00 AM056f124d-5c8d-45c6-bf5e-729be10dc28d056f124d-5c8d-45c6-bf5e-729be10dc28d0259FalseNULLNULL04848100NULLNULLFalseFalseNULL100

    274047/12/2006 12:00:00 AM5/9/2006 12:00:00 AM056f124d-5c8d-45c6-bf5e-729be10dc28d5fdd765e-75fd-4983-a7cf-3f17cce8cb700259FalseNULLNULL04545100NULLNULLFalseFalseNULL100

    274057/12/2006 12:00:00 AM5/17/2006 12:00:00 AM056f124d-5c8d-45c6-bf5e-729be10dc28d56ba905f-fc0f-45ae-9439-1be13dd1ce2d0259FalseNULLNULL04848100NULLNULLFalseFalseNULL100

    274067/12/2006 12:00:00 AM5/30/2006 12:00:00 AM056f124d-5c8d-45c6-bf5e-729be10dc28d56e084bb-23d5-4cf9-ad87-52b6810b2bb60259FalseNULLNULL04848100NULLNULLFalseFalseNULL100

    Audits_InspectionItems

    2794748NULL33649164919

    2794749NULL33649164920

    2794750NULL33649164921

    2794751NULL33649164922

    2794752NULL33649164923

    2794753NULL33649164924

    Audits_Itemscorres

    2794748NULL33649164919

    2794749NULL33649164920

    2794750NULL33649164921

    2794751NULL33649164922

    2794752NULL33649164923

    2794753NULL33649164924

  • RE: Get rid of cursors

    can this be done through CTE's or some simple queries.

  • RE: Get rid of cursors

    help

  • RE: Get rid of cursors

    guys any help, its really urgent for me.

    I was expecting there shud be something we cana do in 2005.

  • RE: Get rid of cursors

    Any suggestions on how can i run this without using cursors.

    appreciate your inputs here.

  • RE: Slow Query

    But still i just wonder why wud it take 2 days to delete 15 million records.

Viewing 15 posts - 346 through 360 (of 660 total)