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

Labor Day 2024

It's Labor Day in the US, the traditional end of summer for me as a kid growing up in Virginia. This was the last day of summer before school started for me. It was also the day when many of the seasonal businesses closed in Virginia Beach.

It's not quite the end of summer for me, but it is a day of Labor. Travel and a strange weather pattern this summer have me behind on ranch chores, plus, the ranch manager AKA my daughter, is on vacation. Today I'll handle the horse chores and then start fixing, building, and more today. There is always plenty to do, and as my daughter has taken over much of the day-to-day ranch management, she continuously sends me a list of things that need repairing. She's happy to help, but I have to go over how to accomplish some tasks that she's never done.

Hopefully it's a quiet day for those of you working in technology, with no outages or security incidents and you can start the week slowly.

For those in the US, hopefully you have a great day off and enjoy a break from your labors.

Steve Jones - SSC Editor

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

 
  Featured Contents
SQLServerCentral Article

How to Recover a Corrupted Azure Data Factory Integration Runtime

diponkar.paul from SQLServerCentral

I would like to share my recent experience with Azure Data Factory (ADF) where AutoResolveIntegrationRuntime become corrupted and how did I recover it. I still don't know how the Integration Runtime (IR) was corrupted. However, if it happens, then this article will help you to solve the issue. Problem In general, the ADF AutoResolveIntegrationRuntime should […]

External Article

How to Slice Data by Fiscal Month using DAX for Power BI Reports

Additional Articles from MSSQLTips.com

In this article, learn how to set the current fiscal month identity in a calendar table using DAX for Power BI when dealing with fiscal periods.

Blog Post

From the SQL Server Central Blogs - Expanding Northwind with Prompt+

Steve Jones - SSC Editor from The Voice of the DBA

I was trying to do a little testing of our subsetter and needed a larger database. So I decided to ask Prompt + to help me with a little...

Blog Post

From the SQL Server Central Blogs - Building a Cost-Effective SQL Server Failover Cluster in Google Cloud Platform

david.bermingham from Clustering for Mere Mortals

Building a SQL Server Failover Cluster in Google Cloud Platform (GCP) is a powerful way to ensure your databases remain highly available, even in the face of unexpected failures....

SQL Server 2022 Administration Inside Out

Site Owners from SQLServerCentral

Dive into SQL Server 2022 administration and grow your Microsoft SQL Server data platform skillset. This well-organized reference packs in timesaving solutions, tips, and workarounds, all you need to plan, implement, deploy, provision, manage, and secure SQL Server 2022 in any environment: on-premises, cloud, or hybrid, including detailed, dedicated chapters on Azure SQL Database and Azure SQL Managed Instance.

 

  Question of the Day

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

 

Trigger Order II

I have a table in my SQL Server 2022 database with two triggers, triggertest_tri_1 and triggertest_tri_2. I run this code to first set an order for my triggers.
EXEC sp_settriggerorder	@triggername = 'triggertest_tri_2', @order = 'first' , @stmttype = 'INSERT' GO 
However, I realize I've made a mistake, so I run this:
EXEC sp_settriggerorder	@triggername = 'triggertest_tri_1', @order = 'first' , @stmttype = 'INSERT' GO 

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)

Synapse Analytics History III

What was the originally name of the appliance that eventually became Azure Synapse Analyics?

Answer: PDW

