N久没有写SQL代码了

一但写起来还是有点记不起来

一直在写NH为对象的HQL语句

写SQL的时候又有点跟OO感觉走

想想还是记起来好

 

insert into 数据库.表.(字段1,字段1,。。。)

select (字段1,字段1,。。。)from  数据库.表.
insert into C2cc_Mariana.dbo.Product(Pro_Name,Pic,Updatatime,Click)
select  title,right(DefaultPicUrl,len(DefaultPicUrl)-len('uploadfiles/')) as A,UpdateTime,Hits from Product where BigclassName='粉饼'

相关文章:

  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2021-12-28
  • 2022-02-05
  • 2021-08-24
猜你喜欢
  • 2022-12-23
  • 2021-12-20
  • 2021-06-12
  • 2021-07-09
  • 2021-08-09
  • 2021-12-25
相关资源
相似解决方案