Why does my SQL Query Reports string of 30 characters max?

时间:2017-08-04 13:09:07

标签: sql sql-server database sql-server-2012 character

Whenever I run a query on SQL, it never reports more than 30 characters in a cell.

For Example,

If I needed to find Barbara Dawson's (fake name) address and I run the query:

select * from passes where last = 'dawson' and first = 'barbara'

The results will pull Barbara's information but her street address is cutoff. Instead of reporting "1501 Buckingham Crossing Apt # 507" it reports "1501 Buckingham Crossing Apt #"

I have run multiple procedures and queries and all the reports cut off at 30 characters. I double checked the program and it is written correctly on the program but not when I pull it from SQL.

This became an issue because we create mailing lists and when addresses are incorrect in the report, it results in a bunch of returned mail and wasted resources.

0 个答案:

没有答案