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

推荐订阅源

Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
N
Netflix TechBlog - Medium
腾讯CDC
C
Check Point Blog
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
S
SegmentFault 最新的问题
F
Fortinet All Blogs
美团技术团队
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
F
Full Disclosure
Recorded Future
Recorded Future
D
DataBreaches.Net
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
J
Java Code Geeks
I
InfoQ
Y
Y Combinator Blog
A
About on SuperTechFans
AI
AI
爱范儿
爱范儿
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Forbes - Security
Forbes - Security
W
WeLiveSecurity
M
MIT News - Artificial intelligence
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
Schneier on Security
Schneier on Security
The GitHub Blog
The GitHub Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Docker
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
V2EX - 技术
V2EX - 技术
Project Zero
Project Zero

博客园 - 老弹

列表中,将列表字段缩略显示的样式 DIV+CSS页面布局,样式中区别苹果浏览器Safari VS.NET 2008 发布站点,不带那些随机字符的网站发布插件 下拉菜单被flash挡住的最好解决方法 html导出word - 老弹 - 博客园 全球网络概况 IE不执行js脚本的解决方法 ToString格式大全 - 老弹 - 博客园 SQL语句关键字UNION小知识 关于PayPal的支付的问题 运行 Dcpromo 架设Active Directory (活动目录 )时,出现" 无法创建 GPO " 错误信息 .NET读写INI文件 document.location 这个对象包含了当前URL的信息 VBScript判断客户端是否需要下载控件 强制将在表格中将英文字母换行的CSS样式,加在表格table标签中 无法让网页另存为的代码 屏蔽IE中当图片太大时出现的图片按钮组的CSS样式 列出一个表中的某个字段重复的记录 求助 RemObjects SDK 与 Data Abstracr
分割以逗号作为分割符号的字符串并插入到表中
老弹 · 2006-05-01 · via 博客园 - 老弹

SQL语句如下:

DECLARE @temp varchar(50)
DECLARE @post int
DECLARE @endpost int
DECLARE @flag bit
SET @flag = 1
SET @post = 0
SET @temp='1,2,3,4,'

WHILE(@flag = 1)
BEGIN
     SET @endpost = charindex(',',@temp)
     IF(@endpost > 0)
     BEGIN
          INSERT INTO [str] (chr) VALUES (substring(@temp,1,@endpost-1))
          SET @temp = right(@temp,len(@temp)-@endpost)
     END
     ELSE
     BEGIN
          IF(@temp <> '')
          BEGIN
                 INSERT INTO [str] (chr) VALUES (@temp)
                 SET @flag = 0
          END
          ELSE
                 SET @flag = 0
     END
END