Forum Replies Created

Viewing 15 posts - 46 through 60 (of 208 total)

  • RE: Huge varbinary or image to hex string

    A small typo in code:

    IF ((@len - @pos) < 0)

    SET @offset = @len - @pos

    ELSE

    ...

  • RE: Huge Bitmap

    Index would help you with ordered search. Such bitmap search is random search of bit matrix. I'm not aware of any index type that would help you here. It always...

  • RE: Delete historical data little by little and often, or a huge bulk more seldom?

    Partioning older data may be a good idea to prevent locking, if locking is indeed a possible issue. We looked into partioning tables a year or two back - but...

  • RE: Huge Bitmap

    Could you explain the need for such bitmap and the way you search it?

    It looks like like one of solutions for full text search I was evaluating many years...

  • RE: how to update sqlserver2005 to unicode,support multinational

    It supports unicode by default, no updates needed.

    If you have an existing database, you have to alter it to use nvarchar instead of varchar.

  • RE: isolation level solution to unique index violation

    Ken's solution should work just fine, probably even better as it's unlikely to get an exception.

    However, sometimes it's not desirable for a SP to handle transaction.

    I'm interested in performance comparison...

  • RE: isolation level solution to unique index violation

    It IMHO does.

    First you try the insert and if you get a violation, you catch the exception and try update.

  • RE: isolation level solution to unique index violation

    Simply revert the order, first insert and then update:

    begin try

    insert...

    set @inserted=1;

    end try;

    begin catch

    set @inserted=0;

    end catch;

    if @inserted=0

    update...;

  • RE: Side by Side

    The topic does not say that it won't run with sqlserver 7, it's just too old to be listed.

    Logic says it should run just fine with any 32bit version of...

  • RE: How to Insert multiple rows if quantity is more than 1

    Not a god requirement. How would the client distinguish them? Each part should have its serial number, so if the user does not enter (type, scan,...) each part, multiple lines...

  • RE: Nested cursor

    First of all, there are at least two mistakes: both "fetch next..." are after the loop and I think you have to close and deallocate C1 in the outer loop.

    Second,...

  • RE: Deterministic functions

    Jeffrey Williams (12/18/2008)


    Sorry, but what the @%$#%@ does that mean?

    What did you try, and how did if 'not work'.

    Does it really matter?

    Yesterday I went to connect, logged in, browsed, but...

  • RE: Deterministic functions

    Matt Miller (12/18/2008)


    Hmm...I'm not sure I understand the problem.

    You CAN make certain T-SQL UDF functions show up as deterministic, assuming that they actually ARE deterministic and you make them schemabinding....

  • RE: Deterministic functions

    I tried at connect, but failed.

  • RE: SQLCMD or BCP

    You're free do disagree. DOS was an OS at the time and command.com was its command shell. It abstracted access to some devices like printer, serial ports and disks. If...

Viewing 15 posts - 46 through 60 (of 208 total)