Forum Replies Created

Viewing 15 posts - 5,866 through 5,880 (of 7,597 total)

  • RE: Different result for one query

    A longshot, but, in the interests of being thorough ...

    Are there possibly different "table1" tables under different schemas? Could one session be reading from a different schema.table1 than the...

  • RE: simple division

    select 18 * 1.0/94

  • RE: SELECT clause

    GilaMonster (8/7/2014)


    ScottPletcher (8/7/2014)


    Which is why I don't quite understand the "definitely not!" 🙂

    You may have missed the word before that phrase.

    "The average of those isn't 'definitely not'"

    Yep, sure did :blush:

  • RE: INSERT Table into ITSELF???? WHY???

    Would it "ever not do that"?

    The INSERT could fail if it ran out of physical file space to hold the new rows.

  • RE: SELECT clause

    ChrisM@Work (8/7/2014)


    ScottPletcher (8/7/2014)


    ChrisM@Work (8/7/2014)


    gstarsaini (8/7/2014)


    Thanks for the reply.

    This means there is no effect on the queries?

    Each reply posted to your question implies "maybe", "probably" or "definitely". The average of these...

  • RE: SELECT clause

    ChrisM@Work (8/7/2014)


    gstarsaini (8/7/2014)


    Thanks for the reply.

    This means there is no effect on the queries?

    Each reply posted to your question implies "maybe", "probably" or "definitely". The average of these isn't "definitely...

  • RE: SELECT clause

    gstarsaini (8/7/2014)


    Do multiple SELECT queries on the same table but different condition in WHERE clause block or affect each other in any way?

    They definitely could. The WHERE conditions determine...

  • RE: Stupid Stored Procedure Question Nbr 1

    Bill Talada (8/6/2014)


    To be chosen as a deadlock victim, two threads must be inside transactions. If thread one updates tableA then tableB while thread two updates tableB then tableA...

  • RE: Difference In Query Plans while Executing Same Query Independently and Within Stored Proc

    For best performance overall, I strongly suspect you need to change the clustered indexes on the tables. We would have to look at least at missing index and index...

  • RE: Table size is Huge!!!

    LutzM (8/6/2014)


    Here are a few options to make that single table "smaller":

    If the table contains a rather large number of columns (e.g. 50 or more) you might consider "vertical partitioning",...

  • RE: Remotely called job returns success even if it's not finished

    Basically, I want to wait for the job to complete and then send either a success or failure email based on the outcome of the job.

    Again, I urge you to...

  • RE: Remotely called job returns success even if it's not finished

    For that, you could create a proc on the remote server. You execute the proc remotely, and the proc can issue the start job, and then monitor for job...

  • RE: Creating Index take a long time

    8 hours seems extraordinarily extreme for 172M rows. It seems like there must be more to the story.

    Are you changing the clustered index on the table? Does the...

  • RE: Find Changed Rows (and the row prior to the changes)

    I'd also create the best indexes while re-working the code.

    #Events indexes:

    1) Unique Clustered on ( ProcessDate, L4Ident ) --in that order

    2) Nonclustered on ( L4Ident )

    3) NNonclustered on ( LinkRL4,...

  • RE: Below Update statement is not working! any Idea why

    dkriplani97 (8/1/2014)


    this update statement is working

    UPDATE TableA

    SET Value = isnull((select top 1 Value from #tmpcopylibrary

    where dataid = tempquerydataid), 0).

    however this is not working

    UPDATE TableA

    SET Value = isnull((select top 1...

Viewing 15 posts - 5,866 through 5,880 (of 7,597 total)