SSIS Catalog Automatic Log Cleanup
Built into the SSIS catalog is a mechanism that can automatically purge log data after a set period of time. In this post, I’ll show you how to set up and manage that functionality. SSIS catalog...
View ArticleRemove Dynamic Port Configuration from a SQL Server Instance
By:Graham Okely | Last Updated: 2018-12-19 || Related Tips:More > SQL Server Configurations Problem If your SQL Server instance has both static and dynamic ports configured, you may occasionally...
View Articledynamic management views long running queries | How would you find currently...
Home Server Objects dynamic management views long running queries | How would you find currently running queries on SQL Server Instance Server Objects dynamic management views long running queries |...
View ArticleOptimum batch size and thread while deleting records using SSIS Integration...
Recently we had to delete few records for one of our entities. It was a user owned entity with 1 custom 1 n relationship with contact having around 190 fields. It was Dynamics 365 CE Online on version...
View ArticleTraversing Nearest Neighbors With Dijkstra’s Algorithm And SQL Server Graph
In my previous post I shared a SQL Server 2017 graph database of US capitals . Graphs are a computer science core competency and present some interesting challenges for programmers. Most notable of...
View ArticleSQL Server 2019 Extensibility Framework & Java - Null Values
This post is the third post where I look at the Java extension in SQL Server, i.e. the ability to execute Java code from inside SQL Server. The previous two posts are: SQL Server 2019 Extensibility...
View ArticleT-SQL Tuesday Participation Over the Years
Loads of TSQL Tuesdays Years ago the TSQL Tuesday party was started by Adam Machanic( b | t ). The premise of the monthly event is to get people a topic each month to try and ease some of the...
View ArticleShortcut: Sharing query plans in SQL Server Management Studio
Currently, SQL Server query plans are stored as XML. You can see what they look like by right-clicking in any query plan in SQL Server Management Studio (SSMS), and clicking Show Execution Plan XML:...
View ArticleGetting Started with GitHub for SQL Server Developers
By:Nat Sundar | Last Updated: 2018-12-20 || Related Tips:More > Source Control Problem What is GitHub and how GitHub can help SQL Server developers? In this tip we will show you the basics on how...
View ArticleDo Functions Stop You From Using Indexes?
Say I’ve got a function in my WHERE clause: SELECT DisplayName FROM dbo.Users WHERE LTRIM(RTRIM(DisplayName)) = 'Brent Ozar'; If I have an index on DisplayName, will SQL Server use it? Sure: Function...
View ArticleSQL Server / Oracle tabletable only recordable by a trigger&ques ...
I am wondering if is there a way to make a table writable only by an specific trigger in SQL Server or Oracle DB. Just to make an example: Table: "Operation" ID | Date | Account1_ID | Account2_ID |...
View ArticleCreating A Logon Trigger To Track When A Specific Account Is Connecting To A...
I was recently tasked with tracking down which applications were using a specific SQL account. The account in question was a legacy account that was used as a semi ‘sa’ level account a while back. Not...
View ArticleSQL Server Query Performance for INSERT SELECT vs INSERT EXEC
By:Simon Liew | Last Updated: 2018-12-21 || Related Tips:More > T-SQL Problem I was asked by a developer if doing INSERT SELECT versus INSERT EXEC was any different in the way of performance and...
View ArticleMy goal is to send, aside the connection string the & ldquo& ...
I have a connection string (SQL Server): Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword; My goal is to send inside the connection string the "pc name"....
View Articlesql server interview questions for freshers
Home Interview Questions sql server interview questions for freshers Interview Questions sql server interview questions for freshers Sachin Diwakar December 21, 2018 0 Save Saved Removed 0 Sachin...
View ArticleResumable Online Index Create in SQL Server 2019
By:Rajendra Gupta | Last Updated: 2018-12-21 || Related Tips:More > SQL Server 2019 Problem In SQL Server 2017, Resumable Online Index Rebuilds were introduced that allow for pausing and resuming...
View ArticleTroubleshooting Network and SQL Server Connectivity at the Command Line
Network problems with connecting to SQL Server can be daunting. DBAs have various levels of proficiency in networking. It ranges from deep working knowledge to very primitive. Here I outline some basic...
View ArticleSQL Server update group by multiple table names?
I have two tales Recipe and Parameter. Recipes table contains multiple versions with the same recipe name. Parameter table contains multiple parameter names for one recipe. How can I update a...
View ArticleFun Time Friday: Black Friday, Mad Friday, Frantic Friday or Black Eye Friday
Black Friday (No,not Shopping!), Mad Friday, Frantic Friday or Black Eye Friday is a nickname for the last Friday before Christmas (Today!) in the United Kingdom. It is the most popular night for...
View ArticleQuick Tips While Compressing Database in SQL Server
Database compression feature is one of the feature which helps in improving SQL performance by reducing the database storage. SQL Server consumes more CPU resources when it get compressed. Here we will...
View Article