如何在Sql Server中选择古吉拉特语数据

编程入门 行业动态 更新时间:2024-10-27 22:20:49
本文介绍了如何在Sql Server中选择古吉拉特语数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好, 我的桌子名为 Tbl_Employee 没有名字(nvarchar(max))1મારશલ2કેમરુન 3બ્રાઉન

现在我想搜索如下

选择 * 来自 Tbl_Employee 其中​​ Name = ' કેમરુન'

选择 * 来自 Tbl_Employee 其中名称喜欢 ' %' + ' કેમરુન' + ' %'

但是没有返回任何记录。 我怎么能完成它。 如果有任何其他想法来管理古吉拉特语,请帮助 先谢谢。非常感谢

解决方案

从Tbl_Employee中选择*其中Name =N'કેમરુન'

您可以使用N字符从数据库中搜索Unicode。 我希望这对您有帮助......

希望您使用 nvarchar 来存储数据。 请尝试以下链接 - http:// www.nullskull/q/10288068/fetch-gujarati-data-from-database-using-like-statment.aspx [ ^ ] 数据以古吉拉特语插入数据库 [ ^ ] www.codeproject/Messages/2908058/Re-How-to-save-Gujarati-font- in-Sql-Server.aspx [ ^ ]

Hello, I have table named Tbl_Employee

No Name (nvarchar(max)) 1 મારશલ 2 કેમરુન 3 બ્રાઉન

now i want to search like

select * from Tbl_Employee where Name = 'કેમરુન'

or

select * from Tbl_Employee where Name like '%' + 'કેમરુન' + '%'

but doesn't return any record. how can i accomplish it. If any other idea to manage gujarati please help Thanks in Advance. Thanks a lot

解决方案

select * from Tbl_Employee where Name =N 'કેમરુન'

You can use N character to search Unicode from database. I hope this will help you...

Hope you have used nvarchar to store data. Try the following links - www.nullskull/q/10288068/fetch-gujarati-data-from-database-using-like-statment.aspx[^] Data insert in database in gujarati language[^] www.codeproject/Messages/2908058/Re-How-to-save-Gujarati-font-in-Sql-Server.aspx[^]

更多推荐

如何在Sql Server中选择古吉拉特语数据

本文发布于:2023-10-19 11:22:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1507344.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:古吉拉特   数据   如何在   Server   Sql

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!