Tagged Content List
  • Wiki Page: SQL Server: Move master database to another location (drive)

    Table of Contents Problem Description Troubleshooting Steps 1. Check master files in C drive: 2. Check temp files using configuration manager 3. Stop SQL Services and copy master mdf and ldf file to new location. 4. Update new master ldf and mdf in configuration manager and start SQL Services using services...
  • Wiki Page: ASP.NET MVC 5: Code First Migration With Entity Framework And MySQL

    Table of Contents Introduction Prerequisites Create a Web Application using MVC 5 Install Entity Framework & MySQL Entity EntityFramework MySql.Data.Entity Model Class Creation of DBContext Connection String Migration Steps Output Reference Summary See Also Introduction We know how to use...
  • Wiki Page: T-SQL: Safely Concatenate Values Into a Scalar Variable

    Introduction It is often far too easy to experience some behavior in SQL Server, and then extrapolate your belief from that. One example that is seen frequently on forums is the simplistic case of concatenating values into a scalar variable, however the logic that is commonly assumed is false...
  • Wiki Page: How can I prevent crash from IDENTITY column value jump

    Table of Contents Introduction Building the Environment for Testing Causing Gaps in a Sequence Number Changing the startup SQL Server service Using TRACE 272 Conclusion References See Also Other Languages Introduction This article presents a common change in values ​​of columns that have the...
  • Wiki Page: SQL Server: Frequently Used Ports

    Table of Contents Introduction Frequently Used Ports References Introduction This list is about essential TCP/UDP port numbers that an administrator running SQL Server / Cluster requires to know when configuring the firewall or otherwise. It includes those used under OS, server-based programs...
  • Wiki Page: SQL Server: Replace Function

    Table of Contents Introduction Table SQL Query Example 1 Replace Function Output 1 Example 2 Replace Function Output 2 Summary This document was originally published as Tech Blog Content and has been reproduced here to allow the community to correct any inaccuracies or provide other enhancements...
  • Wiki Page: SQL Server: Ranking Functions

    Table of Contents Introduction Preparation DDL+DML Ranking function in Microsoft SQL Server RANK() DENSE_RANK() Row_Number() NTILE() Reference Conclusion Note: This Article Participated in TechNet Guru Competition December 2016 Jump and won Silver Medal. Introduction In this article...
  • Wiki Page: SQL Server 2016: Bulk Import JSON file data to Table

    Table of Contents Introduction Generate Bulk JSON file Create a SQL Server Table OPENROWSET Bulk Import Check for Valid JSON Convert Single Row to Multiple Rows Convert Value Column to Multiple Rows Insert Data into the Table Full Code for JSON Import and Table Population Summary See Also Introduction...
  • Wiki Page: SQL server Troubleshooting: cannot open Backup device - Error 1326 (DMA)

    Table of Contents Database Migration Assistance Database Migration Assistance While Getting the Following error : Operating system error 1326 Step 1: To enable xp_cmdshell using the following to execute on SSMS (ref: https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/xp-cmdshell...
  • Wiki Page: SharePoint SSRS Troubleshooting: System.Data.SqlClient.SqlException - The EXECUTE permission was denied on the object ‘xp_sqlagent_notify’, database ‘mssqlsystemresource’, schema ‘sys’.

    Table of Contents Error Resolution Error This error occurred when trying to access the Manage Processing Options in SharePoint SSRS. “An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. —>...
  • Wiki Page: SQL Server : How to Configure pssdiag utility for SQL Server 2016

    Table of Contents Introduction Configure Database Server Informations Pssdiag Package Scenario Select XEvents, Traces, Perf Counters Save the pssdiag package Related Links Introduction Pssdiag is a data collection utility that Microsoft gives to us to collect useful data and log files for SQL Server...
  • Wiki Page: C#: complete ComboBox

    Table of Contents Introduction Background Implementation Backend operations Outline for the data class which follows: Patient class Backend data class Outline for the form load/shown operations. Adding a new patient record Summary Source code Steps to build the solution See also Introduction...
  • Wiki Page: SQL Server: DMV to Track Page Split

    Table of Contents Introduction Page Split DMV to Track Page Splits T-SQL Script to track Page Split See Also Introduction Page split is an important factor in analyzing how often fragmentation occurs in the database. Page splits are normal because when rows are added to index, a page needs to...
Page 20 of 123 (3,075 items) «1819202122»