Skip to Content
Menu
This question has been flagged
1869 Zobrazenia

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šiť
Related Posts Replies Zobrazenia Aktivita
1
feb 24
1482
3
nov 23
1701
1
aug 23
3749
4
mar 15
11734
2
mar 15
6591