Database Research & Development

  • Home
  • NoSQL
    • NoSQL
    • Cassandra
  • Databases
    • Database Theory
    • Database Designing
    • SQL Server Coding Standards
    • SQL Server
    • PostgreSQL
    • MySQL
    • Greenplum
    • Linux
  • Interviews
    • SQL Server Interviews
    • MySQL Interviews
    • SQL Puzzles
  • DBA Scripts
    • SQL Server DBA Scripts
    • PostgreSQL DBA Scripts
    • MySQL DBA Scripts
    • Greenplum DBA Scripts
  • Home
  • Blog Archives !
  • (: Laugh@dbrnd :)
  • Contact Me !
sqlserverinterviews
Home Microsoft SQL Server

Microsoft SQL Server

  • SQL Server: How to compare your objects between two Databases
  • SQL Server: Script to check Network or Connect permission of User
  • SQL Server: Script to find the total size of the Indexes
  • SQL Server: How to find a time when was SQL Server Restarted
  • SQL Server Interview: How to remove New Line Character from a string?
  • SQL Server: Find Stored Procedures which use Dynamic SQL and Temporary Table
  • SQL Server: Auto Generate Database Detach and Attach Scripts
  • SQL Server: Script to find a list of Weekends between two Dates
  • SQL Server: Script to take full backup for all the Databases
  • SQL Server: Set IDENTITY to existing Column of a Table
  • SQL Server: If Table Exists in a Database, don’t perform any action
  • SQL Server: If a Column Exists in a Table, don’t add it
  • SQL Server: Script to find the Largest Object of a Database
  • SQL Server: Script to find the Size of Indexes
  • SQL Server: Script to find the list of Triggers
  • SQL Server: How to Aggregate data and perform Multiplication?
  • SQL Server: While execution, Debug the Code and Print the message
  • SQL Server: Encrypt Password using HASHBYTES function
  • SQL Server: Generate the DROP Script for Table, Function, Stored Procedure, Schema
  • SQL Server: How to create Read Only Table?
  • SQL Server: Basic performance test between SELECT INTO and INSERT INTO SELECT
  • SQL Server: Script to check the file exists or not (Using xp_fileexist )
  • SQL Server: Extra Tabs and Spaces of object occupies more disk area
  • SQL Server: Script to PINTABLE and UNPINTABLE (Keep data in Cache)
  • SQL Server 2014: Examples of Table Variable with Indexes
  • SQL Server Coding Standards: About General Naming Conventions
  • SQL Server Coding Standards: About Object Identifiers
  • SQL Server: Set the default value to IMAGE Column or Binary Data
  • SQL Server: Do the Schema Compare between two Tables
  • SQL Server Interview: How to insert the data into Multiple Tables?
  • SQL Server Interview: Is NULL = NULL valid condition?
  • DBRND listed by feedspot in the Category of Top 30 SQL Server Blogs
  • SQL Server: Using xp_cmdshell, Read the data of Text File
  • SQL Server: Script to configure the Database Mail
  • SQL Server: Never Apply INNER JOIN or EQUI JOIN on NULL Values
  • SQL Server 2012: Script to check the status of Distributed Always On Availability Group
  • SQL Server 2012: Script to monitor Automatic Seeding of Always On Availability group
  • SQL Server Interview: What is the difference between TABLOCK and TABLOCKX?
  • SQL Server: How to ESCAPE Square Brackets in LIKE?
  • SQL Server: The use of Semicolons is a good habit, Don’t forget it
  • SQL Server: How to remove IDENTITY from a Column?
  • SQL Server: How to change the default “GO” Batch Separator?
  • SQL Server Interview: Primary Key Column as Non Clustered Index, Non Primary Key Column as Clustered Index
  • SQL Server: Optimize the Performance of TempDB
  • SQL Server Interview: Difference between Sequence Object and Identity Column
  • SQL Server 2016: Enable System-versioned Temporal Table on existing Table
  • SQL Server 2016: Drop table operation failed on table because it is not supported operation on system-versioned temporal tables
  • SQL Server 2016: System-versioned Temporal Table to store History of data change
  • SQL Server: Allow Multiple NULL Values in UNIQUE Constraint
  • SQL Server: Create Full Text Search Index, Use CONTAINS for pattern matching
  • SQL Server: Script to find the list of Startup Procedures
  • SQL Server: After Dropping a Column, Rebuild the table and get the Space
  • SQL Server 2017: Unable to find SQL Server Configuration Manager
  • SQL Server: Script to check Newly Allocated Pages to the Table
  • SQL Server: Script to Drop a Table from all Databases
  • SQL Server: Script to Unlock a Database User
  • SQL Server: Find the Service Account Name, under SQL services are running
  • SQL Server: Maths of ROW_NUMBER, RANK, DENSE_RANK
  • SQL Server: sp_refreshsqlmodule for refreshing Module Metadata Information
  • SQL Server: Msg 262, SHOWPLAN permission denied in database
  • SQL Server: How to change Authentication Mode from Windows Registry?
  • SQL Server Interview: Revoke all permissions, Grant one Table to User
  • SQL Server: Script to rename all Tables of a Database
  • SQL Server: Change the SCHEMA of a Table or Move all Tables in another SCHEMA
  • SQL Server: Set IMPLICIT TRANSACTIONS, Not require BEGIN TRANSACTION
  • SQL Server: Remove Hypothetical Indexes, created by Database Engine Tuning Advisor
  • SQL Server: sp_spaceused for accurate disk space information of Database
  • SQL Server: Script to find a list of CHECK Constraints of Database
  • SQL Server: Script to find Unused Indexes of Database
  • SQL Server Interview: Can we restore the only data file (.mdf file)?
  • SQL Server Interview: How to get the User Name, who created Database Backup?
  • SQL Server: Script to find Database USER LOGIN Information
  • SQL Server: Check the status of running Database Backup
  • SQL Server: How to configure MAXDOP Parameter (Max Degree of Parallelism)
  • SQL Server: Find total number of Sessions of a Database
  • SQL Server: How to get a Stored Procedure name in CATCH Block
  • SQL Server Interview: For Database Fresher – Different ways to create a Primary Key
  • SQL Server: Script to get the definition of Trace
  • SQL Server: How to recycle SQL Server Agent Error logs?
  • SQL Server: Script to check If Mirroring enable for Database
  • SQL Server: Script to get the SSIS Packages of MSDB
  • SQL Server: Update all NULL Columns with ZERO (0)
  • SQL Server 2014: Buffer Pool Extension to improve I/O throughput and Query Cache
  • SQL Server: Frequently Restart a SQL Server is a bad practice
  • SQL Server 2016: Introduced Live Query Statistics, Monitor Live Query Execution
  • SQL Server 2016: sys.dm_db_column_store_row_group_physical_stats to find fragmentation of Columnstore Indexes
  • SQL Server 2016: sys.dm_column_store_object_pool to find memory pool usage by Columnstore Indexes
  • SQL Server 2014: sys.column_store_row_groups to find information on Columnstore row groups
  • SQL Server 2012: SORT_IN_TEMPDB used to Improve the Index Rebuild Performance
  • SQL Server: Easy way to get the Table Difference For Data
  • SQL Server 2016: Columnstore Index on Memory Optimized In Memory OLTP Tables
  • SQL Server 2016: Script to get information of Cached Functions (Total Execution Time)
  • SQL Server 2016: Introduced MAXDOP with DBCC Commands
  • SQL Server 2016: Introduced Database Scoped Configuration Options
  • SQL Server 2014: Monitor Memory Optimized Tables which stored in Memory
  • SQL Server 2014: Introduced DBCC CLONEDATABASE TO generate only Schema and Statistics
  • SQL Server: How to get the Table Column Differences?
  • SQL Server: Not Good – Cost Threshold for Parallelism Default is Five
  • SQL Server: When you last executed DBCC CHECKDB? (Using sp_readerrorlog)
  • SQL Server 2014: WAIT_AT_LOW_PRIORITY improved the performance of ONLINE REBUILD INDEX operation
  • SQL Server 2016: New COMPRESS and DECOMPRESS function for the Column level Compression
  • SQL Server: How to Remove Forwarded Records of a Heap Table?
  • SQL Server: Script to find the Forwarded Records count of a Table
  • SQL Server: Must know – the Forwarded Records in HEAP Table
  • SQL Server Interview: Theory – What are the different states of Database
  • SQL Server 2016: Introduced Data Compression Algorithm to reduce the size of Table
  • SQL Server: Use sp_estimate_data_compression_savings for checking estimate object size and saving space
  • SQL Server: BULK INSERT for insert data from Flat file (CSV) to Table
  • SQL Server Interview: List out the Best Practices, after installation of SQL Server
  • SQL Server 2016: Use dm_exec_session_wait_stats to check wait statistics per Session Level
  • SQL Server 2016: Use dm_exec_function_stats to check Number of Execution Count of Function
  • SQL Server: Implement Table Partition in Non Enterprise Edition (Use Partitioned View)
  • SQL Server: Use sp_MSforeachtable to apply a T-SQL command to every table of current Database
  • SQL Server: Script to find untrusted or invalid Foreign Keys
  • SQL Server 2016: Generate the JSON formatted data from the Table Data
  • SQL Server: sp_monitor to compare the server statistics for different executions
  • SQL Server: Use sp_recompile to recompile the stored procedures, triggers, and user-defined functions
  • SQL Server: Use sp_clean_db_free_space to remove Ghost Records or Dead Tuples
  • SQL Server 2016: Use STRING_ESCAPE to escape single quotes, double quotes, forward slashes
  • SQL Server 2012: Use sp_describe_first_result_set to compare the Table Definition
  • SQL Server 2012: Use sp_server_diagnostics to check the health of Server
  • SQL Server: Function to remove Non ASCII Characters and Special Characters
  • SQL Server 2012: Introduced the new form of TRY CATCH Exception Handling using THROW
  • SQL Server 2016: Row Level Security by Example
  • SQL Server Interview: Have you ever created a Temporary Stored Procedure or Function?
  • SQL Server: Script to check the size of Query Plan Cache
  • SQL Server: When DBCC DROPCLEANBUFFERS fails, script to find dirty pages from Memory
  • SQL Server: How to find Table name from Page ID?
  • SQL Server: Corrupt a table using DBCC WRITEPAGE
  • SQL Server: Script to find SOS_SCHEDULER_YIELD wait type usage
  • SQL Server Interview: As a DBA, which wait types are important to check
  • SQL Server: Script to check the Allocation Units of a Table
  • SQL Server: Script to execute Update Statistics for all Databases
  • SQL Server Interview: What is the difference between AUTO_UPDATE_STATISTICS and AUTO_UPDATE_STATISTICS_ASYNC
  • SQL Server: SSMS Client Statistics – more than STATISTICS IO
  • SQL Server: Practical example of Exceeding the maximum row size of 8060
  • SQL Server 2016: Use OPENJSON() to extract JSON data from Input Parameter
  • SQL Server Interview: Which Index uses by COUNT(*) statement
  • SQL Server: Performance Test – Problem of mismatched Column Data Type
  • SQL Server 2017: Start and Stop, Enable and Disable SQL Server Service on Linux
  • SQL Server Interview: What is the difference between Unique Constraint and Unique Index?
  • SQL Server: How to keep a few records in Top result of ORDER BY
  • SQL Server: How to find Corrupted Indexed View using DBCC CHECKDB?
  • SQL Server: Committed Inner transactions never releases the log disk space
  • SQL Server Interview: If Outer transaction ROLLBACK, what happens to Inner transaction
  • SQL Server: Why Shrink Database is bad, Check the practical demonstration
  • SQL Server: Who dropped a table, find out from Transaction Log
  • SQL Server: Script to find Open Transaction to avoid Deadlock
  • SQL Server Interview: How to manage Services or Instances from Command Prompt?
  • SQL Server: Move your database using Attach and Detach
  • SQL Server Interview: What is difference between SINGLE_USER, RESTRICTED_USER and MULTI_USER
  • SQL Server: T-SQL Script to identify current Authentication Mode
  • SQL Server Interview: Can disable the Index, If yes, how to verify disable indexes?
  • SQL Server 2017: Microsoft released Community Technical Preview (CTP 2.0) on 19th April 2017
  • SQL Server Interview: What are the different Startup Options?
  • SQL Server: How to move TempDB from one drive to another drive
  • SQL Server: A network-related or instance-specific error occurred while establishing a connection
  • SQL Server Interview: What, How, Where, Which for Default Trace
  • SQL Server: BACKUP DATABASE permission denied in database
  • SQL Server 2016: Wide World Importers (WWI) – New sample database
  • SQL Server 2016: Use WITHOUT_ARRAY_WRAPPER to remove [square brackets] from JSON
  • SQL Server 2016: Introduced AT TIME ZONE Expression to select different TIME ZONEs
  • SQL Server: Encrypt Column data using Symmetric Key Encryption
  • SQL Server 2016: New DATEDIFF_BIG to take difference for MICROSECOND, NANOSECOND, MILLISECOND
  • SQL Server 2016: SSMS close unsaved T-SQL query windows
  • SQL Server 2016: SSMS supports Edit TOP 200 Rows for View
  • SQL Server: Find Log Sequence Number (LSN) from Database Backup Files
  • SQL Server: What is a Log Sequence Number (LSN)?
  • SQL Server 2016: STRING_SPLIT to Split a String by Different Delimiters
  • SQL Server 2012: T-SQL script to convert a Database to Partial Contained Database
  • SQL Server 2012: Script to enable Contained Database at Instance Level
  • SQL Server 2012: What is Contained Database and how to configure it?
  • SQL Server Interview: Use xp_msver to get more information of Server Version
  • SQL Server: xp_cmdshell and BCP to export table data in a Text File
  • SQL Server: MEDIAPASSWORD – password to your Database Backup file
  • SQL Server: Change the default path of Backup directory and Log files
  • SQL Server: Various options to Drop a user Database
  • SQL Server: SET NOEXEC ON prevent the accidently execution of entire SQL script
  • SQL Server Interview: Difference between Filtered Index and Table Partition
  • SQL Server: Indexed View acquires a Lock on Data
  • SQL Server Interview: The Indexed View – Frequently asked questions
  • SQL Server: SET STATISTICS IO and SET STATISTICS TIME measure the Query Performance
  • SQL Server: Reasons for Error 3201 Cannot open backup device. Operating system error 5 (Access is denied)
  • SQL Server: Reasons for Error 17204 FCB::Open failed: Could not open file
  • SQL Server: Fix – Error 5042 The file ‘FileName’ cannot be removed because it is not empty
  • SQL Server: How to repair corrupted Clustered Index using REPAIR_REBUILD option
  • SQL Server: fix error 3183 RESTORE detected an error on page (0:0) in database as read from the backup set
  • SQL Server: Use xp_fixeddrives Procedure to monitor the Disk Space of Server
  • SQL Server Interview: Use DBCC SQLPERF to monitor the Transaction Log File Size for all Databases
  • SQL Server: fix error 945 database cannot be opened due to inaccessible files or insufficient memory or insufficient space on disk
  • SQL Server Interview: If Transaction Log Full, what are your steps to resolve it
  • SQL Server Interview: How to Reset or Recover SA Password? (System Administrator Login)
  • SQL Server: When records lock, use %%lockres%% to find the page information of records
  • SQL Server: How to SELECT Random records from a Table?
  • SQL Server: Execute CHECKPOINT and SHUTDOWN your Database Server immediately
  • SQL Server: Script to find bad Sessions or Processes
  • SQL Server: Script to find Open Connections and CPU Usage of each Client Programs
  • SQL Server 2016: Create a FOREIGN KEY in Memory optimized Table (In-Memory OLTP)
  • SQL Server: Script to monitor the Corrupt Database Pages
  • SQL Server: Error – ‘The operation ‘AUTO_CLOSE’ is not supported with databases that have a MEMORY_OPTIMIZED_DATA filegroup’
  • SQL Server: Don’t Enable Auto Close Database Option
  • SQL Server Interview: How to prevent ‘SELECT *’ using T-SQL Script?
  • SQL Server Interview: A Golden question, Can we disable the Clustered Index?
  • SQL Server: You must know about the sys.dm_os_wait_stats
  • SQL Server 2012: List of important views to Monitor the AlwaysOn Availability Groups
  • SQL Server 2012: Script to monitor Status and Health of AlwaysOn Availability Groups
  • SQL Server 2016: Configure a TempDB for Autogrowth and Multiple data files
  • SQL Server 2016: How to enable trace flag 1117 and flag 1118 on Database
  • SQL Server 2016: TempDB enhancement – by default turn on trace flags 1117 and 1118
  • SQL Server: Move your Table from one File Group to another File Group
  • SQL Server: Enable CHECKSUM Page Verification to detect a prime spot of Data Corruption
  • SQL Server: How to Recover a database from SUSPECT Mode?
  • SQL Server: After Restart, Database in “In Recovery” status, Can’t Access it
  • SQL Server: How to Restore Database from Snapshot Database?
  • SQL Server: How to create Snapshot Database?
  • SQL Server: What is Database Snapshot and How it works?
  • SQL Server 2016: Script to find last statement executed by a SPID using sys.dm_exec_input_buffer
  • SQL Server: DBCC INPUTBUFFER to find the last statement executed by a SPID
  • SQL Server: Avoid the use of Indexes on VARCHAR columns
  • SQL Server Interview: Where does DMVs store its data?
  • SQL Server Interview: What is the logical order of SQL Query (SELECT Statement)
  • SQL Server: Get the Latches Usage and Information (sys.dm_db_index_operational_stats)
  • SQL Server: Important Discussion about the Latches
  • SQL Server: Filtered Indexes – Improved the query performance
  • SQL Server 2012: Script to find all System Objects related to File Table
  • SQL Server Interview: How internally it executes a SQL Statement?
  • SQL Server: Configure Fill factor for Index and Server Instance
  • SQL Server: Index Performance Tuning with the Fill Factor
  • SQL Server: The truth about TABLE WITH (NOLOCK)
  • SQL Server: Amazing Sparse Columns an optimized storage for NULL values
  • SQL Server: The list of Important Trace Flags
  • SQL Server: Increase Query Performance using a Forced Parameterization
  • SQL Server: Kill your running Sessions or Change Database Mode (Multi_User to Single_User)
  • SQL Server: Script to find Outdated Index Statistics
  • SQL Server: How to find auto created Statistics Objects?
  • SQL Server: sp_updatestats to update the Database Statistics
  • SQL Server: Find Statisitcs Information of the Database Objects
  • SQL Server: How to create User Defined Filtered Statistics?
  • SQL Server: Enable Auto Create and Auto Update Statistics
  • SQL Server: The Importance of Statistics and Why It is important
  • SQL Server: Have a large Database, use Striped Database Backup & Restore
  • SQL Server: T-SQL Script to change Schema of all the Tables
  • SQL Server: Who dropped a Table and Which Table has been dropped
  • SQL Server 2016: Introduced Query Store, to monitor the performance differences between query execution plans
  • SQL Server 2016: Introduced JSON support, to store and retrieve JSON document
  • SQL Server: Script to find waiting Queries which are block by other running Queries
  • SQL Server: Script to find TOP 20 most used or executed SQL Queries
  • SQL Server:Warning in Query Execution Plan, “Operator used tempdb to spill data during execution with spill level 2”
  • SQL Server: Error Msg 5009-One or more files listed in the statement could not be found or could not be initialized
  • SQL Server: Error 15023 User already exists in current database (Problem of Orphan User)
  • SQL Server: How to configure and enable Microsoft Distributed Transaction Coordinator (MSDTC)?
  • SQL Server: Script to find top 20 Stored Procedure, which are utilizing more CPU
  • SQL Server: Script to grant EXECUTE stored procedure permission to a Database USER
  • SQL Server: Script to find Memory Utilization for each database
  • SQL Server: Script to find the CPU Information from Registry
  • SQL Server: Script to find top 20 running query, which are utilizing more CPU
  • SQL Server: Script to rename Database Name, Table Name, Column Name
  • SQL Server: Generate Shrink Script for each Database File
  • SQL Server: Script to find Memory usage and allocation
  • SQL Server: Script to find Redundant and Duplicate Indexes
  • SQL Server: Script to find disable foreign key tables
  • SQL Server: Script to find Large Object Data Type Columns
  • SQL Server: Script to find a Table which has more than 25 columns
  • SQL Server: Script to find a Table which has more than 10 Indexes
  • SQL Server: T-SQL Script to Rebuild all Indexes of a Database
  • SQL Server: Script to find SQL Agent JOB and JOB Schedule Information
  • SQL Server: Script to find all Running SQL Server Agent JOB
  • SQL Server: Script to find PORT information of an Instance
  • SQL Server: Script to find Databases from all the Instances
  • SQL Server: Script to find last Restored Log backup file of the Secondary database in Log Shipping
  • SQL Server: Script to find all Backup History Information
  • SQL Server: Encrypted DDL Trigger to Track all Database Changes
  • SQL Server: Copy Table Data from one Database to another Database
  • SQL Server: Important difference between IDENT_CURRENT, @@IDENTITY and SCOPE_IDENTITY
  • SQL Server: UDF to remove HTML Tag from the String Data
  • SQL Server: Option to Hide System Objects in Object Explorer of SSMS
  • SQL Server: How to change the default value of SELECT TOP 1000 in SSMS
  • SQL Server 2012: Generate Cumulative Sum Column using UNBOUNDED PRECEDING
  • SQL Server: PowerShell Function to find System Admin Roles
  • SQL Server 2012: All Database and Log backups using PowerShell
  • SQL Server: Use PowerShell Invoke-SQLCMD for T-SQL
  • SQL Server: The sqlps PowerShell for easy Database File Navigation
  • SQL Server 2012: Working with the PowerShell Environment
  • SQL Server: Script to enable Native Backup Compression for all Database Backups
  • SQL Server: How to enable Transparent Data Encryption (TDE) on a Database?
  • SQL Server: Transparent Data Encryption (TDE) to Encrypt a Database
  • SQL Server: Important System Tables for Alerts, SQL Jobs, Operators
  • SQL Server: Important System Tables for Backup and Restore
  • SQL Server: The Important Performance Counters (dm_os_performance_counters)
  • SQL Server: Find the total row count and size of the Tables
  • SQL Server: GAM and SGAM Pages to find the Extent Space Information
  • SQL Server: Understanding the role of Extent
  • SQL Server: DBCC PAGE and DBCC IND to find a Data Page information
  • SQL Server: What happened, when Row Overflow and Data Exceeding 8KB?
  • SQL Server: The Internal Structure of the Data Page
  • SQL Server: The internal storage architecture of the Database Files
  • SQL Server: What happens after the Deadlock arise?
  • SQL Server: 8 different ways to Detect a DeadLock in a Database
  • SQL Server: T-SQL script to generate a DeadLock in a Database
  • SQL Server: What is SNAPSHOT Isolation Level?
  • SQL Sever: What is SERIALIZABLE Isolation level?
  • SQL Server: What is REPEATABLE READ Isolation Level?
  • SQL Server: What is Read Uncommitted Isolation Level?
  • SQL Server: READ COMMITTED Isolation Level with the READ_COMMITTED_SNAPSHOT option
  • SQL Server: How to read database error log using T-SQL (xp_readerrorlog)
  • SQL Server: Script to find Installation Date, time and Authentication Mode
  • SQL Server: Script to find Heap Table without having an Index
  • SQL Server: Script to find the status of Trace is running or not
  • SQL Server: Truth about assigning variables using SET versus SELECT
  • SQL Server: Script to change the Recovery Model of a Database
  • SQL Server: Script to find Index Average Fragmentation in Percentage
  • SQL Server: Script to make Database Read Only and Read Write
  • SQL Server 2012: The Amazing CONCAT function for string concatenation
  • SQL Server: The Awesome TOP clause WITH TIES option
  • SQL Server: TSQL Script to find Count the number of Occurrences of a String
  • SQL Server: Make a System Stored Procedure for Available to all Databases
  • SQL Server: Difference between Temp Table and Common Table Expression (CTE)
  • SQL Server 2012: Msg 11730, Database name cannot be specified for the sequence object in default constraints
  • SQL Server: Difference between Temporary Table and Table Variable
  • SQL Server 2012: Script to find uncontained objects of a Database
  • SQL Server 2012: Introduced LAG function, the best alternative of Self Join to compare Previous Row
  • SQL Server 2012: Introduced LEAD function, the best alternative of Self Join to compare Next Row
  • SQL Server: Find First NOT NULL Column using a COALESCE Function
  • SQL Server: The TempDB is Full, Shrink it or Move it
  • SQL Server 2012: Create Sequence object to generate Alphanumeric Sequence Number
  • SQL Server 2012: Error Msg 3729 Cannot DROP SEQUENCE because it is being referenced by Object
  • SQL Server 2012: Introduced dm_db_log_space_usage to find a Log size
  • SQL Server 2012: Custom paging using OFFSET and FETCH NEXT
  • SQL Server: Newly created Table with red underline and showing as an Invalid Object
  • SQL Server: Set ROWCOUNT to return only fix number of rows for all Query Result.
  • SQL Server: SSMS Report option to find disk usage by Tables & Indexes
  • SQL Server: After execution discard a result of the Query
  • SQL Server: Insert different Symbol or Multilingual data in a Table
  • SQL Server: Remove recent file history from the File Menu
  • SQL Server: Script to check all Database Autogrowth Settings
  • SQL Server: Script to find all the Tables without having a Primary Key
  • SQL Server: Error 262 SHOWPLAN permission denied in database
  • SQL Server 2014: Create Memory Optimized File Group and Table
  • SQL Server 2014: What is Hekaton?
  • SQL Server 2016: Introduce New TRUNCATE by Partitions Number
  • SQL Server: Using EXCEPT find Mismatch rows from two tables
  • SQL Server: Script to Remove Extra Spaces from a String
  • SQL Server 2012: Find First Sunday of Next Month using EOMONTH
  • SQL Server: Script to find and change Compatibility Level of Database
  • SQL Server: Script to Remove Trailing Character from Number Column
  • SQL Server: Script to find Identity Column of a Database
  • SQL Server: Script to find Status of all Database Trigger
  • SQL Server: 2012 Introduce New Logical Function – IIF
  • SQL Server: How to Convert Varbinary to Numeric & vice versa?
  • SQL Server: Find MAX value from Multiple Columns
  • SQL Server: Concatenate Strings using the GROUP BY clause
  • SQL Server:Function to Split String Value Using Different Delimiters
  • SQL Server: IO requests taking longer than 15 seconds to complete
  • SQL Server: Script to find Estimated Finish Time of The Backup Database
  • SQL Server: Script to find Estimated Finish Time of The Restore Database
  • dbrnd.com published 125 Posts: This Gratitude Post for Readers
  • SQL Server: Script to find the last Executed Query using SPID
  • SQL Server: Script to find the size of Database Files and Log Files
  • SQL Server: Script to List all Dynamic Management Views and Functions
  • SQL Server: Script to Hide all Databases in SSMS
  • SQL Server: Script to Enable and Disable XP_CMDSHELL Configuration
  • SQL Server: Script to find CPU Pressure using Signal Wait Time
  • SQL Server: Script to find total Row Count of All Tables in a Database
  • SQL Server: Error 701 There is insufficient system memory to run this query
  • SQL Server: Script to find Missing Indexes
  • SQL Server: Monitor and Manage Database Corruption
  • SQL Server: A Different command to check Basic Security Audit
  • SQL Server: Script to find the Location of Database Backup Files
  • SQL Server: Script to find all Columns information of a Database
  • SQL Server: Script to find all Default values with Columns
  • SQL Server: Script to find Last Backup Time for All Databases
  • SQL Server: Script to find a different Server Property (Host, Instance, Edition, Version)
  • SQL Server: Script to find usage of Database Indexes
  • SQL Server: Script to find Index Operational Stats
  • SQL Server: DBCC to Clean Cache and Clean Buffer for Stored Procedure
  • SQL SERVER: What is QUOTED_IDENTIFIER ON/OFF and ANSI_NULL ON/OFF
  • SQL Server: Script to reset Table Identity using DBCC CHECKIDENT
  • SQL Server: All Important Query Window Shortcut Keys
  • Enable and Disable Foreign key and Check constraint in SQL Server
  • Delete all duplicates rows except one in SQL Server
  • List all Dates between two dates in SQL Server
  • What is heap Table
  • Find Free and Occupied space by SQL Server Database
  • Open transactions in SQL Server
  • Script to find last DDL changes in SQL Server
  • Script to find Running Process and Session in SQL Server
  • How to Find Foreign key References in SQL Server
  • Find out most recently modified Stored Procedure and Table in SQL Server
  • SQL Server CPU usage per Different Objects
  • Script to Find Slowest Running Query in SQL Server
  • SQL Script to find Cross Database Object Dependency in SQL Server
  • SQL Script to find Object Dependency in SQL Server
  • How to find any Text, Column, Comment, Object Name in SQL Server Objects
  • Query to Find Missing Number and ID in SQL Server
  • Copy unique records from one table to another in SQL Server
  • Script to Validate IP Address range in SQL Server
  • SQL Server Parameter Sniffing
  • Script to Enable and Disable the Default Trace in SQL Server
Jun 20, 2017Anvesh Patel
About Me!

I'm Anvesh Patel, a Database Engineer certified by Oracle and IBM. I'm working as a Database Architect, Database Optimizer, Database Administrator, Database Developer. Providing the best articles and solutions for different problems in the best manner through my blogs is my passion. I have more than six years of experience with various RDBMS products like MSSQL Server, PostgreSQL, MySQL, Greenplum and currently learning and doing research on BIGData and NoSQL technology. -- Hyderabad, India.

About DBRND !

dbrnd

This is a personal blog (www.dbrnd.com).

Any views or opinions represented in this blog are personal and belong solely to the blog owner and do not represent those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.

Feel free to challenge me, disagree with me, or tell me I’m completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or anonymous comments) - so keep it polite.

The content of this website is protected by copyright. No portion of this website may be copied or replicated in any form without the written consent of the website owner.

Recent Comments !
  • Anvesh Patel { Sure will do... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Anvesh Patel { Great... }
  • Older »
Follow Me !
  • facebook
  • linkedin
  • twitter
  • youtube
  • google
  • flickr
© 2015 – 2019 All rights reserved. Database Research & Development (dbrnd.com)
Posting....