silverpill, to random
@silverpill@mitra.social avatar

can-i-use but for : https://modern-sql.com/caniuse/merge

Very cool

davidbisset, to opensource
@davidbisset@phpc.social avatar

Dataherald is a natural language to #SQL engine that is #opensource. #LLM #Database

https://github.com/Dataherald/dataherald

hunleyd, to postgres
@hunleyd@fosstodon.org avatar
linuxuserspace, to history
@linuxuserspace@mastodon.social avatar

The further you dig, the farther the #history goes, so we settled on starting in 1906, then the 90's, then #Slackware. This is the history of #Xz that culminated into a " #hack " that would have rocked the world if not for one intrepid #SQL #developer.

#Linux #Peertube #OpenSource #FOSS
https://tilvids.com/w/uBNAP4QAFg9uqAE7foCnPy

stevensanderson, to medical
@stevensanderson@mstdn.social avatar

DNFB for medicine is discharged not final billed and is used a lot at hospitals as it represents the AR not yet billable. It is important to keep this to a minimum of days for efficiency and ability to get paid. It affects cashflow, so the lower the better. I wrote a quick diddy that sifted 147mllion rows in 2 seconds to give me my average dnfb by AR snapshot month

#SQL #AR #billing #medicalbilling #medical

nihilistdatascientist, to datascience
@nihilistdatascientist@mastodon.social avatar

Once I learned that SQL is usually case-insensitive I decided to write all my SQL in SpongeMock, because nothing fucking matters:

seLeCt
cOl2
,CoL1
fROm mY_tAblE
wHeRe cOl1 iS nOt nUlL
aNd CoL2 = 23

#sql #rstats #pydata #DataScience

argv_minus_one, to rust
@argv_minus_one@mstdn.party avatar

I wonder if anyone has ever written an embedded in which there is no run-time interpreter, and all SQL queries are translated into machine code at compile time.

Kinda like sqlx, except queries are fully compiled at compile time, not just checked for correct syntax and types.

I'm guessing this would be extremely specific to one language, and outright impossible in most programming languages.

joelanman, to random
@joelanman@hachyderm.io avatar

Another db question! I'm using migration files whenever I make a change to the db. When I'm doing dev, whats a good source of truth for the current structure of the tables (column names, types and so on)? I could app switch to my db admin app but I'd prefer a quick way to reference inside VS Code

joelanman, to random
@joelanman@hachyderm.io avatar

I have a database question - say you have an items table and a messages table, and messages can refer to items. If someone needs to delete an item, you can't because of the foreign reference in messages.

I know you could 'soft delete' - set a status column to deleted, but what if you really need to delete, for example because the content is illegal or the user has a legal right to delete it?

nurkiewicz, to random
@nurkiewicz@fosstodon.org avatar

Little Bobby Tables? More like Little Bobby's Street: "Council claims database pain forced it to drop apostrophes from street names". Sadly, it was not injection | https://www.theregister.com/2024/05/07/north_yorkshire_council_blames_databases/

skribe, to django
@skribe@aus.social avatar

Django peeps. I want to link my languages table (English, French, Chinese, etc) to the word classes (Nouns, Verbs, Adjectives, etc) table. It would be a many-to-many relationship, but I'm not sure whether to use a join table or the many-to-many model. What's the most Django way?

OldGrumpyBitWrangler, to php
@OldGrumpyBitWrangler@mastodon.social avatar

An instance of a popular CMS is used for a website. While analyzing I'm coming across a a table in it's MySQL database where a column called "deleted" is defined as such:

