Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy text from one table to another...
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01027139
Message ID:
01027200
Vues:
12
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.
>
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform