Tagged Content List
  • Wiki Page: SQL Server 2008+: Group By with Wings

    This article includes information about a feature from SQL Server 2008 (and up) - Group by extensions. Table of Contents Problem Definition Solution Grouping Sets Cube: Conclusion References Problem Definition In SQL Server 2005 and earlier versions, we would have faced the situation...
  • Wiki Page: SQL Server: Transaction Log is Full

    Table of Contents Overview Recovery Model Additional Resources Reference See Also Overview If the transaction log is full, users cannot update the databases and you cannot fully restore the database in the event of a system failure. You must clear the transaction log either by performing a...
  • Wiki Page: How to find the SQL Server Running Jobs Time Elapsed status

    There are many situations wherein we want to know the time for which a particular or all the jobs are executing. We can find the execution status from the Job Activity Monitor but we don't get the duration of execution in it. we can use the below query to find out the same. The Query fetches the...
  • Wiki Page: Recycle SQL Server ERROR log depend on log file size

    Recently I have seen a question on MSDN forum site, where the asker want to know how can he recycle SQL Server ERROR log depend on its size. As we all there is no way we can do this using any SQL command. So I decided to write PowerShell Script to do the job [System.Reflection.Assembly]::LoadWithPartialName...
  • Wiki Page: Tips for DBA: Scripting jobs using Powershell (separate files)

    Вашему вниманию предлагается сильно упрощённый пример сценария Powershell, который предназначен для скриптования заданий SQL Server в отдельные файлы. Тут используется папка для файлов C:\TEMP, которая должна быть предварительно создана и, желательно, пуста. Поскольку имена...
  • Wiki Page: Delete duplicate record from Microsoft Sql Server

    Most important things is you have one identity column . Use this query for delete all duplicate record. you can use group by on multiple column . Query : delete from (TableName) where ID NOT IN(Select MAX(ID) from (TableName) group by ColumnName,ColumnName,ColumnName,....more columnname)...
  • Wiki Page: Руководство по доставке SQL Azure (ru-RU)

    Это руководство содержит пример для разработчиков, начинающих проект, который, возможно, будет использовать SQL Azure. Руководство предназначено для опытных архитекторов и разработчиков, имеющих опыт работы с SQL Server и, возможно, с .NET Framework. Подразумевается хорошее...
  • Wiki Page: Generar un Script de la base de datos en SQL Server con las tablas y la data (es-ES)

    En este screencast, aprenderemos a generar el script de una base de datos en SQL Server generando las tablas, procedimientos almacenados y los registros o información que tenga la base de datos Gracias :D
  • Wiki Page: Instaladores de SQL Server Express (es-ES)

    Al momento de descargar SQL Express contamos con diferentes instaladores cada uno con una función especial, para elegir correctamente cual es el mas optimo de acuerdo a nuestra necesidad aquí explicamos cada uno de ellos. Microsoft SQL Server Management Studio Express (SQLEXPR_x64_ESN.exe...
  • Wiki Page: INSTRUCCION RANK y DENSE_RANK (es-ES)

    Imagina que contamos con un grupo de alumnos de los cuales tenemos las notas obtenidas en las materias de Matemática, Humanidades, Derecho y queremos saber en base a su nota la posición obtenida del alumno en cada materia, para esto necesitaríamos clasificar las notas de mayor a menor. Otro ejemplo...
  • Wiki Page: Change Data Capture Known has CDC

    Change Data Capture popularly known as CDC is a new feature in SQL Server 2008 that records insert, update and delete activity in SQL Server tables. A good example of how this feature can be used is in performing periodic updates to a data warehouse. CDC records (or captures) DML activity on designated...
  • Wiki Page: T-SQL: Динамическое транспонирование нескольких колонок

    Эта статья является авторским переводом моей статьи T-SQL: Dynamic Pivot on Multiple Columns Проблема транспонирования строк в колонки является одной из наиболее часто обсуждаемых проблем в MSDN Transact-SQL forum . Нередко проблема усложняется необходимостью...
  • Wiki Page: Presentation Transcript: SQL Server 2012 AlwaysOn Availability Group Connectivity

    SQL11UPD01-TSCRIPT-03 This wiki is a transcript of a previously recorded video. Related content assets: Presentation: SQL Server 2012 AlwaysOn Availability Group Connectivity ( SQL11UPD01-DECK-02 ) Video: SQL Server 2012 AlwaysOn Availability Group Connectivity ( SQL11UPD01-REC-03 ) ...
Page 106 of 123 (3,075 items) «104105106107108»