Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1763 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
fev. 24
1358
3
nov. 23
1584
1
ago. 23
3624
4
mar. 15
11610
2
mar. 15
6514