T-SQL

SQLServerCentral Article

T-SQL Trigonometric Functions in SQL Server

  • Article

Introduction SQL Server includes several built-in mathematical functions that allow developers to perform complex calculations directly within queries. Among these are trigonometric functions such as SIN(), COS(), and TAN(), which are useful in scenarios involving engineering calculations, geographic data processing, simulations, and analytics. Although these functions are straightforward to use, developers occasionally encounter unexpected results […]

(2)

You rated this post out of 5. Change rating

2026-04-29

1,900 reads

SQLServerCentral Article

Creating a Simple and Flexible Random Password Generator in SQL Server

  • Article

Generating temporary passwords is a common requirement in many applications. Users may need to reset a forgotten password, new accounts may require an initial password, or developers may generate test credentials. While password generation is often implemented in application code, doing it directly in SQL Server provides clear advantages. It centralizes the logic, ensures consistency […]

(2)

You rated this post out of 5. Change rating

2026-04-10

1,688 reads

SQLServerCentral Article

Determining Whether Home Addresses Fall Within a Tornado Polygon Using Spatial Functions

  • Article

Geographic information systems (GIS) play a critical role in emergency response planning and risk assessment. One of the key challenges in this field is determining whether a specific location falls within an area of interest. This capability is especially valuable for property and casualty (P&C) insurers, who need to assess their insured property exposure when severe weather events such as tornadoes occur.

(2)

You rated this post out of 5. Change rating

2025-03-04 (first published: )

2,699 reads

SQLServerCentral Article

Manage Elastic jobs in Azure using Azure Elastic Jobs Manager

  • Article

Microsoft Azure offers Azure Elastic Job agent as a managed service, enabling efficient scheduling of T-SQL workloads on Azure SQL Databases. Learn how to configure the service in this article.

(2)

You rated this post out of 5. Change rating

2024-06-07 (first published: )

1,663 reads

SQLServerCentral Article

Writing SQL Server code with AI using GitHub Copilot

  • Article

Introduction In this article, we will see how to work with GitHub Copilot. GitHub copilot is an interesting plug-in that generates code using AI. The technology is from Microsoft and OpenAI. We will show how to install Copilot, and how to generate SQL Server code (T-SQL) using Copilot. First, we will answer some FAQs about Copilot […]

(2)

You rated this post out of 5. Change rating

2024-02-12

13,508 reads

Blogs

Overcoming Imposter Syndrome: A Plan

By

My most recent bout with imposter syndrome was with ISACA’s Digital Trust Ecosystem Framework...

Advice I Like: Celebrate Success

By

“On the way to a grand goal, celebrate the smallest victories as if each...

Programmatically Retrieving MLV Lineage and Refresh Times

By

Materialized lake views (MLVs) in Microsoft Fabric are an effective way to implement medallion...

Read the latest Blogs

Forums

BCA KCU HR. Muhammad No.Telp 083831617937

By ruoungoaihaigiacat

Whatsapp. 083831617937 Jl. Mayjen HR. Muhammad No.17, Putat Gede, Kec. Sukomanunggal, Kota SBY, Jawa...

BCA KCP Royal Square No.Telp 083831617937

By ruoungoaihaigiacat

Whatsapp.083831617937 Royal Square Lt. 1 / Lt. Dasar RG 11, Jl. Raya Menganti, Babatan,...

BCA KCP Pakuwon Tarde Center No.Telp 083831617937

By ruoungoaihaigiacat

Whatsapp. 083831617937 Pakuwon Trade Center Ruko Terrace unit 011, Jl. Puncak Indah Lontar No....

Visit the forum

Question of the Day

Increase Deadlock Detection

How can I alter the deadlock detection interval to 2 seconds instead of 5 seconds on my SQL Server 2025 instance?

See possible answers