Microsoft
Software
Hardware
Network
Question : Query to find out greatest number of characters in a specified column
Can someone give me the syntax to write a query that will return the greatest number of characters in a specified column. Basically, I am in the process of converting a table's nChar fields and converting to nVarchar but want to check to make sure none of the columns I am converting are over nVarchar's max characters, 4000 characters.
Answer : Query to find out greatest number of characters in a specified column
select max(len(Field))
from table1
Substitur your field name in the "Field" place and then your table name instead of table1
Random Solutions
How do I install File/Tail.pm with ActivePerl 5.8.8 Build 820
Recently restored XP with Svc Pk 2 and now can't run Stylewriter Software gets error message unable to find Ckserve file.
Port Forwarding
XP repair installation is stuck in restart loop
Pay For Perfomance Model
Site Promotion/SEO/PPP/Adwords sales proposal
SQL express 2005 - create a DB admin equivalent user account
Excel: Stop macro if cell value = 0
When access a web site, it redirect to a domainselelr site
Multiple domains and SEO