Creat a Pivot Table with several options

Create a pivot Table similiar to Microsoft Access Pivot Command, Specify if there should be totals at the bottom, right or both..Uses a temporary table to hold the values..Bad part is the SQL that is generated can have no more than 4000 Characters..If not using any NVARCHAR characters, could make the sql up to 8000 […]

2002-11-18

1,996 reads

Blogs

Daily Coping 24 Sept 2021

By

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

Using environment variable files for SQL Server in containers

By

There are a whole bunch of environment variables that can be used to configure...

How to Design Backups in SQL Server?

By

The Recovery Point Objective (RPO) and Recovery Time Objective (RTO) are basic concepts related...

Read the latest Blogs

Forums

SQL join based on column value

By learner0

I am trying to join two tables based on the condition. Table1: ID   ...

Starting a career in cloud computing

By WojinRina

Hello, As the title says, might you have any advice to starting a career...

AWS S3 Questions

By lucasPeni

Hi all, Just starting out with AWS and had a few questions.. What are...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers