Re: Copying from one record set to another



Bob,

I had a version using linked servers in SQL Server, but it stopped working.
I have another thread in the SQL server newsgroup looking for an answer
there. I've made an SSIS package that does the job, but I can't call the
package from the client side unless I give the user permission to run
sp_startjob. I've made another version using the service broker, but again, I
seem to have to give users special permissions to make it work.

My client (and I) wants to load data immediately without my intervention. As
I said in my initial post, I am trying to do a workaround for my client until
I can get the SQL Server implementation that does the same thing working so
they can continue to upload data without my intervention. My thought was I
could quickly make an Excel workbook to do what was necessary for now.

Any suggestions on the problem I asked about?

Bob

"Bob Barrows [MVP]" wrote:

INTP56 wrote:
Hi, I am trying to do a workaround while I'm trying to resolve an
issue with the SQL Server implementation that does the same thing,
but is currently broken.

Basically, I have an MDB file with two tables in it, and two tables
in SQL Server that look just like the tables in the access database

Both tables have an auto increment field on the Access side. I want to
select the new records from the Access db and insert them into the
SQL DB.

I can get to both DBs from Excel. I can write code that pulls the new
records from Access into Excel,

Excel???
Stop. You're killing me :-)
There are some simple solutions for this situation:
1. In Access, simply create links to the two sql server tables in your
Access mdb and run a couple insert queries.
2. In SQL Server: create a linked server in SQL Server pointing at the
Access database and do the same thing: run a couple insert queries to
copy the data.
3. In SQL Server: use DTS (SSIS if SQL2005) to import the data from
Access into SQL Server?

OK, OK, I know the answer is that you probably don't know anything about
these concepts. Well, now's the time to start reading:
read about linked tables in Access online help - a linked table can be
treated just like a local Access table in a query
or
linked servers in SQL Server BOL (online help)
or
DTS/SSIS in SQL Server BOL (online help)

If you need help with option 1, post to an Access newsgroup.
For help with the other two options, post to a sql server newsgroup


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.



.



Relevant Pages

  • Re: Thread Dropped Issue
    ... You should post this either in the SQL server newsgroup or in the CLR newsgroup for more specific help. ... pressure. ... The stored procedure gets run every minute and gather stats ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Some documents not found in search
    ... As the search engine is the standard SQL Server Full Text search, ... probably better off asking in a suitable SQL Server newsgroup. ... The renamed document library still showing the old name in the search is ... > Searching from the site home page of a subsite in a site collection ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Locks and ADO
    ... Please let me quote a post I made to the SQL Server newsgroup. ... fact the ADO question fits better in here I think. ... Using the ADODB.Connection.Execute statement or openening a ADO ...
    (microsoft.public.data.ado)
  • RE: XP clients lose database connection
    ... your issue is related to SQL server or the third party ... I would like to provide with the following SQL server newsgroup. ... from your newsreader: microsoft.private.directaccess.partnerfeedback. ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.windows.server.sbs)
  • Re: Locks and ADO
    ... Please let me quote a post I made to the SQL Server newsgroup. ... fact the ADO question fits better in here I think. ...
    (microsoft.public.data.ado)