如何在SQL中使用子字符串 [英] how to use substring in sql

查看:81
本文介绍了如何在SQL中使用子字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从数据库中的gridview中获取avin*****@gmail.com.全名是avin1236@gmail.com ..


我的问题是如何使用子字符串获取此类信息以及如何在gridview中显示它



问候
manohar

hi i want to get avin*****@gmail.com in gridview from database..full name is avin1236@gmail.com..


my question is how to use substring to get like this and how to show it in gridview



regards
manohar

推荐答案

这里是对SQL LIKE查询命令的解释:

http://msdn.microsoft.com/en-us/library/ms179859.aspx [ ^ ]
Here''s an explanation of the SQL LIKE query Command:

http://msdn.microsoft.com/en-us/library/ms179859.aspx[^]


这篇关于如何在SQL中使用子字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