When reading data from the database, we can use GROUP BY clause when we want to group data and process on the groups we …
Read More »MSSQL
CONCAT Function in SQL Server(TSQL)
I would like to talk to you about a new Built-in Function, CONCAT, that comes with SQL Server 2012. As you know, before SQL …
Read More »The ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine
ERROR: The ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine. (System.Data) EXPLANATION: I received an error message when I wanted to import a …
Read More »How To Create Differential Backup Using SQL Server Maintenance Plan
We perform maintenance operations in SQL Server using Maintenance Plan. In this article, we will create a maintenance plan for differatial backup. I will share …
Read More »Order By Clause in SQL Server(TSQL)
With Order By Clause, you can sort the records returned as a result of the Select statement as ascending or descending according to the …
Read More »Where Clause in SQL Server and SQL Server Operators(TSQL)
We use WHERE clause to filter when reading, updating, and deleting data from a table. If we run select, Update, or delete statements without …
Read More »Ambiguous column name Error and SQL Server Alias(TSQL)
When reading data from tables, we may need to give different names to tables and columns. We can do this by defining alias to …
Read More »Merge Statement in SQL Server(TSQL)
With the Merge Statement, we can run INSERT, UPDATE, and DELETE commands at one time to synchronize two tables of the same structure. First, …
Read More »The EXECUTE permission was denied on the object ‘sp_sqlagent_update_agent_xps’, database ‘msdb’, schema ‘dbo’.
ERROR: [298] SQLServer Error: 229, The EXECUTE permission was denied on the object ‘sp_sqlagent_update_agent_xps’, database ‘msdb’, schema ‘dbo’. [SQLSTATE 42000] (DisableAgentXPs) EXPLANATION: You may experience …
Read More »How To Create Full Backup Using SQL Server Maintenance Plan
We perform maintenance operations in SQL Server using Maintenance Plan. In this article we will create a maintenance plan for full backup. I will share …
Read More »