The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

Using SQL Anywhere 12, is it possible to alter a remote table?

ALTER TABLE tablename ADD columnname decimal(12,0)

Returns : Alter remote table not implemented

Do I really need to drop and recreate the entire table when I want to add a column?

asked 19 Sep '12, 05:10

OBR's gravatar image

OBR
26691020
accept rate: 0%

retagged 24 Sep '12, 07:38

Daz%20Liquid's gravatar image

Daz Liquid
861182338


This seems to be a current restriction.

I guess you will have to either

  • do what you have suggested yourself or
  • alter the table from the remote side and then use drop table/create existing table on the local server.

FWIW, a while ago I had suggested an ALTER EXISTING TABLE statement - cf. this FAQ. This would not help with the first solution, but would ease the second one a little bit...

permanent link

answered 19 Sep '12, 05:46

Volker%20Barth's gravatar image

Volker Barth
29.3k287438644
accept rate: 32%

edited 19 Sep '12, 05:52

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×46

question asked: 19 Sep '12, 05:10

question was seen: 502 times

last updated: 24 Sep '12, 07:38