Solved

SQL 2005 database

Posted on 2008-10-23
3
159 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS SQL order by with "over" statement and row_number() 11 50
Caste datetime 2 62
Query 14 57
SQL Server Configuration Manager WMI Error 11 16
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

766 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