网站首页 站内搜索

搜索结果

查询Tags标签: CityList,共有 2条记录
  • SqlServer 以逗号隔开的字符串字段的关联查询

    Table1 存储数据格式结构如下: Id为主键,CityList为Table2中的CityIDTable2 城市表数据格式如下 正确查询方式 select a.CityID,a.CityName from [Join].dbo.Table2 as a where exists(select * from Table1 where Id=5717 and charindex(,+cast(a.CityID as varchar(…

    2021/11/4 19:14:14 人评论 次浏览
  • SqlServer 以逗号隔开的字符串字段的关联查询

    Table1 存储数据格式结构如下: Id为主键,CityList为Table2中的CityIDTable2 城市表数据格式如下 正确查询方式 select a.CityID,a.CityName from [Join].dbo.Table2 as a where exists(select * from Table1 where Id=5717 and charindex(,+cast(a.CityID as varchar(…

    2021/11/4 19:14:14 人评论 次浏览
扫一扫关注最新编程教程