SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 How can i change the datatype from varchar to nvar
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nazri
Starting Member

India
8 Posts

Posted - 08/01/2007 :  07:02:01  Show Profile  Reply with Quote
HI,
How can i change the datatype from varchar to nvarchra. i have more than 1000 tables in a Database and also there is dependency in the tables.

NeilG
Aged Yak Warrior

United Kingdom
530 Posts

Posted - 08/01/2007 :  08:32:34  Show Profile  Reply with Quote
Do you just mean something simple like this
alter table [tablename] alter column [colname] nvarchar(1000)

or are you trying to create something that will find the datatype and change it from there
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000