I have been using SQL Server for almost 10 years, and I just learned something new using the LIKE operator. You can search any single character within a specified range by using a bracket [ ]. Lets look below to see what I mean.
Continue reading SQL Server Like operatorTag: t-sql
Restore Database using T-SQL
You can also restore your SQL Server database using T-SQL instead of SSMS. Today I will show you how to do an easy recovery with restoring just a full backup and another scenario of restoring a full backup and any available transaction logs.