all InfoSec news
🪄 DuckDB sql hack : get things SORTED w/ constraint CHECK
April 4, 2024, 9:03 p.m. | adriens
DEV Community dev.to
🪝 Intro
Ever wanted to get that kind on constraint on a table :
CREATE TABLE sensor_data(
ts TIMESTAMP,
measurement INTEGER,
...,
SORTED(ts)
);
Well, it turns out this topic has a dedicated discussion:
For now it's not implemented...yet. But we have a lot of use cases out there.
Let's see how to achieve this in pure sql... and why it would be so useful.
🍿 Demo
🤔 (A bit of) Context
We are currently using duckdb on GitHub Actions …
cases check database hack integer kind lot measurement productivity programming sql things topic use cases
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
CyberSOC Technical Lead
@ Integrity360 | Sandyford, Dublin, Ireland
Cyber Security Strategy Consultant
@ Capco | New York City
Cyber Security Senior Consultant
@ Capco | Chicago, IL
Sr. Product Manager
@ MixMode | Remote, US
Security Compliance Strategist
@ Grab | Petaling Jaya, Malaysia
Cloud Security Architect, Lead
@ Booz Allen Hamilton | USA, VA, McLean (1500 Tysons McLean Dr)