Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1890 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
1489
3
thg 11 23
1726
1
thg 8 23
3820
4
thg 3 15
11747
2
thg 3 15
6615