Solved

changing data type

Posted on 2011-03-04
4
323 Views
Last Modified: 2012-05-11
Hi,

I need to change data type of one of the tables, but the saving keeps timing out.  Any ideas?  thx
0
Comment
Question by:mcrmg
  • 2
4 Comments
 
LVL 23

Expert Comment

by:Rajkumar Gs
ID: 35039015
From which data type to which datatype ?
0
 

Author Comment

by:mcrmg
ID: 35039141
from varchar(50) to varchar(100), this field is empty, but there are more than 2 M records..thx
0
 
LVL 40

Accepted Solution

by:
Sharath earned 125 total points
ID: 35039205
Post your statement. Are you trying like this?
alter table your_table alter column your_col varchar(100)
0
 

Author Comment

by:mcrmg
ID: 35039238
I was using design then save...thx
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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 + Insert Into Table - If Doesnt Exist 9 36
Deal with apostrophe in stored procedures 8 43
T-SQL:  Collapsing 9 25
Weighted Randomizing 6 16
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

832 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