• Interests: SQL Server, of course!

Technical Article

Reindex Procedure with a Twist (or two)

We’ve all seen reindex procedures that rebuild all indexes in a database or all indexes in a database which have less than a specified ScanDensity. This one goes a few steps further. First, the DBA can specify a ScanDensity_Threshold (a min value for ScanDensity), plus a Limit (qty or %). If you specify a ScanDensity_Threshold […]

5 (1)

2005-06-14 (first published: )

1,827 reads

Technical Article

Julian and Gregorian Conversion Functions

After seeing a thread in the forums about converting a Julian date to Gregorian, I decided to write these functions. There are two functions in the script, getJulian and getGregorian. getJulian accepts a datetime parameter and returns the Julian date as an integer. getGregorian accepts an integer and returns the Gregorian date as datetime. A […]

2004-10-18 (first published: )

1,000 reads

Blogs

Daily Coping 29 Jun 2022

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Daily Coping 28 Jun 2022

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Creating a Database Audit Specification can create new users & schemas in the background

By

I love database audits. They are simple, easy to use, effective, not overly resource...

Read the latest Blogs

Forums

AOAG Listener Error:Kerberos Status is showing: Incorrect username and Password

By Shashihemanth

Hi, I am having error in creating AG Group Listener. We finally try to...

How to set up Replication Alerts in SQL MI

By DanielP

Hello, Since Operators are not supported in SQL MI, how do you set up...

Attempting to run PS / DBA tools script as a SQL Agent job

By Summer90

If I run my PS script with PS as an ADMIN interactively it runs...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers