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

推荐订阅源

S
Security Affairs
美团技术团队
量子位
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
Apple Machine Learning Research
Apple Machine Learning Research
MongoDB | Blog
MongoDB | Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 叶小钗
N
Netflix TechBlog - Medium
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Cyber Attacks, Cyber Crime and Cyber Security
Recent Announcements
Recent Announcements
Cisco Talos Blog
Cisco Talos Blog
L
LangChain Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - 三生石上(FineUI控件)
U
Unit 42
T
Tenable Blog
Security Latest
Security Latest
Scott Helme
Scott Helme
B
Blog
C
Cybersecurity and Infrastructure Security Agency CISA
NISL@THU
NISL@THU
L
Lohrmann on Cybersecurity
A
Arctic Wolf
S
Schneier on Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
酷 壳 – CoolShell
酷 壳 – CoolShell
I
Intezer
Know Your Adversary
Know Your Adversary
云风的 BLOG
云风的 BLOG
有赞技术团队
有赞技术团队
雷峰网
雷峰网
The Cloudflare Blog
Cloudbric
Cloudbric
Latest news
Latest news
Project Zero
Project Zero
S
Secure Thoughts
V
Visual Studio Blog
博客园 - Franky
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
W
WeLiveSecurity

博客园 - 〆o殺殸纨o〆

用户中心 - 博客园 用户中心 - 博客园 面试题集锦(二)【转载】 面试题集锦(一)【转载】 用户中心 - 博客园 用户中心 - 博客园 袁岳:大学生职业准备八指标和36条人情世故【转载】 WITH AS【原创】 ISNULL(expression,replace_value)【原创】 $IDENTITY【原创】 自定义实体类【转载】 高清论坛思路新网址 软件项目开发流程以及人员职责【转载】 VS2005如何生成注释文档【原创】 - 〆o殺殸纨o〆 - 博客园 启用Code Snippet功能【转载】 DATEDIFF GETDATE DELETE TRANSACTION【转载】 READTEXT WRITETEXT UPDATETEXT【转载】 OBJECTPROPERTY OBJECT_ID TEXTPTR【转载】 怎么在绑定后动态改变DataGrid中的内容【转载】
TEXTVALID SET TEXTSIZE DATALENGTH【转载】
〆o殺殸纨o〆 · 2008-11-14 · via 博客园 - 〆o殺殸纨o〆

/*文件名称: BigDataDemo13.sql */
USE 北风贸易
GO

BEGIN TRANSACTION t1

-- 检查特定数据记录的自述字段的字符指针是否有效
SELECT 身份证号码,
               TEXTVALID('飞狐工作室.自述',TEXTPTR(自述))
     FROM 飞狐工作室
     WHERE 姓名 = '章立民'

COMMIT TRANSACTION t1

/*文件名称: BigDataDemo15.sql*/
USE 北风贸易
GO

SELECT 姓名,自述
    FROM 飞狐工作室
    WHERE 自述 IS NOT NULL AND PATINDEX('%长久之计%',自述) > 0

GO

SET TEXTSIZE 16

SELECT 姓名,自述
    FROM 飞狐工作室
    WHERE 自述 IS NOT NULL AND PATINDEX('%长久之计%',自述) > 0

GO

SET TEXTSIZE 0

SELECT [TEXTSIZE 当前的设定值] = @@TEXTSIZE

/*文件名称: BigDataDemo16.sql */
USE 北风贸易
GO

SELECT 姓名,
              姓名数据的字符数 = LEN(姓名),
              姓名数据的长度 = DATALENGTH(姓名),      
              自述数据的长度 = DATALENGTH(自述),
              玉照数据的长度 = DATALENGTH(玉照)
    FROM 飞狐工作室

GO