I have a database in an IngresII-Server. I need every day to make a copy/update of a specific Table from Ingres into an identical table in a SQL-Server. So, I created a table in SQL, with same name, columns, and field-datatypes as those in Ingres.
In order to update the SQL table I wrote a subroutine to put the Ingres table in a dataset.Then I’d like to update my SQL table with the data stored in the dataset, automatically, without having to pass parameters to a SQL Stored Procedure. The table has 72 columns and 42000 rows. I’d like to use something like the commandbuilder Update (by means of a SqlDataAdapter). I tried that but without success.
Can someone tell me how to do that in an easy way, and, if possible, send me a simple source code example?
I work in VS.NET 2003 , ASPNET 1.1
Thanks in advance,
cnevas
In order to update the SQL table I wrote a subroutine to put the Ingres table in a dataset.Then I’d like to update my SQL table with the data stored in the dataset, automatically, without having to pass parameters to a SQL Stored Procedure. The table has 72 columns and 42000 rows. I’d like to use something like the commandbuilder Update (by means of a SqlDataAdapter). I tried that but without success.
Can someone tell me how to do that in an easy way, and, if possible, send me a simple source code example?
I work in VS.NET 2003 , ASPNET 1.1
Thanks in advance,
cnevas