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

Daily Coping Tip

Recognize you have a choice about what to priotitise

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.

The Next Evolution of Big Blue

When I was a kid, IBM built typewriters. I actually had one and produced some schoolwork on it. At some point I learned they were a force in large computing. Then they entered the PC market, and eventually the Thinkpad laptops were coveted items. Later I encountered them when a large company I worked for was looking at outsourcing our IT service for Big Blue to run.

In over a 100 years, IBM has thrived, despite ups and downs, and re-invented themselves many times. Early in my career, lots of managers used IBM hardware and software, with the adage that "no one gets fired for buying IBM." Whether it was the best fit or not, it was hard to get in trouble for using what many others had chosen.

I haven't heard a lot about IBM lately, but wasn't surprised to see this article about them spinning off the managed services part of their business. I think that has always been a low margin business, though surprisingly a successful one. It made Ross Perot a very rich man.

However, with the cloud world, margins are higher. The cloud isn't necessarily cheaper for businesses. They pay more to have flexibility, less up front capital expenditure, and less commitment. While IBM doesn't often come up when talking about AWS, Azure, and GCP, it's listed as one of the top 5.

I don't know if it will catch the others, but I do know more and more companies are looking to cloud and hybrid infrastructure, and I would bet IBM will have lots of success here.

Steve Jones - SSC Editor

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

 
 Featured Contents

Recovering Databases From a Master Backup

Steve Jones - SSC Editor from SQLServerCentral

Losing your instance might result in the need to get information from what you have. Steve Jones looks at a way to get the proper version and patch, and database list, from what limited resources you might have.

Execute SSIS Package from PowerShell - Part 1

Additional Articles from MSSQLTips.com

In this article we look at how you can execute SSIS package using PowerShell both with and without SSIS package parameters.

From the SQL Server Central Blogs - How To Set Up Perfmon for 24×7 Collection

kleegeek from Technobabble by Klee from @kleegeek

I just released a new training video (one of many to be released in the upcoming months) showing you how to set up Windows Perfmon for ongoing 24×7 collection....

From the SQL Server Central Blogs - Azure SQL Database Elasticity – Presentation Notes

Steve Hughes from DataOnWheels

This blog covers the content and points to the code used to create the demos in my Azure SQL Database Elasticity presentations. As of today, I have presented this...

 

 Question of the Day

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

 

The Questions for Change Tracking

What are the two main questions that Change Tracking in SQL Server helps you answer? (choose 2)

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)

A Strange Comparison

I get this code from a developer:

SELECT
      sd.Date
    , sd.Customer_Age
    , sd.Age_Group
    , sd.State
    , sd.Product
    , sd.Order_Quantity
    , sd.Profit
    , sd.Cost
    , sd.Revenue
FROM  dbo.SalesData AS sd
WHERE sd.Profit !< 10000;

What does this return?

Answer: all rows where the profit is greater than or equal to 10000

