SQLServerCentral - www.sqlservercentral.com

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

Featured Contents

The Voice of the DBA

Gigging for a Career

There are some people that like working for an organization, sacrificing some compensation and flexibility for stability and security. Others enjoy the chance to experience constantly changing environments and a rich variety of projects at the expense of regularly searching for new work. Neither is necessarily better or worse than the other, and these aren't polar opposites. In the real world, each includes some of the advantages and disadvantages of the other.

For many of us that work with data, we realize there are some advantages to understanding the business meanings and implications of the information derived from data. Indeed, those that tend to work with the same types of data become fluent and comfortable manipulating and discussing how analysis, transformation, and more relate to that type of data. This leads me to think that someone that works for a company or stays within a particular industry might be preferred as a data professional for organizations in that space. Maybe this is someone that an organization wants to hire and retain over time.

I ran across a piece that discusses the Gig Economy from the perspective of data professionals. Their view is that many data professionals would rather work on interesting projects, and analyze data that is interesting to them, rather than being stuck with a single organization. Certainly from the organization's view, having very skilled professionals available for project work means less costs in training, benefits, hiring, etc. While the cost per day might be high, there is no need for an ongoing, or at least not a constant, commitment.

I do think that many of the changes in technology have made it possible for talented workers to find plenty to keep them busy and earn a very good living. However, there's a cost in spending time looking for projects on a regular basis. It takes not only time, but mental strength and a desire to be a bit of a salesperson and marketing professional. Some people may find long term clients that call them over and over, which isn't that different from working for an organization unless you can interleave a number of clients together on a regular basis. However, most people that work at "gigs" are regularly spending time looking for work.

