The Bit Bucket

Backup TO DISK, TAPE and now URL - Backup On-Premises SQL Server Databases to Azure Storage

There has been a lot of discussion over the years about whether or not it’s a good idea to introduce new functionality in service packs (for SQL Server, the OS, and others). The concern is that it can invalidate testing, invalidate documentation, books, courseware, etc. However, it can also introduce much-needed features without having to wait for another version of the product. It’s been even-less likely that new functionality would be introduced in a cumulative update (or CU), which are basically a set of rolled-up hotfixes.

2013-01-27

Working with Aliases for Windows Azure SQL Databases in SQL Server Management Studio

One of the issues that is often raised with Windows Azure SQL Database is that you don’t get to pick the name of your server, so you end up with a bizarre name such as:

yy2l95dk1k.database.windows.net.

I can understand why the team did this. Apparently when they first set it up, they allowed you to pick your own server name, so everyone started registering Coke, Pepsi, etc. Not wanting to have yet another place for people to argue about name ownership, they quickly removed that ability. I’m glad they did.

2013-01-21

Windows Azure SQL Database, GETDATE, SYSDATETIME, SYSUTCDATETIME and Rounding

When I’ve been putting data into Windows Azure SQL Database (WASD) in the past, I’d normally been providing the dates from my own system. This week, I had the first time where I wanted to put a column default that provided a date in WASD. It suddenly dawned on me that I wasn’t sure what timezone the date would be from. As I was using the Southeast Asia data centre (in Singapore), I was presuming the value would be based on Singapore’s timezone. So it was time to find out.

2013-01-20

New SQL Down Under Podcast: Allan Hirt - SQL HA & Server Core

New SQL Down Under Podcast: Allan Hirt - SQL HA & Server Core

Hi folks, I’m back into the swing with a bunch of new podcasts coming, featuring SQL Server 2012. First up is Clustering MVP Allan Hirt discussing SQL Server HA with AlwaysOn. Allan also discusses the deployment of SQL Server on Windows Server Core.

Thanks for all the emails that said they loved the shows and told me to get them happening again soon. I think you’ll like the ones that are lined up. You’ll find the shows here:  https://sqldownunder.com/Resources/Podcast.aspx

2013-01-13

New Azure Mobile Services Samples

Hi Folks,

I have to say that I’m really impressed by the rate at which the Windows Azure Mobile Services team is rolling out updates and samples. In particular, it’s good to see a new sample for using Geolocation, given how common a requirement that is in mobile apps today. It’s worth checking out the following:

·         New Code Samples page on WindowsAzure.com

·         Updated WindowsAzure.com Tutorials and Resources page that includes new tutorials and related videos from the new Windows Azure Mobile Services channel 9 series

2013-01-11

How full is my Windows Azure SQL Database?

While the level of compatibility of Windows Azure SQL Databases is high, there are a number of things that need to be dealt with differently, compared with how they are done with on-premises SQL Server.

An example of this, today I needed to know how full one of my databases was. I wanted to know how much space I had used but also to know what the limit was. My first attempt was the usual system views such as:

2013-01-03

Create a system image in Windows 8

Create a system image in Windows 8

One of the things that I’ve just come to accept is that the designers of Windows 8 and I think very differently.

It’ll take a long time to convince me that shutting down the computer is a “setting”. Even after using Windows 8 for quite a while now, I still find that I struggle nearly every day, just trying to do things that I previously knew how to do. That’s just not a good thing.

2012-12-10

CTP for Power View and SSAS Multidimensional Cubes

CTP for Power View and SSAS Multidimensional Cubes

When Power View appeared, one of the big outcries was “but what about connecting to existing cubes!”.

Great to see that the SQL Server team have addressed that. A tool that allows connecting Power View to SSAS Multidimensional cubes is now available.

(NOTE: CTP no longer available)

Help the team get this out the door by trying it and providing feedback.

2012-11-30

Update from Ola Hallengren: Target multiple devices during SQL Server backup

Update from Ola Hallengren: Target multiple devices during SQL Server backup

Ola has produced another update of his database management scripts. If you haven’t taken a look at them, you should. At the very least, they’ll give you good ideas about what to implement and how others have done so. The latest update allows targeting multiple devices during backup. This is available in native SQL Server backup and can be helpful with very large databases. Ola’s scripts now support it as well.

2012-09-17