Scripts

Technical Article

Last Sunday

Needed to return the week ending date as Sunday for daily transactions multiple times, for several aggregate reports. This function returns the last Sunday for past or future weeks.

(1)

You rated this post out of 5. Change rating

2009-05-11 (first published: )

656 reads

Blogs

Monday Monitor Tips: The MCP Server

By

I have been experimenting with MCP servers in a few ways, and pressing on...

Programmatic Tool Calling with the Claude SDK

By

Programmatic Tool Calling with the Claude SDK Every morning somebody on the team runs the...

A New Word: Mauerbauertraurigkeit

By

mauerbauertraurigkeit – n. inexplicable urge to push people away, even close friends whose company...

Read the latest Blogs

Forums

Removing production permissions when restoring database to non-prod

By webrunner

Hello experts, An application team has asked us to modify a SQL Agent job....

Advanced T-SQL: Replacing Slow Cursors with Window Functions

By sabyda

Comments posted to this topic are about the item Advanced T-SQL: Replacing Slow Cursors...

Finding Bad Queries

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Finding Bad Queries

Visit the forum

Question of the Day

The Service Name

What does @@servicename return?

See possible answers