473,395 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

how to modify colum (alter table) of table that is replicated?

Hello!
I have an MS SQL-server with an database, that runs replication. In this
database there is an table with an column
i want to extend; varchar(50)->varchar(60).

But I get this error (using design window of Enterprise Manager): Cannot
drop the table 'MytableName' because it is being used for replication.

Thanks for help
Bjoern

Jul 20 '05 #1
1 9032
Unfortunately you need to remove the article (table) from the publication
before you can alter any column in it.

This does mean stopping the replication, and dropping and recreating
subscriptions.

Cheers
Dean

"bdjensen" <b.***************@gmx.net> wrote in message
news:3f***********************@dread11.news.tele.d k...
Hello!
I have an MS SQL-server with an database, that runs replication. In this
database there is an table with an column
i want to extend; varchar(50)->varchar(60).

But I get this error (using design window of Enterprise Manager): Cannot
drop the table 'MytableName' because it is being used for replication.

Thanks for help
Bjoern

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: anzenews | last post by:
Hello! I have a weird problem... The application I use issues this SQL from time to time: alter table t modify id int(6) unique not null auto_increment; The problem is that this SQL adds a...
4
by: jane | last post by:
HI, I try to create summary table like following: create table summary (a int, b int, c int) (select a.aa, b.bb, b.cc from table_a a ,table_b b where a.key=b.key) data initially deferred...
1
by: Eric | last post by:
Hello, I have a Existing table with three columns that have a data type of string. I want to write VBA code that will modify one of the colums to DataType of Number. Also, I'm looking for code...
6
by: Giuseppe Chielli | last post by:
Hi to everyone! I'm new in this NG. I'm posting this message just for learning how can I modify the type of a field in a table via VBA code. Is that possible? And is anyone so kind to post me some...
4
by: Brian Wotherspoon | last post by:
Hi all, I'm using SQL Server 2000 SP3 to store data for real time transaction processing. I have set up replication to another server using a push subscription to give me immediate backup. ...
5
by: mail | last post by:
Urgent help needed! I moved an application from ASP+ACCESS to ASP+MS SQLSERVER and I have the following problem: If the join on two tables results on duplicate colum names (which appear in...
5
by: Giacomo | last post by:
Hi, I’ve the following error message: --------------- ALTER TABLE . ALTER COLUMN varchar(10) Go Server: messaggio 4929, livello 16, stato 1, riga 1
2
by: Khundeen | last post by:
Hi, I am trying to modify the primary key of a table. We need to add new field and make it part of the Primary key of the table. I thought I can use this SQL Statement. ALTER TABLE...
1
by: andy | last post by:
Hi All Am new to sql server to sobear with me, have checked around but cant find an answer to this. I want to change fieldname from nvarchar(50) to nvarchar(255) as part of a script Am...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.