Explanation: This operator, !<, is not less than, which equates to greater than or equal to. Ref: Not Less Than - https://docs.microsoft.com/en-us/sql/t-sql/language-elements/not-less-than-transact-sql?view=sql-server-ver15

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
Alwayson Availbility group extended to Azure?.. - Hello, Can databases on-Premise  Alwayson Availability group of SQL server 2017 failover to Microsoft Azure SQL database (PaaS)? Or it has to be IaaS? We don't have Azure VMs (IaaS) but only license for Azure SQL databases (PaaS). And How about Basic Availlbity group on Standard Edtion? thanks alexsunny
SQL Server 2017 - Development
SQL Query Help - display records - Need help with Query. CREATE TABLE #tblTemp (IName varchar(50), ICategory varchar(20), IValues varchar(10)) insert into #tblTemp values ('JSmith','Bar1','1QT') insert into #tblTemp values ('JSmith','Bar1','2QT') insert into #tblTemp values ('JSmith','Bar1','3QT') insert into #tblTemp values ('JSmith','Bar2','1QT') insert into #tblTemp values ('JSmith','Bar2','2QT') insert into #tblTemp values ('JSmith','Bar2','3QT') insert into #tblTemp values ('JSmith','Bar3','1QT') insert into #tblTemp values ('JSmith','Bar3','2QT') insert into […]
Stored Procedures and Entity Framework not returning columns - I have a developer using Entity Framework and the metadata isn't returning for some stored procedures. Specifically ones that use Temp Tables. I've seen some EF articles about using SET FMTONLY OFF to get the metadata but I would prefer not to touch this. Are there any examples/methods anyone has come across to resolve this […]
Merge statement with partial part of the table. - Hi, I have a very big table and I need to do a merge. if the primary key and the record source match then I need to update one column, otherwise I need to insert. I really dont need to do the whole table, but only the part when the data is bigger than a […]
SQL Server 2016 - Administration
SSRS 2016 giving 500 error - Hello! I am getting this intermittent issue when browsing the report, this error goes away once I refresh the browser. This seems to be happening when accessing report through the load balancer (https://) only Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 […]
Backup taking too long - SQL Server 2016 - Backup is taking too long to complete all of a sudden, this is the wait_type and time shown for the backup. wait_type :ASYNC_IO_COMPLETION wait_time : 53127671 This DB server has more than 10 CPU and 96 GB RAM, SQL is using max memory of 92 GB.  
SQL Server 2016 - Development and T-SQL
Determining whether a parameter has been established. - I have a ssrs report with 6 parameters 4 or which are cascading and one parameter (pTimeZoneID) that drives the "Time Zone" in a dynamic OLE DB connection string. Need to set the Default value in the pTimeZoneID to a static "Time Zone" in order to use the data source to populate the 4 cascading […]
Administration - SQL Server 2014
Need to create a job for dynamic execution on another server - Hi all, I need to create a job to dynamically script out indexes and some other objects from Server A and apply them on Server B. They are linked through a Linked Server. But how to construct the job? I know how to build dynamic code, but how to save its output, and how to […]
sp runs in 1 second sometimes and sometimes it takes forever - sp runs in 1 second sometimes and sometimes it takes forever and returns null even though there is data     thought it  was parameter sniffing and started using option recompile..but still runs the same. What could be the reason for this behavior?   Thanks!      
SQL 2012 - General
SQL Server DR Test - Hi all   I am pretty new with SQL Server and I have some doubt about doing DR tests with SQL Server.   I have around 25 database running in SQL Server 2012 Standard Edition with Log Shipping setup in another Data Center. I have to do a simulation DR test, breaks Data Center communication, […]
SQL Server 2012 - T-SQL
deleted duplicate post - deleted duplicate post
SQL Server 2019 - Administration
Failover Clustering IP's - For a 2 node active/passive cluster on Physical servers with shared storage. I am trying to setup Failover clustering for two nodes. I am looking for the required IP address needed. So below is what I came up: I need total of 3 IP addresses along with the virtual server names 1 IP address for […]
SQL Server 2019 - Development
query - Hi i have 3 table that need to find out which id missing two tables TABLES: Main,table1 and table2 compare with Main-table against the table1 and table2 which id is missing that two table show        
Joining 2 select results into a single row - select( select name,enabled, case when enabled = 1 then 'active' else 'notactive' end as JobStatus from msdb.dbo.sysjobs where name='JobA'), (SELECT CASE WHEN EXISTS ( SELECT name FROM msdb.dbo.sysjobs WHERE name = 'JobA' ) THEN 'Exists' ELSE 'Does not Exists' END as 'JobAPresentAbsent') Error:Only one expression can be specified in the select list when the subquery […]
General
Keeping a record of Scripts run - Hello I have a real issue with the scripts that are being run on our systems - database. Vendors pass various scripts through the Apps team so I have no problems with their legitimacy, but I have a real problem in keeping track of what was run, when, by who (which DBA). More often these […]
 

 

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

 

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