SQL Permissions Log?
Hello, I am trying to track down how execute permissions changed to a SQL function. Is there a log for this someone? The change seemed to have happened last week and looking to find out how/why.
View ArticleCDC table fails to either enable or disable
So I think I have a good one.I am seeing a very peculiar issue with CDC right now. For some background :The one change we made to this table was we added a unique index to it.We recently upgraded to...
View ArticleEmail notification for permissions GRANT
Hi Experts,Checking if there is any script to send out an email whenever any permission is GRANTED OR REVOKED to a login or database user.Basically whenever certain 'x' has granted some 'y' permission...
View ArticleProblem running cmd file from SQL Agent
Hi Gang,We've having some storage issues and in order to find the root cause i need to have a job triggered when an error occurs that runs a cmd file.Simple enough via SQL Agent and alerts.My problem...
View ArticleSQL 2014 Intellisense
Hello,I am working on SQL 2014 server with SP2 and my Intellisense stop working after the first use...I must say that there are many objects in the DB and it stops locally on the server's SSMS or...
View ArticleExecution Plan Training Suggestions
I'm wanting to learn much more about execution plans so I can better tune the queries we run. I've thumbed through some Grant Fritchey books and have messed around with SQL Sentry's Plan Explorer....
View ArticleOnly delete if numbers,not characters (letters or symbols) ?
[code language="sql"]BEGIN TRANSACTIONDELETEFROM Inventory_BumpBarSettingsWHERE ItemNum like '%[^0-9]%' and LEN(ItemNum) = 12DELETEFROM Inventory_AdditionalInfoWH
View ArticleRegistering all sql instances in ssms
How do you register all servers on domain with different versions to admin thru ssms
View ArticleTwo sets of numbers, one 6 in LEN, the other 7..need to match the first 6...
I have two SKU's, example:LEN=7: 7956616LEN=6: 795661ORLEN=11: 13827502064LEN=10: 1382750206So I need to be able to search to find numbers that match their first x amount of numb
View Articledbcc checkdb cause my Availability Group to failover
Hello,During maintenance plan on primary node of an Availability group, a client database has been found corrupted... After some investigation: SQL SERVER generate its DUMP STACK, this cause sql...
View ArticleSetup AG and Listener on WSFC MultiSubnet in different locations, getting...
Here is the scenario:Trying to setup AlwaysOn Cluster with 3 subnets in it. I do NOT intend to setup availability replicas in every subnet nor do I want to. I want to do the followingSubnets are as...
View ArticleStarting with Full Text Search: Suggested links ...
Hi,I am starting with Full Text Search. Am reading a chapter on that in a book by well known authors, but the chapter is atrocious.Do you have any suggested links which are a good introduction to this?...
View ArticleDBLink to connect from On-Premise Oracle db to Azure SQL db
Hello Folks,Is it possible to create a DBLink to connect to Azure SQL db from an on-premise Oracle db?I know we can use oracle heterogeneous services to setup dblink from an on-premise oracle db to...
View ArticleAlways On and service accounts - do i need to explicitly create a login for...
Im aware that SQL Server Service uses virtual accounts, so it doesnt matter if the SQLSERVER serivce runs under an account that does not have an explicit login in the instance.This makes me think that...
View ArticleData file autogrowth instead of available free space use
Hi,Hoping someone can help in my understanding of a recent issue with one of our databases.The datafile for the database is sitting at around 1TB in size. SSMS shrinkfile screen tells us that around...
View ArticleMoving a database with DMK to AlwaysOn AG
Hi Experts,I am moving a SCCM Orchestrator database which has database master key from Old server to alwayson AG - a primary and a secondary. Different service accounts are used to run SQL services on...
View ArticleSQL Server Multi Administration Job not appearing on target server inquiry
Hi,Can anyone help me on this inquiry that it seems there was no error on job creation but not appearing on secondary server
View ArticleActifio?
We are in the middle of implementing Actifio as our backup strategy. Obviously as a DBA I'm reluctant to relinquish control of the database backups to another solution. The native solutions I have in...
View ArticleCompilation lock and blocking
Hello,We are seeing compilation lock blocking on one of our production server. Initially we saw it was because of the underlying procedure that was created with sp_. I saw in some of the blogs...
View Article