In etwa so:
USE pubs GO EXEC sp_dboption 'pubs', 'select into/bulkcopy', 'true' GO DECLARE @ptrval binary(16) SELECT @ptrval = TEXTPTR(pr_info) FROM pub_info pr, publishers p WHERE p.pub_id = pr.pub_id AND p.pub_name = 'New Moon Books' WRITETEXT pub_info.pr_info @ptrval 'New Moon Books (NMB) has just released another top ten publication. With the latest publication this makes NMB the hottest new publisher of the year!' GO EXEC sp_dboption 'pubs', 'select into/bulkcopy', 'false' GO oder so: EXEC sp_dboption 'pubs', 'select into/bulkcopy', 'true' GO DECLARE @ptrval binary(16) SELECT @ptrval = TEXTPTR(pr_info) FROM pub_info pr, publishers p WHERE p.pub_id = pr.pub_id AND p.pub_name = 'New Moon Books' UPDATETEXT pub_info.pr_info @ptrval 88 1 'b' GO EXEC sp_dboption 'pubs', 'select into/bulkcopy', 'false' GO > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Christoph Schmid > Sent: Samstag, 29. November 2003 09:36 > To: [EMAIL PROTECTED] > Subject: Re: [Coffeehouse] text-variable in stored procedure > deklarieren > > > Hallo > > >Das hat damit zu tun, da� Text nicht in eine 8KB Page eines > SQL Server > >Extents reinpa�t und SQL Server damit somit nicht in Stored > Procedures > >umgehen kann. Du kannst hier entweder die diversen > >Manipulationsfunktionen verwenden > > > Und die w�ren? Ich m�chte nur die Daten auslesen und dann > wieder in die > zweite Tabelle speichern. > Mit dem Inhalt selber will ich gar nichts machen. > > > oder Extended Stored Procedures > >schreiben wo du dann im native code darauf zugreifst. > > > > > Das t�nt sehr kompliziert. :-) > > _______________________________________________ > Coffeehouse mailing list > [EMAIL PROTECTED] > http://www.glengamoi.com/mailman/listinfo/coffeehouse > _______________________________________________ Coffeehouse mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/coffeehouse
