Transact SQL: Get list of all databases in server
How to get as SQL query result the list of databases in SQL server. select name, database_id from sys.databases Read more»
How to get as SQL query result the list of databases in SQL server. select name, database_id from sys.databases Read more»
When you modify columns of a table in MS SQL management studio, you got the message “Saving changes is not permitted. The changes you have made require the following table to be dropped and re-created … ” (Figure 1). The reason of this is re-creating of table. It’s really important for productive environment but not […] Read more»
Rename table in MS SQL Server: sp_rename 'old table name', 'new table name' Read more»
Для изменения большого числа записей в списке SharePoint, на который было подписано много человек, столкнулся с задачей, чтоб в это время пользователи не получили кучу сообщений. Думал про 2 реализации отключения оповещений: 1 – изменить настройки SMTP сервера на заведомо неверные, чтоб вся почта скопилась в папке Queue, а потом ее удалить; 2 – временно […] Read more»
For a massive update of a SharePoint list items I didn’t want users, who subscribed for alerts about changes in the SharePoint list, got the messages about it. There were 2 ways to do it: 1 – temporary to disable SMTP server (change SMTP settings to wrong ones) and delete files from Queue folder after; […] Read more»
Открывая в Midnight commander текстовый файл для редактирования, запускается редактор VIM. Возможно, я б выбрал другой, но хостер установил этот. Это бесплатный редактор, особенность которого в том, что в VIM нужно вручную переключать режимы ввода – командный и текстовый. Т.е. чтоб ввести текст нужно включить один режим, а чтоб его сохранить – переклчюить режим на командный. […] Read more»
As a result of experiments with WPF controls I got the error in Visual Studio 2013. I started to look for records in block “using”, but it was all right there. Read more»
To recover password of SharePoint Farm, you need to log on with a Local Administrator account on a server with Central Administration. To recover passwords for Web Applications or services you need to log on with Administrator account to server where it is running. Read more»
Word allows you to create a Table of Contents automatically. It searches headings in your document and creates contents according to them. Headings must be set via headings styles in tab “Home”. Read more»
In PowerShell you can use a lot of modules and classes of your machine. Built-in system class “System.Environment” allows you to get a lot of useful information about your machine. Its syntax is like this [System.Environment]::class_property or [System.Environment]::class_method. Read more»