Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1747 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
úno 24
1353
3
lis 23
1580
1
srp 23
3605
4
bře 15
11597
2
bře 15
6510