Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
The Voice of the DBA
 

Daily Coping Tip

Donate unused items, clothes, or food.

I also have a thread at SQLServerCentral dealing with coping mechanisms and resources. Feel free to participate.

For many of you out there working in a new way, I'm including a thought of the day on how to cope in this challenging time from The Action for Happiness Coping Calendar. My items will be on my blog, feel free to share yours.

What's Your Approach?

Today we have a guest editorial as Steve is on vacation. This was originally published on 8 Aug 2017.

Recently, I came across one of Richard Branson’s quotes on work commitments. “If somebody offers you an amazing opportunity but you are not sure you can do it, say yes – then learn how to do it later!”

This reminded me of a few project managers, who did commit to certain deliverables to the stake holders, without discussing with the technical team (clearly they didn’t know what was possible and how much time it would take). Results, most of them fell flat on their faces, with some losing their positions in the organisations. However, there were a couple, who were able to deliver within the time and budget constraints. Though they faced a lot of stressful situations, they managed to gear up the teams to see their vision and deliver it.

Then, on the other hand, I have worked with very cautious Project Managers, analyst by nature, who took facts in consideration, before committing to a deliverable and deadline. No doubt, they succeeded most of the times, but they always took longer to commit; and were not very much liked by the stake holders.

So broadly speaking, there are 2 types of approaches:

  1. CUD - Commit, Understand and Deliver
  2. UCD - Understand, Commit and Deliver

Of course, there is a third approach - paralysis of analysis, but let’s ignore it for now.

Personally, I feel my approach is UCD. I cannot justify committing to something, which I am not sure how I would deliver. Committing before understanding, to me, seems like lying. However, after reading about Richard Branson’s quote; and all his achievements, it made me wonder, if my approach (or attitude) was actually restricting my overall successes. Shouldn’t the life be about taking higher risks for higher gains?  Or is honesty still the best policy, when it comes to such commitments ?

Where do you stand? What’s your approach to work commitments?

nitinbhojwani

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

 
 Featured Contents
SQLServerCentral Article

Database Deployment with Terraform - The Basics

wagner crivelini from SQLServerCentral

Learn the basics of using Terraform to declaratively specify how to configure resources in infrastructure.

External Article

Getting Started with Python Pandas and Dataset Profiling

Additional Articles from MSSQLTips.com

This article will focus on reading and profiling data with the pandas package when using Python as well as show how to build charts based on this data.

External Article

Performance Testing Databases with Flyway and PowerShell

Additional Articles from Redgate

Performance tests are central to the quality of the database changes we deliver because they ensure that any business process that accesses the database continues to return its results in an acceptable time. When Flyway creates a new version of the database, it is the ideal time to run these performance checks.

Blog Post

From the SQL Server Central Blogs - T-SQL Tuesday 153: The conference that changed everything

Diligentdba 46159 from Mala's Data Blog

This month’s T-SQL Tuesday is hosted by my dear friend Kevin Kline (b | t) . Kevin’s call is for us to ‘Tell us the story of how attending an IT conference or...

Blog Post

From the SQL Server Central Blogs - T-SQL Tuesday #153: The Thing That Changed Everything for Me – SQLFamily

Tracy Boggiano from Database Superhero’s Blog

Kevin Kline (b | t) is hosting T-SQL Tuesday this month and it is to “Tell us the story of how attending an IT conference or event
The post T-SQL Tuesday #153:...

 

 Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

Clearing Session Cache

What does DBCC FREESESSIONCACHE do?

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

 

 

 Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Operator Precedence

What is the proper order of precedence (high to low) for these operators?

Answer: ~, *, ^. NOT

Explanation: The order of these operators is:

  1. ~ (bitwise NOT)
  2. * (multiplication)
  3. ^ (Bitwise XOR)
  4. NOT

