Forum Replies Created

Viewing 15 posts - 2,926 through 2,940 (of 15,381 total)

  • RE: DB Maintenance - SPROCs running slow

    sgrimard (4/29/2015)


    Good day,

    Everytime I run my maintenance (daily at night), my SPROCs start to time out. If I run my SPROCs directly in Management Studio, they run fine since it...

  • RE: Unable to add more than around 4000 characters to a job step

    Scott-144766 (4/29/2015)


    SQL Server 2012 SP2 Enterprise Edition (11.0.5058.0) on Windows Server 2008 R2

    At some point a few months ago we encountered an issue where we hit some size limit on...

  • RE: Time OUT

    mandirkumar 18293 (4/29/2015)


    Hi,

    For a sp which is causing dead lock,I replaced cursors ,so now it is causing time out some times only.

    Fortunately this is happening in production only , not...

  • RE: Primarykey Foreignkey relationships

    This pretty obviously homework. Did this structure come from your professor or did you design it? What is the actual assignment?

  • RE: Get Fiscal Week Number

    mm7861 (4/29/2015)


    Hi all,

    Our fiscal year starts on 2015-04-06, and I need to assign a week number that starts from this date. Any idea how I can achieve this?

    This piece of...

  • RE: Query to select parent details from child table

    sqlquery29 (4/29/2015)


    Hi ...I got sample DDL's

    CREATE TABLE Equipment(

    [Equipment_ID] [bigint] NOT NULL,

    [Version] [int] NOT NULL,

    [Code] [nvarchar](50) NOT NULL,

    [Description] [nvarchar](100) NOT NULL,

    [IsActive] [bit] NOT NULL,

    [TreeLevel] [smallint] NOT NULL,

    [Parent_Id] [int] NULL,

    CONSTRAINT [pk_Equipment] PRIMARY...

  • RE: Are the posted questions getting worse?

    andrew gothard (4/29/2015)


    Sean Lange (4/28/2015)


    Lynn Pettis (4/28/2015)


    Lynn Pettis (4/28/2015)


    Wow, what some people expect us volunteers.

    The OP just PMed me with all the info that had been posted on the forum...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (4/28/2015)


    Lynn Pettis (4/28/2015)


    Wow, what some people expect us volunteers.

    The OP just PMed me with all the info that had been posted on the forum thread. Apparently he...

  • RE: CTE Problem Redux

    SQLRNNR (4/28/2015)


    Hey, so far it is improved in % correct. Only 53% got it correct when I asked a very similar question a few years back.

    http://www.sqlservercentral.com/questions/Subquery/75557/

    Phew!!! I got yours correct...

  • RE: solving timeout

    Table definitions and indexes would go a long way to helping you here. Can you post them?

  • RE: CTE Problem Redux

    Ed Wagner (4/28/2015)


    With 87% getting it right at this point, that's encouraging. I guess I just took knowing that for granted and never gave it a second thought. ...

  • RE: Query with 85 Columns

    neeraj-344433 (4/27/2015)


    @Sean Lange.

    I certainly have no intention to ignore anybody who is trying to help me. If thats the message being conveyed, my apologies.

    So lets start from beginning ...

  • RE: Query with 85 Columns

    neeraj-344433 (4/27/2015)


    Will it help if I clustered index on the table by adding a identity column to it. As of now, its a heap because there is no index and...

  • RE: Query with 85 Columns

    neeraj-344433 (4/27/2015)


    I need to know how to deal with the resultset with all the columns.

    Not sure what that means. It is acceptable that the query takes 32 minutes to load....

  • RE: query required

    peterausger (4/27/2015)


    ------ create table

    create table test222(sid bigint, scode nvarchar(50), parentid bigint, sname nvarchar(50))

    insert into test222 values (1, '2323', 0, 'iam a boy')

    insert...

Viewing 15 posts - 2,926 through 2,940 (of 15,381 total)