Table of Contents

SQL Server

Install SQL server

install sql server 2012 with Manage studio tools

Download and Install SQLEXPRWT_x64_ENU.exe(SQL management studio was integrated in this package)

install SQL server 2008

  1. step1: SQLEXPR_x64_ENU.exe 2008
  2. step2: install SQLManagementStudio_x64_ENU.exe

Basic Config with SQL Server Configuration Tool

Change config TCP/IP connection

view database config(data config, log config...)

reset password

Backup and restore

backup and restore bak file

backup and restore sql scripts

attach database file(mdf file)

debug in sql server

query log in sql server

The actual stored procedure line number from an error message

Error line numbers may not match the number returned in the error always, this is because when the SQL server executes a stored proc, it has its own compilation & execution methodology, so the line numbers vary based on the execution order it takes

Debug stored procedure with break point