Scripts

Blogs

CPE Catch-Up for Charity (Online Event)

By

Annually, the IIA Palmetto Chapter puts on a 1 day on-line event in conjunction...

AgentDBA & Business Context

By

In the last post I registered AgentDBA as an MCP server in Claude Code....

NSA Announcement to Accelerate Move to Post-Quantum Cryptography

By

Yesterday, announcements came out from the US National Security Agency (NSA) and major technical...

Read the latest Blogs

Forums

BCA KCP Kebon Sirih Tlpn(CS):082126922251

By nabishow

BCA KCP Kebon Sirih Tlpn(CS):082126922251 Plaza Pupuk Kaltim, Jl. Kebon Sirih No.6A Gedung B...

BCA KCU CITY TOWER Tlpn(CS):082126922251

By nabishow

BCA KCU CITY TOWER Tlpn(CS):082126922251 Jl. M.H. Thamrin No.81 Ground Floor, RT.1/RW.6, Dukuh Atas,...

BCA KCP Sentral Cikini Tlpn(CS):082126922251

By nabishow

BCA KCP Sentral Cikini Tlpn(CS):082126922251 Jl. Pegangsaan Timur No.1, RT.9, Cikini, Kec. Menteng, Kota...

Visit the forum

Question of the Day

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]
GO
My 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