Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

如何透過 stored procedure 把長文字資料儲存於 ntext 格式的欄位中?

5 views
Skip to first unread message

Phanix

unread,
Apr 21, 2006, 11:12:01 PM4/21/06
to
使用 C# 呼叫sql server中已經寫好的stored procedure,想把一些長文字資料(約 10MB 以上)寫入table 中的 ntext
欄位,可是無法順利寫入,但是如果是較短的資料卻可以順利寫入該資料庫表格,請問該如何解決?

我是使用 SqlClient 建立 SqlConnection 與 SqlCommand 來呼叫 stored procedure。

Bill Lin - MSFT

unread,
Apr 23, 2006, 6:53:23 PM4/23/06
to
????msdn??enable the text in row option:
http://msdn2.microsoft.com/en-us/library/ms189574.aspx

?????nvarchar(max)

Bill

"Phanix" <Pha...@discussions.microsoft.com> wrote in message
news:C01C7131-4D74-460D...@microsoft.com...
> ?? C# ??sql server??????stored procedure,?????????(? 10MB ??)??table ??
> ntext
> ??,????????,???????????????????????,????????
>
> ???? SqlClient ?? SqlConnection ? SqlCommand ??? stored procedure?


0 new messages