摘要:
select * into 目标表名 from 源表名 insert into 目标表名(fld1, fld2) select fld1, 5 from 源表名 以上两句都是将'源表'的数据插入到'目标表',但两句又有区别的: 第一句(select into from)要求目标表不存在,因为在插入时 阅读全文
摘要:
解决方案一 创建缺少的用户/帐户并授予“用户名”@“主机名”的权限 即使您不打算使用Confluence该用户连接到MySQL,MySQL也将使用该用户来运行该过程:DEFINER CREATE USER IF NOT EXISTS <username> IDENTIFIED BY '<passwo 阅读全文
摘要:
var _SetBasePath = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location); var Configuration = new ConfigurationBuilder() .SetBasePath(_SetBasePa 阅读全文
摘要:
查看视图结构 1: select text from syscomments where id=object_Id('视图名')2: sp_helptext 视图名 创建视图 1: create view View_EdsProd as select * from Tab_EdsProd where 阅读全文
摘要:
一、获取集合内重复值 public void GetDuplicateValue() { List<string> lisA = new List<string> { "A", "B", "C", "A" }; //方式一 借助字典 Dictionary<string, int> dic = new 阅读全文