473,326 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Technical question?

I have an application using sqlserver.
I want to send my data from this database to another database(again
sqlserver) in my site.
how can I send this data to my database on my site??

thanks in advance.
Nov 19 '05 #1
5 892
Jon
You could use SQL server replication or have a job task that uses DTS to
regularly xfer the data

"perspolis" <re*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I have an application using sqlserver.
I want to send my data from this database to another database(again
sqlserver) in my site.
how can I send this data to my database on my site??

thanks in advance.

Nov 19 '05 #2
"perspolis" <re*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I have an application using sqlserver.
I want to send my data from this database to another database(again
sqlserver) in my site.
how can I send this data to my database on my site??


There are several ways you can do this, so you'll need to be a bit more
specific in what you're trying to do...

Changing the database you're working with from ASP.NET is simply a matter of
changing the SQL connection string to refer to the other database.

Alternatively, if you want to do this from SQL itself, maybe from within a
stored procedure, you can reference the other database by three-part naming
e.g.
SELECT * FROM <database>.dbo.<table>

However, this will only work if the two databases are on the same server. If
you need one SQL Server database to interface with another SQL Server
database on a different server, you'll need to set up a Link Server first -
see BOL for more details.
Nov 19 '05 #3
Use a Distributed Query or a Stored Procedure using a Distributed Query.
See:

http://msdn.microsoft.com/library/de...qd_12_9ooj.asp

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"perspolis" <re*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I have an application using sqlserver.
I want to send my data from this database to another database(again
sqlserver) in my site.
how can I send this data to my database on my site??

thanks in advance.

Nov 19 '05 #4
I want to do that form my application not sqlserver..
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:um**************@TK2MSFTNGP10.phx.gbl...
Use a Distributed Query or a Stored Procedure using a Distributed Query.
See:

http://msdn.microsoft.com/library/de...qd_12_9ooj.asp

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Ambiguity has a certain quality to it.

"perspolis" <re*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I have an application using sqlserver.
I want to send my data from this database to another database(again
sqlserver) in my site.
how can I send this data to my database on my site??

thanks in advance.


Nov 19 '05 #5
You could call this SP from your ASP.NET application. If you use DataSet
instead the data will move from the DB to the web server to the other DB
while using a stored proc (or a SQL statement) you'll move the data directly
on the server...

It's bit hard also to understand the context (this is something an admin
would trigger as a kind of "backup" ?)

BTW Please fix your system clock...
--
Patrice

"perspolis" <re*****@hotmail.com> a écrit dans le message de
news:%2****************@TK2MSFTNGP12.phx.gbl...
I want to do that form my application not sqlserver..
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:um**************@TK2MSFTNGP10.phx.gbl...
Use a Distributed Query or a Stored Procedure using a Distributed Query.
See:

http://msdn.microsoft.com/library/de...qd_12_9ooj.asp
--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Ambiguity has a certain quality to it.

"perspolis" <re*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I have an application using sqlserver.
I want to send my data from this database to another database(again
sqlserver) in my site.
how can I send this data to my database on my site??

thanks in advance.



Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: David Winter | last post by:
As a technical author and translator, I am highly interested in single source/multi format publishing. Meaning: I'd like to keep manuals, technical specifications etc. in multiple languages...
2
by: Vick | last post by:
Hi Folks, I'm not too sure if this is the appropriate place to ask this question, but I'm trying to figure out what some of the main differences between the following Job roles are on an IT...
2
by: Junpei | last post by:
I need recommendations for a scientific app I'm making, here's what i need, in order of importance 1) Strong/Complete 2d/3d plotting widgets for both data and functions 2) Realtime 2d-plotting 3)...
5
by: shaun.mostashari | last post by:
Hello all, I am working on a trade study and one of the criterias is how easy it is to get DB2 technical support from IBM. I appreciate if you guys share your experience with me. Does DB2 have a...
56
by: Cherrish Vaidiyan | last post by:
Frinds, Hope everyone is doing fine.i feel pointers to be the most toughest part in C. i have just completed learning pointers & arrays related portions. I need to attend technical interview on...
11
by: Geoff Caplan | last post by:
Hi folks, The thread on injection attacks was very instructive, but seemed to run out of steam at an interesting point. Now you guys have kindly educated me about the real nature of the issues,...
22
by: flit | last post by:
Hello All, I have a hard question, every time I look for this answer its get out from the technical domain and goes on in the moral/social domain. First, I live in third world with bad gov., bad...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.