Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 copying dta from tables of one database to tables
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 05/04/2006 :  00:32:18  Show Profile  Reply with Quote

I want to copy data in tables of one database to tables in another database,like keeping data backup
connections strings for these 2 connections were written in 2 database files
i included them in an asp page with the fallowing data


bcpquery = "insert upsselector_backup.dbo.upsselector1 (device,va,deviceType) select (device,va,deviceType) from upssolutions_com_au.dbo.upsselector"

if inAction="backup" then
response.Write bcpquery
if (bcpQuery<>"") then conn2.execute(bcpQuery)
end if%>
<%if inAction="backup" then
<tr><td> <br>Successfully updated the Prices.</td></tr>i used this querry and resulted in an error

Microsoft OLE DB Provider for SQL Server error '80004005'

[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2019 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000