• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
一份耕耘,一份收获
博客园    首页    新随笔    联系   管理    订阅  订阅
2009年2月23日
sql游标使用
摘要: use student_15 go declare student_cur cursor for select * from student go declare @sid int declare @sname varchar(20) declare @ssex char(1) declare @sage int declare @classid int open student_cur ... 阅读全文
posted @ 2009-02-23 15:39 杜鹃 阅读(1108) 评论(0) 推荐(0)
SQL分割字符串
摘要: 看到程序一分割字符串函数,感觉有点迷惑,于是自己想从百度里面搜索几个一幕了然的分割字符串函数如程序二里面的一些方法 程序一:create function [dbo].[GF_StringSplit] (@str nvarchar(max), --字符串 @spliter nvarchar(10)) --分割符 returns @tb table(ch nvarchar(256)) --返回对应... 阅读全文
posted @ 2009-02-23 13:31 杜鹃 阅读(31795) 评论(3) 推荐(4)
c#中分割字符串的几种方法
摘要: 第一种方法:打开vs.net新建一个控制台项目。然后在Main()方法下输入下面的程序。 string s="abcdeabcdeabcde"; ... 阅读全文
posted @ 2009-02-23 13:14 杜鹃 阅读(1138) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3