Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String or binary data would be truncated
Message
De
04/12/2006 14:10:04
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01174610
Message ID:
01174694
Vues:
7
Hi Borislav,

I wish it were so easy, but line 8 did not have anything to do with the problem (I was running it in SSMS in a query). Anyhow, it's all solved now.

>>I couldn't work out a way to tell which field was causing the problem so I just used the CAST() function to ensure all string fields were the right length and that solved the problem.
>>
>>
>>>Hi,
>>>
>>>I've got an error when trying to insert some data selected from one table into another:
>>>
>>>Msg 8152, Level 16, State 14, Line 8
>>>String or binary data would be truncated.
>>>
>>>Is there any way for me to tell which field it is referring to?
>
>Where you execute this statement?
>if in QA go to line 8 and see what fields you have on that line.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform