The Apprentice: SQL Server edition
Not sure if this will be a series, but it could be. Or not. Names may or may not be changed to protect the innocent. Stories may be edited or embellished as I see fit, and for your amusement… A young...
View ArticleAlwaysON RECOVERY PENDING SQL Server Bugs Enhancement Requests T-SQL Tuesday
This month’s T-SQL Tuesday topic is “SQL Server Bugs & Enhancement Requests” and hosted by my favorite and inspirational Brent Ozar . Here is my bug report:...
View ArticleSQL SERVER Query to Get the List of Logins Having System Admin (sysadmin) Per...
Though the script sounded simple to me, but I found that there are lots of incorrect scripts available on the internet. Here is the one of the script I found to find out the details of the system...
View ArticleExam study material for Designing Business Intelligence Solutions with...
By:Daniel Calbimonte || Related Tips:More > Professional Development Certifications Problem I want to pass the Designing Business Intelligence Solutions with Microsoft SQL Server exam 70-467. I...
View ArticleFinding what SQL Server Trace Flags were enabled for a query
By:Ahmad Yaseen || Related Tips:More >Performance Tuning Problem SQL Server Trace Flags are used mainly to switch on or off a specific set of behaviors globally at the instance level or locally at...
View ArticleWhat is KPI in SSAS and steps involved in creating it?
Very few training covers in-depth SSAS in practical. Here in this write-up we will discuss one SSAS feature called KPI and which is also covered as training syllabus during MSBI training in Mumbai ....
View ArticleLearn Different Options for Importing Data Into SQL Server
Most of the time users need to import their data into SQL Server for its proper management. Select from the variation of source as well as destination data source types, choose tables for copying or...
View ArticlePivot component in SSIS (SQL Server Integration Services)
Pivot component is Data Flow component available under Transformation of SSIS(SQL Server Integration Services). Configuring it improperly may cause difficulties in working with component. We at Mumbai...
View ArticleRediscovering SQL Server Agent Alerts...
Having moved from a Fortune 50 company using BMC Patrol for SQL Server Monitoring to a small software company of less than 200 people, I'm rediscovering SQL Server Agent Alerts. Why might you ask?...
View ArticleHow Busy is my SQL Server
When managing large SQL Server Inventories , it’s important for me to measure the level of batch requests on a SQL Server. Knowing this figure I can track changes over time.It will give you a...
View ArticleSql Server: User Defined Function to Get All Dates Between Two Dates
Introduction : In this short article I am going to share how to create a table valued user defined function to get all dates between specified date range in Sql server. In previous articles i...
View ArticleSQL SERVER Why Cluster Network is Unavailable in Failover Cluster Manager?
It’s always a good experience to visit customer sites and talk to people. Sometimes I get to see things outside SQL world as well. There is a lot to learn and I believe that I can do that by sharing...
View ArticleCreating High-Low-Open-Close Candlestick Charts with SQL Server Reporting...
By:Rick Dobson || Related Tips: > Reporting Services Charts Problem Our startup stock advisory firm wants to leverage its SQL Server high-low-open-close stock price database by offering Candlestick...
View ArticleIn-Memory OLTP: Using Memory-Optimized Tables to Replace SQL Server Temporary...
By:Simon Liew || Related Tips:More >In-Memory OLTP Problem In my previous tip, I have shown how cached temporary tables can alleviate DDL contention in tempdb system tables and thus allows for...
View Articleplsql问题解决ORA-12154:TNS:无法解析指定的连接标识符 sql sql语句 SQLServer plsql问 ...
plsql问题解决ORA-12154:TNS:无法解析指定的连接标识符。相信使用过Oracle数据库的人一定碰到过“ORA-12154: TNS: 无法解析指定的连接标识符”错误,我在此做一个小小的总结。在程序中连接Oracle数据库的方式与其他常用数据库,如:mysql,Sql...
View Articlejava.sql.SQLException:Lockwaittimeoutexceeded sql sql语句 SQLServer sql错误解决方 ...
java.sql.SQLException:Lockwaittimeoutexceeded。先说我我的解决方法:找到锁住的线程然后kill掉。mysql> kill thr_id;下面简单分析一下到底应该kill哪个线程。 show...
View Article设置mybatis显示sql语句的方式与比较 sql sql语句 SQLServer mybatis设置
设置mybatis显示sql语句的方式与比较目前所掌握的有两种:一种是在log4j的配置文件log4j.properties中,将log4j.rootLogger 设置为 DEBUG;第二种是在mybatis核心配置文件中,加入以目前的水平,个人倾向于后者, 在于其输出的信息, 流程更为清晰, 内容更为精炼.
View Article程序员面试金典――解题总结:9.15数据库15.1编写SQL查询,列出租住不止一套公寓的承租 ...
程序员面试金典——解题总结:9.15数据库15.1编写SQL查询,列出租住不止一套公寓的承租人。问题:编写SQL查询,列出租住不止一套公寓的承租人。 每套公寓可能有多位承租人,而每位承租人可能租住多套公寓。每套公寓隶属移动大楼,而没动大楼属于一个综合体。 下面是各个表:Apartments: Buildings:Tenants:AptId int BuildingID intTenantID...
View Articlesql行转列和列转行 sql sql语句 SQLServer sql行转列 sql列转行
sql行转列和列转行。最近建立数据立方体需要将表的数据结构进行转换,进行列转行,觉得用途还很大,所以就整理一下,当做自己的笔记拉。 1、列转行(主要) 表weatherdata结构:create table WEATHERDATA( 路径 VARCHAR2(100), 日期 VARCHAR2(50), 时间 VARCHAR2(30), 温度 VARCHAR2(50), P0...
View Article执行SQL语句遇到的错误。 sql sql语句 SQLServer SQL语句错误解决
执行SQL语句遇到的错误。ORA-01745: 无效的主机/绑定变量名 这个可能产生的情况有很多,我目前遇到的一个就是,SQL语句少写一个逗号
View Article