Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1803 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 24
1386
3
thg 11 23
1624
1
thg 8 23
3658
4
thg 3 15
11639
2
thg 3 15
6533