Solved

SQL 2005 database

Posted on 2008-10-23
3
160 Views
Last Modified: 2012-05-05
CAn someone please write a sql script that will generate field lenght on all user tables in SQL 2005
0
Comment
Question by:Abeokuta
  • 2
3 Comments
 
LVL 37

Expert Comment

by:momi_sabag
ID: 22784942
what do you mean generate field lenght?
for which field?
you have that data in information_schema.columns
0
 

Accepted Solution

by:
Abeokuta earned 0 total points
ID: 22785097
i want to  convert some of my database table to unicode but the lenght of some of the fileds are 7500 ,but the maximun lenght for unicode is 4000 In sql 2005 , if i specify nvarchar max would that be able to accomdate unicode for that field
0
 
LVL 37

Expert Comment

by:momi_sabag
ID: 22785128
nvarchar(max) in sql server 2005 is able to accomodate up to 1,073,741,823 characters
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question