SQLServerCentral - www.sqlservercentral.com

A community of more than 1,600,000 database professionals and growing

Featured Contents

The Voice of the DBA

Power BI Desktop on the Mac

Power Bi is one of the neatest tools that Microsoft has built for data professionals. It allows anyone to build fantastic interactive visualizations that can help tell a story and help someone make decisions. There have been some amazing demo visualizations from Microsoft customers. I've seen a predictive maintenance visualization for airplanes, one for diabetes trends and a fun basketball visual. There are also a fantastic set of custom visual controls, quite a few of which are described in Devin Knights blog series.

If you don't know anything about Power BI, there are lots of resources, including some amazing tips from the Guy in a Cube. Adam Saxton has an amazing channel and puts together some impressive videos with Patrick LeBlanc. They might be one of the best sources for learning to work with the tools. You might want to spend some time playing with Power BI as I can almost guarantee that you'll build better reports with this tool than you would otherwise. You'll impress your customers, clients, and boss with your design work.

Plenty of people have Mac laptops, especially business people, and for quite some time they've had to deal with a lack of native tooling. Certainly there are lots of software ports, and no shortage of web software, but there are always places where a lack of a native solution is problematic. I don't know that we'll get lots of software ported to a new OS, but there is a better solution. Containerization can help smooth the way.

A few years back I met the Kenji Obata, founder of Turbo.net. He was doing some interesting work with containers, and I was fascinated by their work. Since then, they've grown and refined their technology, and now they have Power BI for Mac available. As soon as I saw their walk-through video, I wanted to share the experience. It's pretty amazing, and if I were still running OSX, I'd be looking to use some of the Microsoft tools I want on the native desktop.

This isn't really native, but the experience feels native. The use of containerization technology might be debatable for databases, but for client applications, it's amazing. The way that Turbo.net packages up applications is incredible. I like Turbo, and if you need to use Microsoft client applications on a Mac, you might give them a try. It's not free, but it's way better than virtualization and has some really cool features as well. I'm sure lots of non-technical people, especially management, that might build reports would love the experience of running Power Bi Desktop on their Mac.

They even have SSMS available as a turbo container for the Mac, if you're interested.

Steve Jones from SQLServerCentral.com

Join the debate, and respond to today's editorial on the forums


The Voice of the DBA Podcast

Listen to the MP3 Audio ( 4.6MB) podcast or subscribe to the feed at iTunes and Libsyn. feed

The Voice of the DBA podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music.

ADVERTISEMENT
SQL Monitor

Don’t just fix SQL Server problems, prevent them from happening

SQL Monitor helps teams looking after SQL Server be more proactive. Not only does SQL Monitor alert you to current issues, it gives you the information you need to stop them happening in the future. Download SQL Monitor now and get a 14 day free trial

SQL Prompt

Become a more efficient SQL developer with SQL Prompt

Learn how to write SQL faster and more efficiently with these exclusive short videos from Data Platform MVPs and SQL Server experts. With SQL Prompt you can strip out the repetition of coding and write SQL 50% faster. Check out the tips

Featured Contents

 

One Million Tables

Steve Jones from SQLServerCentral.com

A quick experiment to create one million tables in a database. More »


 

Setting up SQL Server on Red Hat Linux in AWS - Part 1

Additional Articles from MSSQLTips.com

In this post, Pinakin Patel looks at the preliminary steps you need to peform to build an instance in AWS to run SQL Server on Red Hat Linux. More »


 

SQL Compare Snapshots: a lightweight database version control and rollback mechanism

SQL Compare snapshots provide an easy way to keep track of changes during development work, whether they are small changes between iterations, or significant changes between releases. Snapshots can be used to quickly generate rollback scripts during releases even in environments which are isolated by infrastructure design for security reasons. More »


 

From the SQLServerCentral Blogs - Database testing and ETL processes

Ed Elliott from SQLServerCentral Blogs

Unit testing using tSQLt is really great, you call FakeTable on any tables your code touches and then insert the... More »


 

From the SQLServerCentral Blogs - Using CAST() function with User-Defined Data Types…Did you know…

Cláudio Silva from SQLServerCentral Blogs

I'm converting some Firebird database code to T-SQL and I'm seeing a lot of code that doesn't work in the... More »

Question of the Day

Today's Question (by Steve Jones):

I don't have time to worry about indexes. I need to create a new database for an application and I have some choices. I want the database engine to run create and drop index statements itself, based on the workload being executed

In which one of these versions of SQL Server should I create my database to allow for automatic indexing? (as of May 2018)

Think you know the answer? Click here, and find out if you are right.


We keep track of your score to give you bragging rights against your peers.
This question is worth 1 point in this category: Indexing.

We'd love to give you credit for your own question and answer.
To submit a QOTD, simply log in to the Contribution Center.

ADVERTISEMENT

SQL Server Query Store In Action

