Putting a Database into Single User Mode
I was recently discussing with a group of budding DBA’s how you go about performing a restore of database. They...
2011-08-08
1,371 reads
I was recently discussing with a group of budding DBA’s how you go about performing a restore of database. They...
2011-08-08
1,371 reads
Written by David Postlethwaite There are several ways that you can audit who has logged in to your SQL Server. The...
2011-08-05
4,838 reads
Written by Ian Treasure
Gethyn recently posted on deleting from a view. He used a common situation where several tables are...
2011-08-03
10,169 reads
I’d like to introduce you all to my friend Ian Treasure who has kindly volunteered to write some posts and...
2011-08-01
617 reads
Written by David Postlethwaite
I’m sure there are many out there using System Centre Operations Manager (or SCOM for short)...
2011-07-29
3,984 reads
I got asked an interesting question recently, I was demonstrating how you can use wild cards in a WHERE clauses...
2011-07-27
785 reads
It has been while since I wrote anything on my contracting blog but over the past month or so I...
2011-07-25
1,219 reads
I have been building dashboard using Reporting Services (SSRS) for a client of mine. The dashboard is going to be...
2011-07-22
7,973 reads
Written by David POstlethwaite
A non SQL blog for a change
Ever needed to create a batch file that wrote a time...
2011-07-20
1,389 reads
Written by David Postlethwaite
Security of the SQL database is becoming more and more important these days yet I’m finding that...
2011-07-18
14,489 reads
I wanted to create an Amazon Aurora PostgreSQL database on AWS using Terraform. The...
By Steve Jones
This is a great image from the 2012 book. You don’t need to ready...
By Brian Kelley
Annually, the IIA Palmetto Chapter puts on a 1 day on-line event in conjunction...
Comments posted to this topic are about the item The Valuable AI Project
Comments posted to this topic are about the item A Fun Friday
Comments posted to this topic are about the item Adding Bits III
I have a table, dbo.bittest, where I am testing an application response. This has this structure:
CREATE TABLE [dbo].[BitTest] ( [insertdate] [datetime] NULL CONSTRAINT [DF__BitTest__insertd__300F11AC] DEFAULT (getdate()), [a] [bit] NULL ) ON [PRIMARY] GOMy application runs this code:
INSERT dbo.BitTest
(
insertdate,
a
)
VALUES
(DEFAULT, 9)
GO
What gets inserted for the most recent date/time value? See possible answers