Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Delete row from local after  drop field from remote ; tsql dosnt work

Posted on 2013-11-11
Last Modified: 2013-11-12
Dear all ,
Need Drop field from Remote Database then delete field reference from Local Database.

I try this:
alter Table Remote.dbo.AAAATESTTABLE drop column FieldName28 ;
Delete  ReferenceTable where  FieldID=20094;

 And This:
alter Table Remote.dbo.AAAATESTTABLE drop column FieldName28 ;
Delete  LocalDB.dbo.ReferenceTable where  FieldID=20094;

Both failed to execute delete on ReferenceTable  without any error.
Please Help,,,
Question by:ethar1
LVL 65

Accepted Solution

Jim Horn earned 500 total points
ID: 39641503

Author Comment

ID: 39642335

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

839 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