Bigger Fact Table for Wide World Importers
Microsoft released a new sample database a couple of months back: Wide World Importers . It’s quite great: not every (unnecessary feature) is included but only features you’d actually use, lots of...
View ArticleSQL SERVER Installation Fails With Error A Constraint Violation Occurred
In my recent past, I have helped around 10 customers who have had similar problems while installing SQL Server Cluster on windows. So I thought it would be a nice idea to pen it down as a blog post so...
View ArticleTech tip: making SSIS Project Connections generate correctly using BIML Express
A bit more of a technical view on things today. In order to stay up to date with the latest when it comes to generating ETL for the Microsoft stack (SSIS), I recently upgraded from Visual Studio 2013...
View ArticleT-SQL----系统表
T-SQL T-SQL---- 系统表 T-SQL-----存储过程 前言 虽说现在orm,nosql对数据的操作会减少很多t-sql的编程,但是t-sql这应该是每个程序员要掌握的,接下来的两周准备把这块知识点进行系统总结。 1.系统表 存储SQL所有的系统信息。存储有关数据库服务中的元数据所谓元数据即(比如数据服务器有哪些用户数据库、数据库服务器有哪些登陆账号,...
View ArticleSQL Server 2008 导出/还原/兼容到 SQL Server 2005、2000
之前我们要将一个表中的数据导出为脚本,那么只有在网上找一个导出数据的Script,然后运行就可以导出数据脚本了。现在在SQL Server 2008的Management Studio中增加了一个新特性,除了导出表的定义外,还支持将表中的数据导出为脚本。导出过程: 在SSMS2008(SQL Server Management Studio...
View ArticleSQL Server 2014 内存优化表
不同于disk-based table,内存优化表驻留在内存中,使用 Hekaton 内存数据库引擎实现。在查询时,从内存中读取数据行;在更新时,将数据的更新直接写入到内存中。内存优化表能够在disk上维护一个副本,用于持久化数据集。 Memory-optimized tables reside in memory. Rows in the table are read from and...
View ArticleT-SQL:毕业生出门需知系列(九)
《SQL 必知必会》读书笔记 -- 第9课 汇总数据 9.1 聚集函数:对某些行运行的函数,计算并返回一个值 案例: -- 确定表中函数 -- 获得表中某些行的和 -- 找出表列的最大值、最小值和平均值等 --当我们实际想要汇总信息,而不是需要数据本身时,可节省时间和带宽。 --表9-1 --函数 说明 --AVG() 返回某列的平均值 --COUNT() 返回某列的行数 --MAX()...
View ArticleChallenges running Continuous Merge Agents
Chris Skorlinski Microsoft SQL Server Escalation Services I wanted to cover in this blog challenges you’ll encounter running Merge Agent on continuous schedule. These are Merge Agents whose SQL Server...
View ArticleSQL SERVER A Timeout (30000 milliseconds) was Reached While Waiting for a Tra...
Recently I was contacted by a client who reported very strange error in the SQL Server machine. These consulting engagements sometimes get the best out of you when it comes to troubleshooting. They...
View ArticleInstalling new SQL Server sample databases: WideWorldImporters
By:Koen Verbeeck || Related Tips:More >SQL Server 2016 Problem With a new release of SQL Server (SQL Server 2016) comes also a new sample database. The days of AdventureWorks are over, here's Wide...
View Article#0381 SQL Server Table design Is it better to use NEWID or NEWSEQUENTIA ...
Database schema designinvolves defining the clusteredkeys (generally the primary key) on a table, and one of the maindecisions to be taken iswhether to use a clustered key based on...
View ArticleRecipe for an awesome (free) SQL Server workstation
windows 10 . Where we're going we don't need legacy software, but if you do, then download PowerShell 5.0 instead. SQL Server Management Studio 2016 and SQL Sentry Plan Explorer (Free) . Don't forget...
View ArticleSQL Server 2016: Broader Access, Better Reporting, Faster Analytics
Microsoftwants to make it easier for businesses to use their data. Otherwise, what’s the point? In SQL Server 2016 you’ll find a virtual tool chest full of features, all with one primary goal:...
View ArticleArtemiou Data Tools: Free Online SQL Services
Three years ago, back in 2013, I founded the " Artemiou Data Tools " community initiative. Under the "Artemiou Data Tools" initiative I aim at developing simple yet powerful data tools for the...
View ArticleLearn more about Azure + SQL Server at SQLSaturday Minnesota
I’m excited to cross the Mississippi River again this autumn to present at SQLSaturday #557 Minnesota 2016 . First, I’ll be giving a full-day pre-conference session, “Get Started With SQL Server in...
View ArticleRename logical database file name for a SQL Server database
By:Manvendra Singh || Related Tips:More > Database Administration Problem SQL Server database files have two names: one is the logical file name and the other is the physical file name. The logical...
View ArticleSQL Server 存储过程
Transact-SQL中的存储过程,非常类似于Java语言中的方法,它可以重复调用。当存储过程执行一次后,可以将语句缓存中,这样下次执行的时候直接使用缓存中的语句。这样就可以提高存储过程的性能。 存储过程的概念 存储过程Procedure是一组为了完成特定功能的SQL语句集合,经编译后存储在数据库中,用户通过指定存储过程的名称并给出参数来执行。...
View ArticleSQL Server 2016: built-in JSON Use case scenarios
Microsoft SQL Server has become an increasingly friendly data platform for developers. It natively supports XML for a large number of years and now, keeping up with trends, we can use built-in JSON...
View ArticleSpeaking At Dev Data Day 2016
If you’re in the Birmingham, AL area this Saturday (August 20, 2016), come join me at Dev Data Day at Samford University, where I’ll be presenting SQL Server Tips For Everyday Programmers. I’m looking...
View ArticleSQL Server Backup Strategy
[Total: 0 Average: 0/5] You can createSQL Server backup strategy with the help ofSqlBak. Probably one of the most frequent jokes you will notice while speaking around one particular vital task for a...
View Article