The Query Store changes the way you monitor performance on your databases and the way you tune the performance of those same databases. This book represents a deep dive into a large number of topics in and around the Query Store. Get your copy from Amazon today.

Yesterday's Question of the Day

Yesterday's Question (by Steve Jones):

I decide to build a short Python function from the command line that looks like this:

>>> def add99 (x):
...      x.append(99)
...      print(x)

I then execute this code from the REPL.

>>> y = [1,2,3]
>>> add99(y)
[1, 2, 3, 99]

If I now do this in the same REPL, what is returned?

y

Answer: [1,2,3,99]

Explanation:

As with other mutable items, the parameter passed to the function is a pointed to the value. When the function changes the list to add a 99, y points to the same location as the x in the function. Therefore, y  will also show the additional value.

Ref: Python Mutable and Immutable Function Arguments - https://learnandlearn.com/python-programming/python-how-to/python-function-arguments-mutable-and-immutable


» Discuss this question and answer on the forums

Database Pros Who Need Your Help

Here's a few of the new posts today on the forums. To see more, visit the forums.

SQL Server 2017 : SQL Server 2017 - Administration

Has anyone installed SQL Server on Ubuntu 18.04? - Banging my head on this one as I cannot find a way to install SQL Server on one of my...

hMailServer 5.6.7 - B2425. - Attention: SQL ServerCentral.com staff:      I downloaded hMailServer 5.6.7 - B2425 and have been waiting for at least 2.5 hours for the...


SQL Server 2017 : SQL Server 2017 - Development

SSIS Buffer Error - Hi, I am trying to execute a package and I am getting the following error messages: Error: A buffer failed while allocating...

Error Processing Cube from SSIS package run as a SQL Job - Hi, I am trying to upgrade a SQL server with Analysis Services to SQL 2017 cu5, 14.0.3023.8, (I tried CU4 before...

Removing stored procedures to move to cloud - I got an interesting email today about cutting back on the reliance of the applications on databases and plans to...


SQL Server 2016 : SQL Server 2016 - Development and T-SQL

Odd behavior -- execution plan different when I execute in the target database vs not in the target database - So I have a query that's basically SELECT column FROM DB1.Schema.View.  The view is a bit of a mess, does...

Updating datetime2 column not working - Hello, Trying to update some datetime2 columns. UPDATE T_MYTABLE SET dateTransferred = '2018-03-26 05.00.00' where id = 1223 Causes an error.  So, I tried casting it. UPDATE...

Running total with a twist - Hi! I'm trying to optimize a cursor-solution for following problem: A customer can have a number of orders with a total value...


SQL Server 2014 : Administration - SQL Server 2014

Insert into an existing table. - I am working with 2 tables. 1st table (old table) contains data from 01/01/16 to 07/31/2017. The other table (new...

CHECKDB - Cannot continue the execution because the session is in the kill state. - we started getting this last weekend on a large-ish AlwaysOn database (800GB). it failed on all 3 replicas last weekend. next...


SQL Server 2014 : Development - SQL Server 2014

inserting incremental records in table ? - Hello  I want to copy records from another database table  to my  Employee table  i am using below quey to insert records. I...

Column data stores in variable - Hi everyone, I want to column level data store in one variable. like below example.


SQL Server 2012 : SQL 2012 - General

SQL server backup taking longer time , how can i reduce that time - my normal full back up use to take 30 min and one day suddenly it jumped to 5 hours. how can...

Query optimization - Hi Guys, I have to optimize a query that takes hours to run. I cancelled the query because it takes a...

FileStream Encryption - I am evaluating encryption methods for filestream as I am currently using TDE for non file data but filestream data...


SQL Server 2012 : SQL Server 2012 - T-SQL

Find all stored procedures that use a particular db. - Is there a way to list all of the stored procedures that use a particular database?

Without using group_by or xml_path how to concatenate multiple rows of a same id into a single row - Input: ID             DESCRIPTION 1            An 1            Apple 1            a 1       &nb


SQL Server 2008 : T-SQL (SS2K8)

Number of Days between two Day Names - I have a table with a Start Day and a End Day Column ID StartDay EndDay 1 Monday Friday 2 Tuesday Wednesday 3 Friday...


Reporting Services : Reporting Services

Embedding ssrs report in email body - Hi, Can some one help me to embed a SSRS report in email BODY instead of attaching it via subscriptions? Thanks


SQL Server 2005 : Administering

Error on Performance Counters disabled after adjusting Service accts permissions - Our SQL service account was incorrectly a Domain admin account. As per best practices and give only the minimum rights...

This email has been sent to {user_email}. To be removed from this list, please click here.
If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com.
This newsletter was sent to you because you signed up at SQLServerCentral.com.
Feel free to forward this to any colleagues that you think might be interested.
If you have received this email from a colleague, you can register to receive it here.
This transmission is ©2018 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
Contact: webmaster@sqlservercentral.com