Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy text from one table to another...
Message
From
28/06/2005 15:51:10
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01027139
Message ID:
01027200
Views:
13
This message has been marked as the solution to the initial question of the thread.
>can you help me with this syntax
>
>
>update PostofficeFL set body = ( select template from TemplateFL with (nolock) where templateflid = 2 ) where Postofficeflid = @id
>
update PostofficeFL 
set body = TemplateFL.template 
FROM TemplateFL with (nolock) 
where TemplateFL.templateflid = 2 AND PostofficeFL.Postofficeflid = @id
>
>I'm getting this error:
>
>Server: Msg 279, Level 16, State 3, Line 10
>The text, ntext, and image data types are invalid in this subquery or aggregate expression.
>
>
Previous
Reply
Map
View

Click here to load this message in the networking platform