Quantcast
Channel: SQLServerSea
Browsing latest articles
Browse All 20 View Live

Image may be NSFW.
Clik here to view.

BULK Insert from text file

CREATE TABLE #_txtrow (_txtrow varchar(5000)); BULK INSERT #_txtrow From 'H:\ApacheCassandra\Monitoring\OutputLog\compactionstats\192_168_0_45\9.txt' WITH(DATAFILETYPE = 'char',ROWTERMINATOR = '\n');...

View Article



Image may be NSFW.
Clik here to view.

Install WordPress on Windows

Install WordPress from below link   http://www.microsoft.com/web/wordpress/   You can also download it from Microsoft Web Platform Installer  

View Article

Image may be NSFW.
Clik here to view.

Timeout with Multi-subnet Listener

  Time-out error and you cannot connect to a SQL Server 2012 AlwaysOn availability group listener in a multi-subnet environment   Once you are done with AG Creation and Listener configuration , change...

View Article

Image may be NSFW.
Clik here to view.

BUCKET_COUNT for Hash Indexes for SQL Server Memory Optimized Tables

  Indexes are used as entry points for memory-optimized tables.Data in memory is quickly read by index to locate in-memory data. [From BOL] A hash index consists of a collection of buckets organized in...

View Article

Image may be NSFW.
Clik here to view.

The Service Broker endpoint is in disabled or stopped state. Replica Fails to...

We recently configured Always On AG group and Listeners , using T-SQL we added a Replica which fails to join the AG Group Evey time we try to join the AG Group it fails with “The Service Broker...

View Article


Image may be NSFW.
Clik here to view.

xtp Transaction stuck

  Why the xtp transaction do not kill or rollback when a long running process is stopped?   A long running transaction inserting millions of records in a In-Memory OLTP Table  is stopped but the spid...

View Article

Image may be NSFW.
Clik here to view.

Resource Governor and In-Memory OLTP

from BOL   A resource pool represents a subset of physical resources that can be governed. By default, SQL Server databases are bound to and consume the resources of the default resource pool. To...

View Article

Image may be NSFW.
Clik here to view.

Map/disconnect network drives – TSQL

  Configure Map Network Drive using T-SQL   exec xp_cmdshell 'net use Z: \\ServerName\H$\FolderName <password> /user:domain\username' Disconnect Mapped Network drives   Exec...

View Article


Image may be NSFW.
Clik here to view.

Copy backup files between locations –TSQL

Handy Script to Copy the latest backup file between locations   /* Written by : Mohammad Sufian Location : Singapore Copywrite : None. Suggestion/Feedback : gosgenq@gmail.com Supported versions: SQL...

View Article


Image may be NSFW.
Clik here to view.

Copy backup file between different domains using mapped network drives

How to copy backup files between to different domains having trust relationship?   use master go exec xp_cmdshell 'net use Z: \\sourceserver\H$\Backups password /user:domain\username' go exec...

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images