sp_oamethod issue? writeline truncates the line...

  • using

    exec @fsoe = sp_oamethod @fm, 'writeline' , NULL, @instring

    I've noticed that no matter how large @instring is - its a varchar(5000) - the resulting line in the file is truncated at 256 characters.

    is this an SQL thing or a filesystemobject thing?

    More important, how do I get around it?

  • IGNORE!

    found the answer, though the MS reasoning isn't too good.

    6.5 and 7 (had) bug that chopped the string into 256 char chunks, but then had a problem with it.

    with 2k it at least uses the first chunk...

    anyway, using write method instead works fine!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply