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

推荐订阅源

The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
T
Threatpost
WordPress大学
WordPress大学
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
PCI Perspectives
PCI Perspectives
T
The Exploit Database - CXSecurity.com
Y
Y Combinator Blog
雷峰网
雷峰网
爱范儿
爱范儿
The Hacker News
The Hacker News
Last Week in AI
Last Week in AI
Simon Willison's Weblog
Simon Willison's Weblog
T
Tor Project blog
S
Securelist
宝玉的分享
宝玉的分享
L
LangChain Blog
O
OpenAI News
AI
AI
P
Privacy International News Feed
L
LINUX DO - 最新话题
D
DataBreaches.Net
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Attack and Defense Labs
Attack and Defense Labs
罗磊的独立博客
M
MIT News - Artificial intelligence
Security Archives - TechRepublic
Security Archives - TechRepublic
月光博客
月光博客
博客园 - 【当耐特】
T
Tailwind CSS Blog
C
Cybersecurity and Infrastructure Security Agency CISA
H
Help Net Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Hacker News - Newest:
Hacker News - Newest: "LLM"
腾讯CDC
Jina AI
Jina AI
The Last Watchdog
The Last Watchdog
K
Kaspersky official blog
Webroot Blog
Webroot Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
MyScale Blog
MyScale Blog
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
Recorded Future
Recorded Future
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
博客园 - 三生石上(FineUI控件)
The Cloudflare Blog

博客园 - skyfei

Xcode 文档注释方法 查看iOS模拟器应用的沙箱文件 Show in Finder OC代码 C# x86应用x64系统上读取x64位应用的注册表 Make webclient support upload the large file which are larger than 1G Shortcut key for WPF get Android information with adb, the build version Decodes a QuotedPrintable encoded string C# USB Detection - winform and WPF [转] 线程同步 C# 常见面试题(2) 转:C# Interview Questions Openxml: 导出excel 设置 cell的格式 - skyfei OpenXML: excel 插入BarChart图表 OpenXML: Asp.net利用OpenXML 导出Excel. TRIGGERS :Cannot use text, ntext, or image columns in the 'inserted' and ' deleted' tables. .net Create Excel 2007 file with open xml 利用.Net Framework2.0 zip压缩、解压 string 数据 C#中文和UNICODE字符转换方法 - skyfei - 博客园
'String or binary data would be truncated' error message
skyfei · 2008-11-18 · via 博客园 - skyfei

很多人(在google)上遇到这个错误是由于数据的存储空间小于 要插入的数据。 而我遇到这个错误却是由于, column 的顺序没有排对,

我是用 insert <tableName> select * from <tablename> 和delete from <tablename> output  deleted.* into 时出错。由于select 或者delete选择的column Name 是手动排的, 和要insert 的table column顺序不一致,景观column name 都一样但还是抛出了标题的错误,更正  用的顺序是sql server management 显示的顺序, 错误排除。

delete  top (1) from s
output
            DELETED.[RatingTime]
           ,DELETED.[Comment]
           ,DELETED.[LCID]
           ,dbo.Get_LCIDNAME(DELETED.LCID) as [LCIDName]
           ,DELETED.[AssetID]
           ,a.[Title] as [Asset_Title]
           ,a.[Category]as [Asset_Category]
           ,a.[AppCode]as [Asset_Code]
           ,a.[Writer]as [Asset_Writer]
           ,a.[Editor]as [Asset_Editor]
           ,case a.LCID when null then null else dbo.get_LCIDName(a.LCID)end as [Asset_LCIDName]
           ,a.[UpToDate]as [Asset_UpToDate]
           ,a.[Provider]as [Asset_Provider]
           ,a.[WLCID]as [Asset_WLCID]
           ,a.[Byline]as [Asset_Byline]
           ,a.[TrustLevel]as [Asset_TrustLevel]
           ,a.[AppVer]as [Asset_AppVer]
    INTO OfficeOnline.dbo.tblCompliments
FROM   tblCompliments as s
    left join AssetList as a  on s.AssetID = a.AssetID