Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1739 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
1352
3
Nov 23
1580
1
Agu 23
3600
4
Mar 15
11593
2
Mar 15
6507