Tricks - Copy T SQL Result to Excel
Sometimes, some of the silliest of tricks save so much of time and effort. Very common scenario is to copy a query result to excel. Most take either of...
2017-11-25
196 reads
Sometimes, some of the silliest of tricks save so much of time and effort. Very common scenario is to copy a query result to excel. Most take either of...
2017-11-25
196 reads
Sometimes, some of the silliest of tricks save so much of time and effort. Very common scenario is to copy...
2017-11-25
683 reads
A few weeks back I had some issues. They were related to this:
My standing desk was down and as you...
2017-11-24
477 reads
To check the available advanced options configured at instance level in SQL Server, you need to use the sp_configure system...
2017-11-24
45,590 reads
Just a quick one today. TL;DR: Remove yourself from some unnecessary AD groups.
If you've ever received the message "login failed...
2017-11-24 (first published: 2017-11-12)
3,397 reads
I’ve not done a SQL puzzle for a while so thought it was getting overdue…
I set this one for my...
2017-11-24 (first published: 2017-11-08)
1,531 reads
Seldom are the days when you run into complex issues but resolve them in the shortest interval of time.
Thanks to...
2017-11-24
509 reads
Time Zones were definitely being a drag today. I got an email from one of the developers at work asking...
2017-11-24
1,134 reads
Naturally the cost of Azure SQL Database directly relates to what tier and performance level you are using. Starting from...
2017-11-23
498 reads
Last week I listened to a podcast from one of my best friends in the sql community – Kendra Little. In...
2017-11-23 (first published: 2017-11-11)
2,000 reads
This month’s blogging party is hosted by Jeff Ianucci – his challenge is to...
As for me, I'll keep writing whenever time permits. I don't expect every post...
By Steve Jones
This is an interesting invitation this month. Jeff Ianucci is a new host, and...
Comments posted to this topic are about the item Pay for Performance, which is...
Comments posted to this topic are about the item Switching Schemas I
Comments posted to this topic are about the item Enforcing Unique Customer Emails When...
I run this query:
SELECT s.name AS schemaname , o.name AS objectname FROM sys.objects o INNER JOIN sys.schemas s ON s.schema_id = o.schema_id WHERE o.name = 'Beer'I get one row back for an object named dbo.beer. There is an ETL schema and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beerWhat happens? See possible answers