T-SQL

SQLServerCentral Article

Forecasting with SQL

  • Article

Can you use SQL Server to extrapolate out trends from your data? Lots of companies would have you buy a BI solution instead, but new author Mark Wojciechowicz brings us a great example of how you could forecast something in T-SQL.

4.82 (45)

You rated this post out of 5. Change rating

2017-05-19 (first published: )

56,203 reads

SQLServerCentral Article

Using "Multiple Assignment Variables" for a Generic Compare Data Script

  • Article

Comparing data between tables seems like a simple thing to do, but it can eat up a lot of a SQL Server professional's time. Stephen Tirone shows how multiple assignment variables can be used to make this task a little easier.

4.2 (20)

You rated this post out of 5. Change rating

2010-01-26

5,991 reads

Blogs

Inspecting TSQL Abstract Syntax Trees

By

TSQL ScriptDOM is a useful library for parsing scripts into an abstract syntax tree....

Becoming a creator, my website experience

By

Over the past few months, I have debated starting a new blog to discuss...

T-SQL Tuesday #192 Invitation: SQL Server 2025 Excitement

By

It’s that time of the month again, and once again, I’m late and I’m...

Read the latest Blogs

Forums

Collecting active node hostname at centralized location

By anoop.mig29

So folks we have around 30/40 sql server failover cluster insatnce with each having...

Beginner in sql server

By YuChan

Hello, How to add a UNIX_TIMESTAMP at my publish_date please CREATE TABLE [dbo].[latest_info]( [id]...

fast farward curson vs while loop on @table

By rajemessage 14195

hi, need to known weather fast farwand cursor is faster than a while loop...

Visit the forum

Question of the Day

Getting the Indexed Columns

I run this code on SQL Server 2022 to get a list of all the indexes and their key columns. What is returned?

SELECT   
    INDEX_COL (N'AdventureWorks2017.Sales.SalesOrderDetail')

See possible answers