What DB Are you using? Do you only need to read from it? If so, i'd create
a stored procedure that does this. Or, just create two connections and two
command objects filling two separate datatables (if you need to update the
data - this is probably the way to go) then just use a DataRelation object
to ensure that everything is kosher. http://www.knowdotnet.com/articles/datarelation.html
I just try store procedure, in vb.net , i need to set the connection string,
for the command text.
BUT I got 2 database (2 connection, how can i set it up) ??
A stored procedure has nothing to do with the method you use, it is the way
how you manage your procedures on the SQL server. When you have a problem
how to do something you can better not start with it, because than you have
everytime to clean them up, but just do it without those. When you are ready
than one of the last things you do is transform your inbuild procedures to
stored procedures.
However you are for me not clear with your problem, what I have seen from
you it cannot be anymore a simple question, so maybe you can explain it a
little bit more?
When it is about copying tables than there are a lot of answers posible and
is it important if the schema of the data you want to load is knowed on the
server where you want to do that.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.