ERD documentation tool, any recommendations
I'm looking for some software to create an ERD by reverse engineering tables (by schema) using both primary/foreign keys as well matching column names. Not looking for a fully featured online tool...
View ArticleStore values in one place and access them via various stored procedures
I am creating a number of stored procs for a particular category of things. These store procs will all have one thing in common and that will be the values they query upon. These values come from a...
View ArticleManaging a large SQL estate ?
Hi, not 2016 specific but cant see where else to ask it and we have a lot of 2016, and this is one of the busier forums.We have a large SQL estate and need to keep track of it.Was wondering what tools...
View ArticleUsing CTE and data table
HihiI wish to create a table of data that links a CTE and a data customer table I wish to see how customers that the company has in total, and how many have left at each of the first of the month...
View ArticleMirroring Failover
I have question, Server A is mirrored to Server B when the failover is done server B would be principal and server A would change to Mirror.Server A is replicating to Server C.Does replication breaks...
View ArticleInteresting question about NCI's when converting HEAPs to CI's
I've not run into it before because I don't create permanent tables as HEAPs to begin with. I've also not been able to find the answer in Yabingooglehoo or BOL. I know that when you convert a HEAP to...
View ArticleSQL Server 2016 SP2 installation : Configuring TEMP DB Initial Size and...
Hi, Currently our databases are in SQL Server 2008 R2 and we are upgrading to SQL Server 2016.I wanted to know how shall I determine the Temp initial size ? By default it gives me 4 files and initial...
View ArticleDetails of Trace Flags
Hello Expertz!,Found the following trace Flags Enabled in SQL Server 2016. Any idea what are these used for? 9801980298039804982198269827982898839905
View ArticleHide schema from all users (except people with SA access)
Hi allI need to create a schema to store a set of tables but I don't want anyone (including those in the DB_Owner role) to be able to see it.The only people able to see the schema is anyone with...
View ArticleAlwaysOn Listener registering 2 DNS records
HelloWe have a situation where we need to setup AlwaysOn configuration on 2 data centersWhen I create a Listener providing 2 IP addresses of the subnets, there are 2 DNS records created for both...
View ArticleHow do I handle the "Invalid field size for datatype" error?
I'm trying to copy some data from a test database server to local database on my PC. I've been using bcp to get this done. It's worked fine with all of the tables, except one. That table has...
View ArticleSQL 2016 SSRS Native Mode - Report Loading Time
We are running SQL 2016 SSRS in native mode using the web portal. If a user is part of the local administrators group (windows) and runs a report they have permission to, the report works correctly and...
View ArticleChallenge with multiple instances, availability groups and double hop
Hi, can someone please help me with this situation:Setup is:Two node Always On AG cluster (Node1 and Node2)(Version: 2016)Three named instances with one AG on each node:Ins1:AG1, Ins2:AG2 and...
View ArticleAlways on
Can any one explain when we recomend asynchronous and synchronous mode to be configured in always on with example
View ArticleAllowing developers ability to administer SQL Agent jobs in production
Hi allTrying to get an idea of what people are doing out in the industry around SQL job management. I'm a DBA and the dveelopers where I work do not have sysadmin in Production. They can do their own...
View ArticleAlwaysOn Multi-Subnet Ip address
We have 2 replicas(replica 1 and replica 2) with AlwaysOn configured, one in each subnet, Lets say Subnet A and Subnet BI have added listener with 2 ip address and it is working fine.now we have a...
View ArticleQuestion: Recover database with minimal data loss example question
Recover database with minimal data loss questionHope someone can help a bit. I've been going through some practice questions online for 70-765 and there is a mistake in the sam
View ArticleHow to do patching on AlwaysOn servers
Good morning Experts,How to do patching on AlwaysOn servers for synchronous mode and asynchronous mode
View ArticleFast Database Clone
Hi,What is the fastest way to clone a database of 50 GB every day (SQL2014), without any interruption (detach / attache). This database is intended as a ReadOnly DB for marketing. (PowerShell, C # Smo,...
View Article