deleted` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'A boolean indicating whether this data item has been deleted‘

🤦‍♂️

There should be a license allowing allowed to write software used by someone else. Like with drivers licenses it needs a points system for violations and license revocation.

aeveltstra, to random
@aeveltstra@mastodon.social avatar

Silly mistakes being silly:

Attempting to sort day name results from an query by day name.

As if the SQL engine would know day names and apply a natural sort, instead of a text based one.

I'm spoiled by Apple computers.

adamchainz, to django
@adamchainz@fosstodon.org avatar

✍️ New post on my new package django-harlequin.

🦆 This package provides a small launcher command for Harlequin, the Terminal-based SQL IDE by Ted Conbeer.

💽 Try it out and let me know what you think!

https://adamj.eu/tech/2024/05/07/django-harlequin/

davidbisset, to mastodon
@davidbisset@phpc.social avatar

From time to time I stumble onto a modern Tweet worth adding to my https://davidbisset.social collection (via ).


About / industry:

"Early in my career, I joined a project that used a lot of .

I was new to SQL so I found an “intro to SQL” book on the company bookshelf, and read it over a weekend.

From that point on, I was seen as an SQL expert amongst colleagues.

It was a revelation about our industry."

Also: still very useful.

https://twitter.com/steveofmcleod/status/1787173200121532632

wader, to random
@wader@fosstodon.org avatar

Yesterday I read the recently published JSONPath RFC (RFC9535) and listening to an interview with one of the creators of SQL https://www.datacamp.com/podcast/50-years-of-sql-with-don-chamberlin and worst of all i poked around in sqlite code to figure out how the scheme table works...guess I just have to accept that I'm a query language nerd.

stevensanderson, to stackoverflow
@stevensanderson@mstdn.social avatar

I was working on a problem today where I needed to pick out a department and a sub issue that were attached to each other as a single code in a comment.

I first went to use the traditional SUSTRING(comment_string, 1, 5) IN (my list of codes) but it was slow.

So off to work, I learned something new via and learned to make a sarge-able LIKE with what ever I want in the narrower results.

Nice to learn something new.

mortensummer, to sysadmin
@mortensummer@masto.ai avatar

I've started documenting various issues\problems that I face in my role when working in .

My first technical post is all about the challenges faced when securing in a multi-tenancy environment. I will write more as and when I come across other interesting issues!

https://mindcircuitry.com/securing-azure-sql-server-for-multi-tenancy-access

kubikpixel, (edited ) to Redis German
@kubikpixel@chaos.social avatar

I have the same question about: PoloDB¹ vs. KeyDB² or even RethinkDB³? 🤔
(all ar open-source and free)

«MongoDB vs. Redis: Which Database Should You Use?»
📄 https://www.integrate.io/blog/mongodb-vs-redis/

  1. https://www.polodb.org
  2. https://docs.keydb.dev
  3. https://rethinkdb.com


wilson, to golang

This weekend, I hacked together a markdown documentation generator for Postgres in Go. It should be extensible to other databases, as well as including other properties from database.

It's called SQLDoc — please check it out!

https://husin.dev/sqldoc/

Zekovski, to PostgreSQL French
@Zekovski@pouet.chapril.org avatar

Est-ce qu'il y a des postgresexuels qui peuvent m'aider ? Apparemment j'ai un problème dans ma base de données mais je n'y connais rien.

https://forum.funkwhale.audio/d/556-front-page-displays-errors/8

kubikpixel, to rust
@kubikpixel@chaos.social avatar

deleted_by_author

  • Loading...
  • kubikpixel,
    @kubikpixel@chaos.social avatar

    🧵 …I ask this above to integrate a on a / project, this make sense:

    📺 vs. Explained (in 4 Minutes)
    https://www.youtube.com/watch?v=_Ss42Vb1SU4

    aijobs, to ai
    @aijobs@mstdn.social avatar
    gjergjiramku, to PostgreSQL

    What's your go to db for side projects?

    From now on mine will be sqlite.

    So many benefits compared to other database, where do I start from?

    #sql #sqlite #mysql #postgresql

    Posit, to random
    @Posit@fosstodon.org avatar

    We’re most pleased to announce the release of dbplyr 2.5.0!

    dbplyr is a database backend for dplyr that allows you to use a remote database as if it were a collection of local data frames. dbplyr 2.5.0 introduces succinct new syntax for literal table identifiers.

    Learn more on the tidyverse blog: https://www.tidyverse.org/blog/2024/04/dbplyr-2-5-0/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • InstantRegret
  • rosin
  • Youngstown
  • mdbf
  • ngwrru68w68
  • slotface
  • everett
  • modclub
  • kavyap
  • DreamBathrooms
  • megavids
  • Durango
  • tacticalgear
  • GTA5RPClips
  • ethstaker
  • cubers
  • khanakhh
  • Leos
  • cisconetworking
  • normalnudes
  • provamag3
  • tester
  • anitta
  • lostlight
  • All magazines