TSQL Circle Live

Blog Post

SPACE

USE CASE: When we are working on TSQL or some text based scripting we may need some extra space in between...

2016-09-04

187 reads

Blog Post

STUFF

Use case when we are working on TSQL or Query ,some time we came such a situation when we need...

2016-09-04

168 reads

Blogs

SQL Bits 2025 Wrap

By

SQL Bits 2025 was amazing, as always. It’s been my favorite conference to attend,...

Simplify Kubernetes Security With Kyverno and OPA Gatekeeper

By

Here’s how these tools can make Kubernetes security easier and help you avoid common...

A New Word: Lackout

By

lackout – n. the sudden awareness that you’re finally over someone, noticing that the...

Read the latest Blogs

Forums

Shades and Reflecting on SQLBits and the Bright Future of Data

By dbakevlar

Comments posted to this topic are about the item Shades and Reflecting on SQLBits...

Merge techniques

By purushotham.k9

In Azure SQL DB, i want to merge records from the staging table to...

SSRS error: The Value for the image 'Image1' has a constant value...

By sgmunson

Full error message: SSRS error: The Value for the image 'Image1' has a constant...

Visit the forum

Question of the Day

Adding Defaults

I have a table, called dbo.logger, in SQL Server 2022. I decide to add two new columns to this table with this code.

ALTER TABLE dbo.logger ADD CreateDate DATETIME CONSTRAINT dfGetDate DEFAULT GETDATE()
GO
ALTER TABLE dbo.logger ADD ModifyDate DATETIME DEFAULT dfGetDate
GO
What happens when I run these two batches?

See possible answers