Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2125 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
1777
3
thg 11 23
1962
1
thg 8 23
4134
4
thg 3 15
12079
2
thg 3 15
6792