Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1810 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
feb. 24
1387
3
nov. 23
1628
1
avg. 23
3661
4
mar. 15
11643
2
mar. 15
6535