Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1863 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Feb 24
1476
3
Nov 23
1700
1
Agu 23
3744
4
Mar 15
11728
2
Mar 15
6589