Performance Dashboard Error: Could not find stored procedure
In this post, I’m going to talk an issue that when you try to launch the main Dashboard Report in SQL Server 2008 R2. You may receive the below error message that includes information about the cause...
View ArticleSQL SERVER Maintenance Plan failing with 0x80131904 A network-related or i ...
One of my clients contacted me and informed that after patching of SQL Server, they noticed that their maintenance plan were failing. I asked them to share the complete error message aboutthe...
View Article#0400 SQL Server SSIS Using the SQL Server Destination
SSIS packages are quite easy to get started with it’s mostly drag and drop of variouscontainers, tasks and setting of connections. Ensuring that the components workoptimally requires using the right...
View ArticleOracle11G-SQL开发指南-6-子查询 Oracle11G SQL开发指南 子查询 子查询类型
Oracle11G-SQL开发指南-6-子查询,子查询(subquery):在外部的SELECT、UPDATE或DELETE语句内部使用的SELECT语句。 1. 子查询的类型 1> 单行子查询 不向外部的SQL语句返回结果,或者只返回一行。 标题子查询(scalar subquery):单行子查询的一种特殊情况,返回一行且精确的包含一列。 单行子查询最多只能返回一行;...
View ArticleOracle11G-SQL开发指南-7-高级查询 Oracle11G SQL开发指南 高级查询 集合操作符
Oracle11G-SQL开发指南-7-高级查询。 1. 使用集合操作符 注: 使用前的限制条件是:所有查询返回的列数以及列的类型必须匹配,列名可以不同。 union all 返回各个查询检索出的所有行,包括重复行 union 返回各个查询检索出的所有行,不包括重复行 intersect 返回两个查询检索出的共有行 minus...
View ArticleOracle11G-SQL开发指南-8-修改表的内容 Oracle11G SQL开发指南 修改表 INSERT 语句
Oracle11G-SQL开发指南-8-修改表的内容。 1. 使用INSERT 语句添加行 a> 省略列的列表 b> 为列指定空值 c> 在列值中使用单引号和双引号 4> 从一个表向另一个复制行 2. 使用UPDATE语句修改行 3. RETURNING子句 4. 使用DELETE语句删除行 5. 数据库的完整性 主键 外键 6. 使用默认值 7....
View ArticleOracle11G-SQL开发指南-9-用户权限角色 Oracle11G SQL开发指南 用户权限 用户管理
Oracle11G-SQL开发指南-9-用户权限角色。 1. 用户 a> 创建用户 CREATE USER username IDENTIFIED BY password[ DEFAULT TABLESPACE default_tablespacename ][ TEMPORARY TABLESPACE temporary_tablespace ];b> 修改密码 用命令行: ALTER...
View ArticleOracle11G-SQL开发指南-10-创建表、序列、索引和视图 Oracle11G SQL开发指南 创建表 索 ...
Oracle11G-SQL开发指南-10-创建表、序列、索引和视图。 1. 表table a> 创建表 CREATE TABLE b> 获取表信息 user_tables c> 获取表中列信息 user_tab_columns\ all_tab_columns d> 修改表 ALTER TABLE 添加列: ALTER TABLE table_name ADD...
View ArticleOracle11G-SQL开发指南-4.1-字符函数 Oracle11G SQL开发指南 字符函数
Oracle11G-SQL开发指南-4.1-字符函数。 ****************************************************************************************************************** 字符函数——返回字符值 这些函数全都接收的是字符族类型的参数(CHR 除外)并且返回字符值....
View ArticleOracle11G-SQL开发指南-11-PL/SQL编程 Oracle11G SQL开发指南 SQL编程
Oracle11G-SQL开发指南-11-PL/SQL编程。 1. 块结构[DECLARE declaration_statements ]BEGIN executable_statements[EXCEPTIONexception_handling_statements ] END; 例1: DECLARE V_WIDTH INTEGER; V_HEIGHT INTEGER := 3; V_ARE...
View ArticleOracle11G-SQL开发指南-5-日期和时间存储和处理 Oracle Oracle数据库 Oracle11G 时间存 ...
Oracle11G-SQL开发指南-5-日期和时间存储和处理。 时间值 datetime : 处理并存储一个特定的日期和时间 时间戳 timestamp : 存储一个特定的日期和时间,可以存储世纪、4位年份、月、日、小时(24小时计)、分和秒, 可以存储带小数位的秒,还可以存储时区。 时间间隔 interval: 可以存储时间的长度。 INSERT INTO customers VALUES (6,...
View ArticleAuditing Who Changed Temporal Table Data in SQL Server
By:Aaron Bertrand || Related Tips:More >SQL Server 2016 Problem Temporal tables, introduced in SQL Server 2016, provide an easy way to track the history of data as it changes over time (also called...
View ArticleMonday Coffee 2017-02-27
Ergh, not a fun weekend rugby wise. But anyway… Last week Microsoft released an image for SQL Server 2016 SP1 Developer Edition in containers . Previously the only edition available was vNext...
View ArticleUpgrading to Veeam Availability Suite 9.5 Update 1
After Veeam releases Update 1 for their Availability Suite 9.5 in January 2017 I decided that it is about time to upgrade my complete Veeam Availability Suite environment in my homelab. Currently I’m...
View ArticleSQL SERVER――高可用技术概述
自从SQL Server 2005以来,微软已经提供了多种高可用性技术来减少宕机时间和增加对业务数据的保护,而随着SQL Server 2008,SQL Server 2008 R2,SQL Server 2012的不断发布,SQL Server中已经存在了满足不同场景的多种高可用性技术。 在文章开始之前,我首先简单概述一下以什么来决定使用哪一种高可用性技术。 依靠什么来决定使用哪一种高可用性技术?...
View ArticleSQL Server Deadlock Performance Counter
End users generally face a situation where the SQL server application gets hangs. What users generally do is restart the machine for fixing the problem and then continue with their work. This...
View ArticleSQL Server Interview Questions and Answers
Following are some of the importantSQL Server Interview Questions and Answers RDBMS RDMBS is a software system which is used to manage the database.In RDBMS data is stored using collection of...
View ArticleTroubleshootoing performance problems in sql server with sys.dm_os_wait_stats
The SQL Server DMV sys.dm_os_wait_stats is a well established DMV , used heavily in troubleshooting performance problems in SQL Server. The DMV is an aggregated view on all the sql server wait types ....
View ArticleThe Apprentice: Non-SQL stuff that SQL Server depends on
The apprentice and I gathered at my house Sunday evening for a bit of training. I gave him some homework ahead of time to go look up RAID and the most common levels. Yep…we spent an hour...
View ArticleSpeaking at VS Live Austin
I’ll be speaking at Visual Studio Live Austin in May 2017. I was fortunate to be selected to speak again, after my first two VS Lives last year in DC and Orlando. I’m excited to go back, as the...
View Article