Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

update or insert into question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
segue - 15 Mar 2008 01:28 GMT
Using MSQL SMS:

Table one: access db.
Table two: remote sql db table.

Using the import export wizard:

I'm trying to do something like this w/o the sql parse error if possible:

UPDATE [Enterprise].[dbo].[Customers]
SET [Enterprise].[dbo].[Customers].[Enterprise].[dbo].[CustomerSalesPerson]
= [Access Customer].[Access SalesPerson]
FROM [Enterprise].[dbo].[Customers],  [Access Customer]
WHERE [Enterprise].[dbo].[Customers].[Enterprise].[dbo].[CustomerID] =
[Access Customer].[Access CustomerID]

Syntax appreciated - thanks.
Linchi Shea - 15 Mar 2008 05:27 GMT
I don't understand what you are asking.
For instance, what is
[Enterprise].[dbo].[Customers].[Enterprise].[dbo].[CustomerSalesPerson]
supposed to mean?

Linchi

> Using MSQL SMS:
>
[quoted text clipped - 13 lines]
>
> Syntax appreciated - thanks.
segue - 17 Mar 2008 17:37 GMT
I was just trying to emulate the wizards' idea of tablenames.

It could be (I think):

UPDATE Customers
SET Customers.CustomerSalesPerson = [Access Customer].[Access SalesPerson]
FROM Customers,  [Access Customer]
WHERE CustomerID = [Access CustomerID]

I'm just trying to insert or update specific columns and tables
using thesql server import and export wizard.

Wondering what syntax I could use.

> I don't understand what you are asking.
> For instance, what is
[quoted text clipped - 20 lines]
> >
> > Syntax appreciated - thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.