Ref: Operator Precedence - https://docs.microsoft.com/en-us/sql/t-sql/language-elements/operator-precedence-transact-sql?view=sql-server-ver16

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 - Administration
SSAS Views - Hi, When I connected to SSAS in Management studio, I can able to see 2 databases there. The each database has one cube which is same name as the database name. When I selected datasource connection string for one cube it is pointing to the local connection.  When I connect to the SQL Database Engine […]
SQL Server 2017 - Development
Turning Col into Multiple Rows - Hello, I am interested in turning one column into multiple rows depending on the value.  I tried a pivot but seem to be doing something wrong.  Here is some sample code with desired results following:   -- DROP TABLE #t CREATE TABLE #t (ID int IDENTITY(1,1), CoID int, CoName varchar(100), Class varchar(100)) INSERT INTO #t […]
Select * (-----) - Hi, I have a problem like below one. Give, for each train station, the number of distinct (other) train stations that can be reached directly (so without using multiple trips) within one hour of travelling (i.e. the time difference between departure in one station and arrival in the other is 60 minutes or less) and […]
SQL Server 2016 - Administration
TDE master key password change - Hello I have a requirement to change the TDE master key password in one of the environments. Do I need to redo the whole process (encrypt the dbs with the new master key password) again after I regenerate the master key password?   Kindly advice
SQL Server 2016 - Development and T-SQL
calculation for year month and quarter with date dimension table - i want to know how i can use the date dimension table. I am trying to sum all my sales for month, quarter and Year with joining a date dimension table but not sure how to go about that can you assist or direct me to a good resource? I have a query but i […]
Query help - Here is the DDL of the table: I need single row per invoicenumber and line and rest of the amount and comments should to go to additional columns  in the same row as shown (in the spreadsheet). What would be the best way to accomplish this? DROP TABLE IF EXISTS #temp1 CREATE TABLE #temp1 (Program […]
Administration - SQL Server 2014
Get ID from Analysis Server cube. - I am fixing an issue with our automated Analysis Server backups. We use SELECT * FROM $SYSTEM.DBSCHEMA_CATALOGS to get the catalog name, and then plug that into our t-sql to do a backup. The script puts the catalog name into the DatabaseID XML for the backup. The issue is, for some of the cubes, the […]
Development - SQL Server 2014
Cancel query and transactions - I open a new query window in SSMS and execute: EXEC stored procedure. The stored procedure contains BEGIN TRAN and COMMIT / ROLLBACK TRAN. I hit the cancel button and get told it has been done, almost instantaneously.  When I then close the query window, I get the message: "There are uncommitted transactions. Do you […]
SQL Server 2019 - Administration
Backup probleme with SQl Server Writer - folder offline - Hi, I use a tool to backup mysq MSSQL database with Writer SQL SERVER VSS. A database for a database not work because it's excluded from VSS Writer... Here the log of SQL Server Writer : [08/17/2022 16:21:58, TID 17d8] Skipping database SYNCHRONIZOR on instance SRV-SQLSERVER because file C:\NTNX\ERA_DATABASES\SYNCHRONIZOR\DATA1\data\SYNCHRONIZOR is offline. [08/17/2022 16:21:58, TID 17d8] […]
Database and logs partitions filling like crazy - Hello, I've got some strange behaviour lately with my sql server. Actualy there are 2 servers with all the DBs in an AOAG. Both partitions (one for DBs and one for LOGs) are showing up as almost filled, but when I check the actual files on the disk the size of the files is quite […]
SQL Server 2019 - Development
Select statement results - Hi, I am trying to get result when only C drive is less than 10% and other drives less than 20% but exclude server vc5 for e,g,h,i drives - "SERVER='VC5' and drive not in ('e','g','h','i')".   drop table tbl_test go create table tbl_test (Server varchar(200),DRIVE varchar(200),FREE_SPACE_IN_MB int, used_SPACE_IN_MBint, Total_SPACE_IN_MBint, Precentage_free int ) insert into tbl_test […]
Cannot set a value when initializing a variable - The strangest thing happened. I want to make a change in a stored procedure that I have used for ages. All of a sudden I get errors when trying to alter the sp. It turns out that the culprit is the following line: DECLARE @PermissiesViaGroep bit = 0 When I change it to the code […]
Reporting Services
Image within a Rectangle - I am being asked to overlay text objects to a government form for a client. Unfortunately, I am having massive issues with the image not re-sizing to fit the standard 8x11 paper size, it's way too big. Has anyone had such luck with resizing an image down or has code to help with this? Any […]
General
Introduction about me - Hello all, I'm a bachelor's Student. Now, I've decided to put my articles on my own website. At my university, I'm already working on php. But I think I'll use WordPress to make my site because it's easy. So, I got to work on it and set up SQL server, but I ran into a […]
Integration Services
Error when running SSIS package after deploying - Hi everyone, So I have designed a SSIS package in which I am using Zappysys Excel Destination: https://zappysys.com/products/ssis-powerpack/ssis-excel-file-destination/ I am using this to transfer my SQL table data in to excel file. When I run this SSIS package from Visual Studio, it runs fine and give me the excel files I need. But when I am […]
 

 

RSS FeedTwitter

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

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -