Se rendre au contenu
Menu
Cette question a été signalée
1767 Vues

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
Ignorer
Publications associées Réponses Vues Activité
1
févr. 24
1359
3
nov. 23
1585
1
août 23
3630
4
mars 15
11616
2
mars 15
6515