随笔分类 -  SQL Server

1 2 下一页

SQL Server - SQLite 数据库 简介、特点、优势、局限性及使用
摘要:SQLite简介 SQLite是一个进程内的轻量级嵌入式数据库,它的数据库就是一个文件,实现了自给自足、无服务器、零配置的、事务性的SQL数据库引擎。它是一个零配置的数据库,这就体现出来SQLite与其他数据库的最大的区别:SQLite不需要在系统中配置,直接可以使用。且SQLite不是一个独立的进 阅读全文

posted @ 2024-03-11 13:52 frank_cui 阅读(321) 评论(0) 推荐(0) 编辑

SQL Server - !=NULL 必须写成 IS NOT NULL
摘要:平时经常会遇到这两种写法:IS NOT NULL与!=NULL。也经常会遇到数据库有符合条件!=NULL的数据,但是返回为空集合。实际上,是由于对二者使用区别理解不透彻。 默认情况下,推荐使用 IS NOT NULL去做条件判断,因为SQL默认情况下对WHERE XX!= Null的判断会永远返回0 阅读全文

posted @ 2022-02-08 10:01 frank_cui 阅读(545) 评论(0) 推荐(0) 编辑

SQL Server vs Sybase
摘要:Diff - JDBC url Diff - Case sensitive Diff - Syntax Diff 阅读全文

posted @ 2021-12-02 17:12 frank_cui 阅读(28) 评论(0) 推荐(0) 编辑

SQL Server - @@ROWCOUNT, @@IDENTITY
摘要:@@ROWCOUNT Get affected rows when do UPDATE / DELETE / INSERT Note that: @@ROWCOUNT is reset after every statement so you must retrieve the value imme 阅读全文

posted @ 2021-12-02 16:37 frank_cui 阅读(38) 评论(0) 推荐(0) 编辑

SQL Server - CTE - Common Table Expressions
摘要: 阅读全文

posted @ 2021-12-02 16:37 frank_cui 阅读(7) 评论(0) 推荐(0) 编辑

SQL Server - Convert int/date to string
摘要: 阅读全文

posted @ 2021-12-02 16:35 frank_cui 阅读(54) 评论(0) 推荐(0) 编辑

SQL Server - java.lang.ClassNotFoundException: com.sybase.jdbc3.jdbc.SybDriver
摘要: 阅读全文

posted @ 2021-12-02 09:40 frank_cui 阅读(144) 评论(0) 推荐(0) 编辑

SQL Server - Can't allocate space for object 'syslogs' in database 'UnityCreditETL' because 'logsegment' segment is full/has no free extents
摘要: 阅读全文

posted @ 2021-11-30 14:03 frank_cui 阅读(123) 评论(0) 推荐(0) 编辑

SQL Server - Inner Exceptions:The command has timed out
摘要: 阅读全文

posted @ 2021-11-30 14:02 frank_cui 阅读(12) 评论(0) 推荐(0) 编辑

SQL Server - Login failed for user 'ASIAPAC\xxxxx'.
摘要: 阅读全文

posted @ 2021-11-30 14:01 frank_cui 阅读(7) 评论(0) 推荐(0) 编辑

SQL Server - Column is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause
摘要: 阅读全文

posted @ 2021-11-30 13:57 frank_cui 阅读(341) 评论(0) 推荐(0) 编辑

SQL Server - BCP : Copy direction must be either 'in' or 'out'
摘要: 阅读全文

posted @ 2021-11-30 13:35 frank_cui 阅读(78) 评论(0) 推荐(0) 编辑

SQL Server - BCP : Requested server name not found.
摘要:scenario 1 scenario 2 阅读全文

posted @ 2021-11-30 13:33 frank_cui 阅读(114) 评论(0) 推荐(0) 编辑

SQL Server - SQL Server/ bcp 工具如何通信
摘要:问题-BCP通讯 ref: https://stackoverflow.com/questions/40664708/bcp-cannot-connect-to-aws-sql-server-but-ssms-can Anyone know a good reason why bcp cannot 阅读全文

posted @ 2019-06-03 13:56 frank_cui 阅读(743) 评论(0) 推荐(0) 编辑

SQL Server - Store procedure 如何返回值
摘要:存储过程 返回值 procedure return values : http://www.cnblogs.com/SunnyZhu/p/5542347.html return、select、output 返回值得区别: https://bbs.csdn.net/topics/360230222 如 阅读全文

posted @ 2019-05-21 17:02 frank_cui 阅读(480) 评论(0) 推荐(0) 编辑

SQL Server - group by
摘要:转载自https://segmentfault.com/a/1190000006821331 在平时的开发任务中我们经常会用到MYSQL的GROUP BY分组, 用来获取数据表中以分组字段为依据的统计数据。比如有一个学生选课表,表结构如下: 我们想统计每门课程有多少个学生报名,应用如下SQL: 得到 阅读全文

posted @ 2019-03-11 16:04 frank_cui 阅读(888) 评论(0) 推荐(0) 编辑

SQL Server - Partition by 和 Group by对比
摘要:参考:https://www.cnblogs.com/hello-yz/p/9962356.html —————————————————— 今天大概弄懂了partition by和group by的区别联系。 1. group by是分组函数,partition by是分析函数(然后像sum()等是 阅读全文

posted @ 2019-03-11 13:22 frank_cui 阅读(2288) 评论(1) 推荐(0) 编辑

SQL Server - 四种排序, ROW_NUMBER() /RANK() /DENSE_RANK() /ntile() over()
摘要:>>>>英文版 (更简洁易懂)<<<< 转载自:https://dzone.com/articles/difference-between-rownumber One of the most obvious and useful set of window functions are ranking 阅读全文

posted @ 2019-03-08 11:08 frank_cui 阅读(692) 评论(0) 推荐(0) 编辑

SQL Server - case when...then...else...end
摘要:Case具有两种格式。简单Case函数和Case搜索函数。 这两种方式,可以实现相同的功能。简单Case函数的写法相对比较简洁,但是和Case搜索函数相比,功能方面会有些限制,比如写判断式。 还有一个需要注意的问题,Case函数只返回第一个符合条件的值,剩下的Case部分将会被自动忽略。 详细用法  阅读全文

posted @ 2019-03-07 10:59 frank_cui 阅读(1967) 评论(0) 推荐(0) 编辑

SQL Server - CLUSTERED
摘要:CREATE TABLE dbo.t_MetricBook ( MetricSetID smallint NOT NULL, BookID smallint NOT NULL, ReportingCcyAmount decimal(18,2) NOT NULL, CONSTRAINT PK_t_Metric... 阅读全文

posted @ 2019-03-06 17:07 frank_cui 阅读(2362) 评论(0) 推荐(0) 编辑

1 2 下一页
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

levels of contents
点击右上角即可分享
微信分享提示