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 »MSSQL
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 »What is SQL Server Synonym and How To Use It
Synonym is to give alias (an alternative name) to some objects on a database basis. The synonym can be created for following objects. Table View …
Read More »How To Convert Gregorian Date to Hijri Date or Hijri Date to Gregorian Date
A friend ask to me to conversion about gregorian date to hijri date or hijri date to gregorian date. I will explan this conversions in …
Read More »DATEFROMPARTS, DATETIMEFROMPARTS, DATETIME2FROMPARTS, SMALLDATETIMEFROMPARTS Function in SQL Server(TSQL)
We can get a date by combining the values such as year, month and day with the help of DATEFROMPARTS, DATETIMEFROMPARTS, DATETIME2FROMPARTS, SMALLDATETIMEFROMPARTS functions. …
Read More »How To Change Owner of Database in SQL Server(ALTER AUTHORIZATION)
When a database owner changes his password, you may receive errors as follows. Therefore, it would make more sense to set the owner of …
Read More »SQL Server Columnstore Index(2012,2014,2016,2017)
ColumnStore Index entered our lives with SQL Server 2012. Normally the index is stored in the disk as row-based, and the index is created …
Read More »