hongfeian
hongfeian
全部文章
分类
AJAX(1)
ASP.NET(7)
JavaScript(5)
MongoDB(8)
react(2)
Vue(1)
前端(13)
协议介绍(1)
基础算法(1)
微信小程序(2)
数据库(46)
未归档(1)
桌面(1)
归档
标签
去牛客网
登录
/
注册
hongfeian
新手上路,多多关照
全部文章
(共89篇)
select语句执行顺序
--列的别名只能在order by之后,其他地方不能使用 --select语句的执行顺序 --select 完整语序 --语法: --5.select[字段列表] 5.1-》[字段列表],5.2-》distinct,5.3->top --1.from[表名] --2.where ...
2020-05-25
0
506
union
--union --联合查询:用来把两个select查询结果集合并成一个结果集 --1.union查询,多个查询的列,个数必须相同 --2.nuion查询,多个查询的列,各个列的数据类型必须一一对应 --3.union会自动剔除完全重复记录,如果需要保留重复记录,应该使用union all ...
2020-05-25
0
457
字符串函数
--字符串处理函数 --1. 转换成ASCll码 select CHAR(97) --2. 转换成数字 select ASCII('a') --3.查询字段在长字符串中首次出现的索引位置, --注意:SQL中,索引下标是从1开始计数的,不是从零开始计数的 select CHARINDE...
2020-05-25
0
461
日期处理函数
--日期类型函数 --SQL2005及以下版本,日期类型只有DATETIME --SQL2008及以上版本,日期类型有三个,datetime,date,datetime2 --三者区别 --date:只存储年月日,所占空间最小 --datetime:存储年月日时分秒毫秒, --da...
2020-05-25
0
845
Update&Delete
--更新,删除 --update --语法: --update [表名] set .. where --练习:把学生年龄改为20岁 update TbStudent set stuAge = 20 update TbStudent set stuAge = 20,stuEnglish=...
2020-05-25
0
418
SqlConnection对象和using本质
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data;//自己添加 usi...
2020-05-25
0
409
SqlCommand与增删改案例
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using S...
2020-05-25
0
381
ExcuteScalar
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using Sys...
2020-05-25
0
338
SqlDataReader及其本质
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using Sys...
2020-05-25
0
393
使用数据库登录
登录按钮属性 退出按钮属性 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; u...
2020-05-25
0
387
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页