Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 script in script getting cut off

Author  Topic 

nic
Posting Yak Master

209 Posts

Posted - 2003-09-25 : 12:16:36
Hi,
I have a sproc that creates a T-SQL statement that I can run later. Anyway, when I run it, the outputted text gets cut off. Is there a way to increase the width of the select? For example, if I run the below statement in Query Analyzer it doesn't return the whole result. the value gets cut off and the last digit is a 5 when it should be 0. I want to return the whole string, any ideas? Do I have to declare a width or something?

select '1234567890123456789012345678901234567890123456789 012345678901234567890123456789012345678901234567890123456789 012345678901234567890123456789012345678901234567890123456789 012345678901234567890123456789012345678901234567890123456789 012345678901234567890123456789012345678901234567890123456789 0123456789012345678901234567890'

thanks

Nic

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-09-25 : 12:18:48
Go to Tools, Options, Results. Change the Maximum characters per column field.

Tara
Go to Top of Page
   

- Advertisement -