Is there a way to transfer ntext data from one table to another? MSSQL2000
- From: "Igor" <jerosimic@xxxxxxxxx>
- Date: 29 Aug 2006 05:47:35 -0700
Is there a way to transfer ntext data from one table to another?
I tried this
UPDATE [projects]
SET [description] = (SELECT [description_ntext] FROM [table] WHERE
[id]=1)
WHERE [id_project] = 1;
and this
DECLARE @DESCRIPTION ntext
SET @DESCRIPTION = (SELECT [bids].[bid_conditions] FROM [bids],
[projects] WHERE [bid_accepted_id] = [bids].[id_bid] AND [id_project] =
@ID_PROJECT);
UPDATE [projects]
SET [description] = @DESCRIPTION
WHERE [id_project] = 1;
none of those work in MSSQL2K,
error reported is "The text, ntext, and image data types are invalid
for local variables."
.
- Follow-Ups:
- Re: Is there a way to transfer ntext data from one table to another? MSSQL2000
- From: Erland Sommarskog
- Re: Is there a way to transfer ntext data from one table to another? MSSQL2000
- Prev by Date: Re: Help me with this query please.
- Next by Date: Re: delete sql server registration in tsql
- Previous by thread: OLE error code:80040E14
- Next by thread: Re: Is there a way to transfer ntext data from one table to another? MSSQL2000
- Index(es):
Relevant Pages
|