Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1860 Vizualizări

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


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
feb. 24
1476
3
nov. 23
1700
1
aug. 23
3740
4
mar. 15
11727
2
mar. 15
6589