Re: Renaming a Table in SQLCE

Tech-Archive recommends: Speed Up your PC by fixing your registry



Renaming a table is not supported in SQL CE.

Why dont you have a server-client name mapping table where you map server
side table name to client side table. Everytime you download a table with
your own choice and update this map table with the new name. If the
RDA.Pull was unsuccessful, you still have the old table. In the same above
transaction, you could drop the old table so that both old table drop and
table name mapping update happen together or fail.

Thanks,
Laxmi

"M. Rajesh" <mrajesh_mvp@xxxxxxx> wrote in message
news:OTU8ZWJ7IHA.3696@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I have a situation where I need to implement a custom synchronization
mechanism between SQL CE and SQL Server 2005 using RDA.

One method that I thought of implementing was to rename tables so that the
data could be recovered in case of network errors or failures.

But on researching I found that renaming tables is not a direct feature of
SQL CE like SQL Server 2005 and can be done through VC++ as found in this
link.

But even after this, there are certain scenarios where renaming fails
(long table name, space between table name, index on tables, etc etc).

Is there any way in which renaming of tables can be done directly with the
.NET CF. or any way to implement the RDA in a transaction Scope across
boundaries.

Thanks,

M. Rajesh




.



Relevant Pages

  • RE: Fulltext failure on a 2 node cluster
    ... Server full-text search resource online: "SQL Cluster Resource 'Full Text' ...
    (microsoft.public.sqlserver.clustering)
  • Re: HELP PLEASE ~ ???
    ... You mentioned that it went ahead and added a SQL ... SQL Server 2000 database for all my data. ... find the connectionString in the newly recreated SQLExpress database. ... The connection string specifies a local Sql Server Express instance ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Multi-Channel Raid VS SAN Storage
    ... A 5~6 years old server is a very old server. ... As I mentioned, the server is one node in a cluster environment, and SQL is ... We actually are running RAID 1+0 and our aplication is definately more ... needs it's own SAN device, or at least a dedicated IO channel on the SAN. ...
    (microsoft.public.sqlserver.setup)
  • Re: Multi-Channel Raid VS SAN Storage
    ... A 5~6 years old server is a very old server. ... As I mentioned, the server is one node in a cluster environment, and SQL is ... We actually are running RAID 1+0 and our aplication is definately more ... needs it's own SAN device, or at least a dedicated IO channel on the SAN. ...
    (microsoft.public.sqlserver.setup)
  • RE: How do I get back to base SQL server on my SBS 2003 server?
    ... After you uninstall SQL 2005, the instance which you upgraded will not go ... Uninstall and then reinstall ISA server. ... Uninstall and then reinstall the Monitoring component. ... Tools to Maintenance, change Monitoring component to Install, and then ...
    (microsoft.public.windows.server.sbs)