I would postulate that most of us prefer some amount of security and stability, preferring to work for an organization for a period of time. While we may change jobs at times, it's often at a lower pace than those that might prefer to work in the Gig Economy

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 ( 3.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 Prompt

Could your SQL coding be more efficient?

Data Platform MVPs and SQL Server experts share their tips on how to standardize formatting whilst stripping out the repetition of coding with SQL Prompt. Over these 20 short videos we will help you write better, shareable SQL faster. Check out the tips

ReadyRoll

Database migrations inside Visual Studio

Feeling the pain of managing and deploying database changes manually? Redgate ReadyRoll creates SQL migration scripts you can use to version control, build and release, and automate deployments. Try it free

Featured Contents

 

Parameter Sniffing In Action

Nisarg Upadhyay from SQLServerCentral.com

This article will demonstrate what is parameter sniffing and how can it can kill performance More »


 

A Freecon Halloween at the PASS Summit

Press Release from SQLServerCentral.com

If you're attending the PASS Summit in 2017, there's a Freecon day on Tuesday you can attend. More »


 

How to determine SQL Server database transaction log usage

Additional Articles from MSSQLTips.com

One crucial aspect of all databases is the transaction log. The transaction log is used to write all transactions prior to committing the data to the data file. In some circumstances the transaction logs can get quite large and not knowing what is in the transaction log or how much space is being used can become a problem. So how to you determine how much of the transaction log is being used and what portions are being used? More »


 

From the SQLServerCentral Blogs - Non Profit Umbrella Org – Good Idea?

Andy Warren from SQLServerCentral Blogs

Note: Published too soon, so lots of edits from the first version. Sorry for any confusion. I had a question from... More »


 

From the SQLServerCentral Blogs - SQL Server: What will REPAIR do?

Arun Sirpal from SQLServerCentral Blogs

So I had a corruption issue and I was thinking about running repair but I wanted to know what would... More »

Question of the Day

Today's Question (by Steve Jones):

I've got a date that I want to format to look better for a client report. My intention is to get the date to just show the month name and day. I have heard the new FORMAT() function makes this much easier, so I decide to use that. Here's my base code:

 declare @date datetime2 = '20171024 08:24:15' select format(@date, ) 

What should I use for the second parameter of the FORMAT function?

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: FORMAT().

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

Exam Ref 70-761 Querying Data with Transact-SQL

Prepare for Microsoft Exam 70-761–and help demonstrate your real-world mastery of SQL Server 2016 Transact-SQL data management, queries, and database programming. Designed for experienced IT professionals ready to advance their status, Exam Ref focuses on the critical-thinking and decision-making acumen needed for success at the MCSA level. Get your copy from Amazon today.

Yesterday's Question of the Day

Yesterday's Question (by Matt Crowley):

What will be the value assigned to the variable @str?

 DECLARE @str VARCHAR(100) ; SELECT @str = ISNULL(@@SERVERNAME, 'hello') WHERE 1 = 0 ; SELECT @str ; 

Answer: null

Explanation:

The correct answer is NULL. 

The answer is neither 'Hello', nor the server name, because the select statement returns no rows, so there is nothing for the ISNULL function to work on. 

The syntax is perfectly correct.  In T-SQL, the FROM keyword is optional.  In Oracle, the FROM keyword is required, which is why selecting a single value from a function or a literal requires the use of the DUAL table.


» 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 2016 : SQL Server 2016 - Administration

backup to MSSQL 2012 from mssql 2016 - I do not think it's possible, but i could really use it. Best regards Edvard Korsbæk

Making Indexes Invisble to the Optimiser - Good Morning Folks!  I am working on an optimisation project that is focusing heavily on indexing within the database.  At the...

The target database, '', is participating in an availability group and is currently not accessible for queries. - Hi, I keep seeing this error in secondary node of the server. We dont have readable secondary. But the error only...


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

Challenging string handling in T-SQL - Hello Experts, I have a data in a table as shown in the first column (A) and would like to update...


SQL Server 2014 : Development - SQL Server 2014

Trying to speed up this 'GetWorkingDays' function. - I'm trying to redesign one of our working days functions. The idea is to calculate weekends (easy enough) but holidays...

tsql help - Hi Experts, Need tsql help. I have a table row as follows. Basically, it will contain a huge string values...

Database design to handle Millions of records - Dear Techies, Please suggest how should design database to handle millions of records. And also let me know strong points to...


SQL Server 2012 : SQL 2012 - General

find indexes - I have to design a script to find all tables in a database with below criteria. 1. Identify all tables should have more...

Connection Encryption - Protocols not showing the certficiate - Following https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-encrypted-connections-to-the-database-engine to setup SSL connections. Have got through to the part when you need to enable the certificate in the...

PDF iFilter problems (again!).. - Using adobe ifilters on filtables.. This is really a continuation of an earlier topic ( http://www.sqlservercentral.com/Forums/Topic1464679-2799-1.aspx#bm1465104 ) After getting the adobe iFilter 9...

VMWare snapshot breaks windows 2012 Cluster - Hi, We have set up SQL server 2012 alwaysOn availability group on windows 2012. It runs and fails over successfully. Recently,...


SQL Server 2012 : SQL Server 2012 - T-SQL

Find tables - I have to design a script to find all tables in a database with below criteria. 1. Identify all tables should...

Identify wrong links inside a hierarchical tree-structure - Hello, I'm working on an electrical network, edge are link between nodes, insert lines with 'end' are all clients. The first line...

using cross apply to find different values trough xml files eficiency - Hello Experts, I am trying to run the following query:            SELECT CAST(t.nodes.query('data(item)') as varchar(max)) 'Item',                           CAST(t.nodes.query('data(bp_orno)') as varchar(


SQL Server vNext : SQL Server 15 - Administration

Open .PRC with connection - Using V17.3 and 2008R2 When I double-click on an .sql file, SSMS v17 launches with a new connection window. When I...


SQL Server 2008 : SQL Server 2008 - General

SQL memory Performance counters review and help - Hi All, Need your help to understand that my DB server is require more memory or not as per the below...

SQL versus program - Hi all, I'm posting my question in this 2008 forum because we're running SQLServer 2008R2, but it is more a general...


SQL Server 2008 : T-SQL (SS2K8)

Session Scope with Temporary Tables and Dynamic SQL - I came across something interesting while troubleshooting a developer's code recently.  We use temporary tables which are populated by executing...


Data Warehousing : Analysis Services

Measures showing up Blank in Power BI - When I attempt to connect POwer BI Desktop to my tabular model, The measures all show up blank.   I am able...

SSAS Tabular mode not seeing relationships - I have a cube I am weorking on building using tabular mode.  I have set the relationship in the .bim...

This email has been sent to newsletter@newslettercollector.com. 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 ©2017 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
Contact: webmaster@sqlservercentral.com