Viewing 15 posts - 2,761 through 2,775 (of 6,041 total)
It should be considered best practice to drop the 'SA' account. However, I still create a MSSQL authenticated account with SYSADMIN membership, because there are a handful of occasions where...
March 28, 2016 at 3:24 pm
TomThomson (3/28/2016)
Most stored procedures should fit onto a page (A4 or American letter) - say 60 lines of tex using sensible font. A page and a half or...
March 28, 2016 at 1:55 pm
kaplan71 (3/28/2016)
Hello --...
How can the names of the databases be listed in the output with the fields?
You can add db_name() function to the resultset.
exec sp_MSForEachDB
'
USE ?;
if exists
(select table_name...
March 28, 2016 at 10:23 am
When creating a non-clustered index, each covered column is sorted in ascending order by default, but you can specify optional DESC (decending) or ASC (ascending) keyword following a column's name.
March 28, 2016 at 10:19 am
It's important for a software tool, especially a database management tool like SSMS or VS, to provide a visual queue that environmental context has changed. I believe we've all experienced...
March 28, 2016 at 9:53 am
Clean SQL runs better for the same reason that a clean car runs better. It's simply that those same developers who take time to format their code in a meaningful...
March 28, 2016 at 9:36 am
Browsing around on Brent Ozar, RedGate, and SQLSentry, you'll find check lists for DBA monitoring and regular maintenance operations, but really the provider should already have a service level agreement...
March 28, 2016 at 8:31 am
Speaking of brute forcing SQL Server account logins, it can be easily done by querying the sys.sql_logins table and leveraging the pwdcompare function to join the pwtext hash column against...
March 28, 2016 at 8:01 am
We use Thycotic Secret Server as a repository for passwords, keys, etc. In addition to the web based management console, it has a domain authenticated webservice API for integration with...
March 25, 2016 at 12:13 pm
I understand you want to run an identical quiery across multiple databases on the same instance. By leveraging sp_MSForEachDB you can execute a batch of t-sql across all databases. What...
March 25, 2016 at 12:01 pm
djackson 22568 (3/25/2016)
March 25, 2016 at 11:49 am
At least from my experience, it's unusual for an ETL process, or even several concurrent ETL processes, to max out CPU. It's typically I/O, network, or memory that get's bottlenecked,...
March 25, 2016 at 8:38 am
Recently a network domain issue was preventing windows authentication for some SQL Server instances that I manage, but fortunately I had the option of falling back to using 'SA' account...
March 25, 2016 at 8:28 am
Viewing 15 posts - 2,761 through 2,775 (of 6,041 total)