Business Time in Seconds Function

SQL Function to calculate number of business seconds between 2 datetime fields. Input Parameters: @startdate - Start Time (datatype DateTime) @enddate - End Time (datatype DateTime) @starthour - Start of Business Day (datatype DateTime) (Format: '1900-01-01 9:00:00') @endhour - End of Business Day (datatype DateTime) (Format: '1900-01-01 17:00:00') @workdays - Business Day string - Use […]

2006-03-15 (first published: )

226 reads

Blogs

Getting the Proc Code–#SQLNewBlogger

By

Another post for me that is simple and hopefully serves as an example for...

Running SQL Server in Google Cloud Platform

By

On a few occasions I’ve referred to GCP (Google Cloud Platform) as the “Windows...

More ADLS Gen2 enhancements

By

On the heels of More Azure Blob Storage enhancements come more enhancements for Azure...

Read the latest Blogs

Forums

Limitation on a file size import

By cbrammer1219

Is there a restriction of file size that can be imported into SQL? 5...

How to change the Scan to Seek and optimize

By sizal0234

Hello, Attached sample query and actual plan, I want to further optimize the query...

Availability Groups with Docker Containers

By rafaelrodrigues

Comments posted to this topic are about the item Availability Groups with Docker Containers

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers