id为主键,克隆一条数据,除了主键不同, name,author都相同

 insert into blog(name,author) select name,author from blog where id = 1 克隆表:

 DataTable dt = new DataTable();

DataTable dtt = dt.Copy();

相关文章:

  • 2021-11-02
  • 2021-10-14
  • 2018-05-19
  • 2022-12-23
  • 2021-10-02
  • 2021-09-05
  • 2021-08-15
  • 2021-06-15
猜你喜欢
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-07-25
相关资源
相似解决方案