Skip to Content
Menú
This question has been flagged
2295 Vistes

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
Related Posts Respostes Vistes Activitat
1
de febr. 24
1882
3
de nov. 23
2102
1
d’ag. 23
4285
4
de març 15
12259
2
de març 15
6917