Ir al contenido
Menú
Se marcó esta pregunta
2126 Vistas

Hi

I want to insert the records in dataset ds in to another table(another database and server). What should i do write in the select statement.
sda = New NpgsqlDataAdapter(pgCommand)
sda.Fill(ds)
pgCommand1.CommandText = "INSERT INTO public.tab2 (SELECT * FROM ds)"

Thanks


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
feb 24
1782
3
nov 23
1970
1
ago 23
4142
4
mar 15
12083
2
mar 15
6795