Explanation: The original name was the PWD (Parallel Data Warehouse). Ref: What's the difference between Azure Synapse (formerly SQL DW) and Azure Synapse Analytics Workspace - https://techcommunity.microsoft.com/t5/azure-synapse-analytics-blog/what-s-the-difference-between-azure-synapse-formerly-sql-dw-and/ba-p/3597772

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
Does a Query Lock to the Table_Name or Table_ID - SQL 2017 ENT SCENARIO: Table_1 has a Sch-M lock on during an intended updating process. A QUERY is executed against Table_1 and is queued up, waiting for the Sch-M lock to release. While the QUERY is queued up on Table_1, Table_1 is renamed to Table_1_OLD A newly designed Table_2 is then renamed to Table_1 QUESTION: […]
SQL Server 2016 - Development and T-SQL
Help with to generate Data pattern Sql help - Need to generate a from and to From to 50 -99 100 -299 300 -- I tried to do the logic ,but its working as 1-50 51-100 101 -   FinalCTE AS ( Select ,FROMQUANTITY AS S_FROMQUANTITY ,ROW_NUMBER() OVER(PARTITION BY C.po_line_id ORDER BY C.FROMQUANTITY ASC) AS A ,CASE WHEN CAST(C.FROMQUANTITY AS NUMERIC(18,7)) >= 1.0 THEN […]
Losing Saved Connections in SSMS 2016 - Microsoft SQL Server Management Studio 13.0.16106.4 Hi , I am used to having saved connections in the Connect to Server popup. For some reason my SQL Server management studio 2016 is not saving them anymore.  Please help me get saved connections back or get the connections to save again.  
SQL Server 2019 - Administration
SQL Server Availability Group Database Backup Missing Data - I have a production SQL2019 Enterprise SQL Server which hosts an Availability Group with 12 small to medium databases in it. This is an OLTP server and there is no database over 200gb. The AG only has 2 nodes and is used for H/A when patching.  Both nodes are onPrem so the Availability Mode is […]
SQL Server 2019 - Development
ssis dashboard suddenly missing from reports option under catalog/ssisdb - hi i rt clicked ssisdb today under integration services catalog , chose reports and didnt see the dashboard option under my regular id.  my id has sa.  so i connected with my admin which also has sa and did see it. losing permissions would have occurred in the last 24 hrs.  i saw in one […]
checking on some restrictions related to functions - hi i'm helping a friend on his creation of a function.   here are the issues... he's getting an error setting nocount on.  i told him that is only a proc thing as far as i know.   is that correct? 2. he's getting an error setting xact abort on.   i was a little surprised by this.  […]
SQL Azure - Development
Hybrid Cloud Server Integration with SQLServerCentral’s SQL Server 2022 - Hello everyone, I’m currently exploring the use of hybrid cloud servers and am focusing on integrating them with SQLServerCentral’s SQL Server 2022. While hybrid cloud environments offer flexibility, managing and optimizing them with SQL Server 2022 presents several challenges. Here are some specific areas where I’m seeking advice: Integration Best Practices: What are the best […]
Powershell
dump to csv -- image column - If there is an Image Column in mssql table and I wanted to use export-csv to dump this info to file how do you handle that column to be able to import that csv to another DB. Thanks.
SQL Server 2022 - Administration
Alias woes on SQL Server 2022 - Our company is moving to the cloud. I have SQL Developer Edition 2022  on Windows Server 2022 Datacenter setting up our QA SharePoint Farm.. I've created a named instance running over port 55055 using TCP/IP. THis is what I have in my on premises SQL server that we set up about 10 years ago. The […]
Db level user is not having execute permission no db_owner - Dear all, we have a strange situation Db level [ user ]is not having execute permission also not having db_owner , having ddl read and write but in audit logs it is showing the same user had action_id/EX permission in audit logs how can this is possible.
SQL Server 2022 Memory Consumption - I have migrated to SQL Server 2022 from SQL Server 2014 and after migration I have observed that it is consuming more memory than before. Memory is going almost 80-90%. We have same configuration, there is not memory caping on SQL Server 2022 and there was no caping on SQL Server 2014. We have same […]
SQL Server 2022 - Development
SSIS package project connections don't work on upgrade - We're upgrading from SQL Server 2016 to 2022.  The SSIS package project level connections don't work as expected.  One queries the server as an anonymous logon instead of the domain account associated with the SQL Server Agent.  One even affects both the original server and the new one to which it is pointed.  I have […]
2022 azure vm cant run same ssis pkg we run on prem - Hi, we set up an environment on our new azure 2022 vm with a cloned  "prod target warehouse", ssis project clone from prod, cloned sql agent etc etc.  amongst other things the ssis points at a new erp's sales data we are testing with in just one agent step/ssis project execution for that 2019 std […]
ssis 32 bit vs 64, debug and non debug - Hi i am looking in vs2022 at my imported 2022 dev azure vm based ssis project.  And vs2022 at my 2019 non azure non vm (i think)  based production ssis project.  The idea is to compare their bittages after i got an error on the dev box basically saying the 64 bit connector wasnt installed […]
Strange(?) performance problems - I am debugging an NHibernate generated SQL_query for performance problem and came up with something strange. The query is a SELECT statement that reads from a view. I've tracked the problem to this part of the query: AND (myView.A LIKE (@p7+'%') OR myView.B=@p8 OR myView.C=@p9) If I run the query with only condition at a […]
 

 

RSS FeedTwitter

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

 

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