惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - edrp.cn

日期函数——来源网络,方便查阅 生成所有货品条码(货品颜色定义的颜色才有条码) SQL SERVER 更新某个表的某个字段的值为自动编号的SQL 用D的老哥儿们,你们怎么处理移动端的?直接上Java?C#.net?要是没有好的方案,加Q群交流,有个低代码框架不错,移动端,PC端,小程序,H5,都可以,觉得很适合D转过来 是几个意思呢 - edrp.cn SQL Server利用ROW_NUMBER()函数,指定多个字段查出重复保留一条,删除多余记录 截至目前最便宜的Delphi客户端框架OneFastClient——899元,不是美元,是人民币,关键还是全源码 sql server 2008 R2在查询分析器执行查询某个表时一直在运行没有返回结果的原因 - edrp.cn 批量插入数据字典的方法,做个记录吧 sql server 查询所有表名,字段名,字段类型 加载包失败的解决方法 - edrp.cn ABFramework数据字典设置下拉列项找不到自己定义的,需要指定字段提示作为区分不同连接 sql server 多字段查询重复记录并删除 - edrp.cn Delphi 开源免费的三层中间件 OneDelphi 高手是这样排查问题的——两层使用存储过程批量生成单据和查询分析器生成单据都正确,使用三层方式却少了三条记录 组合批量更新sql 方法 比while not FDQuery.eof do更高效率的读取数据 设置数据的LoadTables中有货品表,或者是清空里面的内容,不指定表 AB 中预警显示窗体中双击打开对应单据窗体
修改所有Detail Table 字段为Not in 'D' Name
edrp.cn · 2023-07-05 · via 博客园 - edrp.cn

--修改所有Detail Table 字段为Not in 'D' Name
declare @TableName varchar(50),@FielName varchar(50),@TableID varchar(20),@FieldID varchar(20),
@Table_Description varchar(200),@Field_Description varchar(200),
@SQL varchar(1000)

Declare selectTableNmae cursor for
SELECT o.name, c.name fieldname
FROM syscolumns c
INNER JOIN sysobjects o ON c.id = o.id
WHERE o.type = 'U' and LEFT(o.Name,2)='T_'
and RIGHT(o.Name,6)='Detail'
and SUBSTRING(o.Name, 3, len(o.Name)-8)=SUBSTRING(c.name, 2, len(c.name)-3)
and left(c.name,1)='D' and RIGHT(c.name,2)='ID'
ORDER BY o.name desc, c.name

Open selectTableNmae
select @TableName='',@FielName=''
Fetch next from selectTableNmae into @TableName,@FielName
While @@Fetch_Status = 0
begin
--print @TableName
--print @FielName
--EXEC sp_rename '表名.旧字段名', '新字段名', 'COLUMN'
select @SQL='EXEC sp_rename '''+@TableName+'.'+@FielName+''','''+ SUBSTRING(@FielName, 2, len(@FielName)-1)+''',''COLUMN'''
--print @SQL
Exec(@SQL)
Fetch next from selectTableNmae into @TableName,@FielName
end
Close selectTableNmae
DeAllocate selectTableNmae