php 文件名 最大长度,php – 以…开头的标识符太长.最大长度为128

我之前使用的是MS SQL Server 2005和Yii Framework,并在那里创建了表和存储过程.但现在我将我的数据库转移到MS SQL Server 2008 R2,当我试图保存长长度字符串然后它给我错误的最大长度,而我已经将该列的数据类型设置为“文本”之后我用“varchar(max)”替换它,但没有解决方案.

请帮我解决一下如何解决这个问题.我正在执行以下查询:

update hotel

set hotel_policy =

"Overview of Park Central New York - New York

This hotel is making improvements.

The property is undergoing renovations. The following areas are affected:

Bar/lounge

Business center

Select guestrooms

Every effort will be made to minimize noise and disturbance.

Occupying a Beaux Arts building dating to 1927, Park Central New York Hotel is within a block of famed concert venue Carnegie Hall and within a 5-minute walk of Manhattan’s world-renowned Broadway theater district. Prefer the great outdoors to the Great White Way? Central Park is just 3 blocks from the hotel. There, you can rent a rowboat at the lake, play a game of tennis, or visit the Central Park Zoo. The international boutiques and flagship department stores of Fifth Avenue start within a 10-minute walk of the hotel. For travel to sights farther afield, there are 7 subway lines located within 3 blocks of the Park Central.

The hotel has a snack bar for guests' convenience, and coffee and tea in the lobby.

Retreat to your guestroom and sink into a bed with a pillowtop mattress and down comforter and pillows. Need to check email or finish up some work? You’ll find a desk with an ergonomic chair and wireless high-speed Internet access (surcharge). Unwind with a video game (surcharge) on the flat-panel HDTV."

where hotel_id = 1

我搜索它很多,但我找到的C#解决方案对我没用.

谢谢!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值