hi,
im using vb.net for designing and sql server as database.
i have created two form in vb and for both of them i have created different database.
in database1 i have make the entry of 50 person and database2 is empty right now.
in db1 there are 5 columns in db2 i have created 10.
now i want to fetch the data in db1 to db2,,,,
for this i want to know what are the condition to fetch data from db1 to db2. is it possible ?
what should i use to do so join or something else,,, i just need hint
fetch data from one database to other
Page 1 of 15 Replies - 942 Views - Last Post: 07 August 2012 - 04:39 AM
Replies To: fetch data from one database to other
#2
Re: fetch data from one database to other
Posted 06 August 2012 - 05:20 AM
I have almost no idea what your are asking....place the code you have so far so we can better understand your question. use [code] tags.
also If i undertsand you correctly you want to take info from table a and put it in table b? yes this is possible
also If i undertsand you correctly you want to take info from table a and put it in table b? yes this is possible
#3
Re: fetch data from one database to other
Posted 06 August 2012 - 09:34 AM
Moved to VB.NET
#4
Re: fetch data from one database to other
Posted 06 August 2012 - 10:45 AM
Are these two separate databases or as DarenR said are there just two tables?
e.g Person Table and Empty Table all in the one database
also if these are two different databases is there a reason why you don't want to use one database with 2 tables?.
e.g Person Table and Empty Table all in the one database
also if these are two different databases is there a reason why you don't want to use one database with 2 tables?.
#5
Re: fetch data from one database to other
Posted 06 August 2012 - 10:28 PM
actually i am talking about two different database,,,
#6
Re: fetch data from one database to other
Posted 07 August 2012 - 04:39 AM
Should be possible to do this with a single SQL query, unless the two databases are on different servers. Even still, it is possible to do cross-server queries with MSSQL. What are the schemas of the two tables?
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|