The importance of JSON data type in our lives continues to increase day by day. We will examine the functions that SQL Server provides us …
Read More »MSSQL
The target principal name is incorrect. Cannot generate SSPI context(Set SPN)
If the domain user that you set for SQL Server Service Account does not have the following rights on the active directory, you will …
Read More »Find a Word in All Databases in SQL Server(TSQL)
If you want to find a word in all your databases in an instance, you are in the right article. The below code block search …
Read More »Property Size is not available for Database. This property may not exist for this object, or may not be retrievable due to insufficent access rights.
I received this error when I right-click on the database and click Properties. Property Size is not available for Database. This property may not …
Read More »EOMONTH Function in SQL Server(TSQL)
You can find the last day of a month using EOMONTH function. In addition, you can use a second parameter that add a specific number …
Read More »Computed Column in SQL Server
Computed Column is a column generated by a calculation using one or more columns in a table. For example, you have columns A, B …
Read More »ISDATE Function in SQL Server(TSQL)
You can check the expression is a valid date, time or datetime value using ISDATE Function. This function’s return type is int. Before using this …
Read More »GETDATE, GETUTCDATE, SYSDATETIME and SYSUTCDATETIME Functions in SQL Server(TSQL)
I will explain GETDATE, GETUTCDATE, SYSDATETIME and SYSUTCDATETIME functions in this article. GETDATE Function in SQL Server(TSQL): We can obtain current database timestamp as …
Read More »Can not Copy and Paste to Remote Desktop
Sometimes you cannot copy your scripts or files to the database server. If you don’t know the solution, it can be a very frustrating. …
Read More »DAY, MONTH and YEAR Functions in SQL Server(TSQL)
We can find the day using DAY function, month using MONTH function and year using YEAR function from a date. It takes the date() …
Read More »