Ir al contenido
Menú
Se marcó esta pregunta
1737 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
1352
3
nov 23
1580
1
ago 23
3599
4
mar 15
11591
2
mar 15
6506