Forum Replies Created

Viewing 15 posts - 166 through 180 (of 1,082 total)

  • RE: Max size of varchar column

    I agree with the latter two posts as well.

    It also looks like your Error message is being raised from Usp_MessageBoard_InsertReply

    However the proc you posted for us is [usp_MessageBoard_InsertMessage].

    Please could you...

  • RE: Max size of varchar column

    The Max lengh for a VARCHAR in 2000 is VARCHAR(8000)

    Could you show us the table definition of the Messages table in your proc please

    Also is the error in SQL or...

  • RE: Max size of varchar column

    Could you show us your code PLEASE...

  • RE: Max size of varchar column

    could you post some code please

  • RE: Query Timeout

    I'm not 100% that that code is indicating what we thinking.

    I tested it on my table:

    where RowNum = SomeInt -- 1678

    where 1 = 1 -- 5

    where RowNum = RowNum --...

  • RE: Query Timeout

    The reason I ask the above and I guess it's related to the OP.

    for me with a table of 1mil rows I get very much the same results for the...

  • RE: Query Timeout

    nice one.

    I've done some testing with clustered and non-clustered indexes and combinations of both and the results are the same.

    I was also thinking this might be a target for a...

  • RE: Query Timeout

    That is very very interesting I must say, I wonder if this happens everytime?

  • RE: Query Timeout

    I totally see what you mean.

    But you right we need some advice here, I'll try and get some data together and see if I can work it out from a...

  • RE: Query Timeout

    This all sounds very very interesting, could you explain a bit more about what you mean by Shortcircut OR ?

    I've also noticed that

    @Param IN (0,Column2)

    produced a different order of the...

  • RE: Query Timeout

    I'd be very interested in seeing the execution plans if that is still possible.

    I have done some testing on my demo table of a mill rows and the results are...

  • RE: How to improve the performance of a table

    As Gail mentioned please supply more information

  • RE: Error converting data type nvarchar to float

    Ok you need to make some var changes.

    You are using a CHar(20) which has a set lenght and SQL is struggling to convert that.

    Have you tried changed @e_Ncas to a...

  • RE: Enforce Hash Join, but not with a hint?

    Hi Gail,

    When you say that a Clustered index is included in every non-clustered index, what do you mean by this?

    Do you have where I could read up about this and...

  • RE: Simple query yet difficult

    DECLARE @MyTable TABLE

    (Id INT,

    Team CHAR(1))

    INSERT INTO @MyTable

    SELECT 1, 'A' UNION ALL

    SELECT 2, 'A' UNION ALL

    SELECT 3, 'A' UNION ALL

    SELECT 3, 'B'

    SELECT

    Id,MAX(Team)

    FROM @MyTable

    GROUP BY Id

    Look at how the Group...

Viewing 15 posts - 166 through 180 (of 1,082 total)