Skip to Content
Menú
This question has been flagged
1744 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
1353
3
de nov. 23
1580
1
d’ag. 23
3603
4
de març 15
11596
2
de març 15
6509