DBS_PRINTTAB(1p)
β¨ NAME β¨
dbs_printtab β prints SQL table data on standard output π
okay bestie, this is dbs_printtab, a lil utility (from the User Contributed Perl Documentation collection, iykyk) whose whole entire personality is: it prints your SQL table data straight to standard output. that's the job. that's the gig. and yes, it will ask you for a password if necessary, because boundaries βπ
π¦ DESCRIPTION π¦
dbs_printtab is an utility to print SQL table data on standard output. no cap, that's literally what it does β you point it at a table, it spills the contents onto your terminal. iconic behavior.
and dbs_printtab asks for a password if necessary. so if it needs one, it'll be like "bestieβ¦ the password? π₯Ί" and you provide it. simple as.
πΈ COMMAND LINE PARAMETERS πΈ
the required command line parameters are, in order:
- the DBI driver β that's
"Pg"for Postgres or"mysql"for MySQL π - the database name
- the table name
the fourth parameter is optional, and it specifies the database user and/or the host where the database resides. the accepted shapes are:
"racke"β just a user"racke@linuxia.de"β user plus host"@linuxia.de"β just a host, no user, the@holding it down by itself π
π COMMAND LINE OPTIONS π
-c=COLUMN[,COLUMN],--columns=COLUMN[,COLUMN]β the output is restricted to the givenCOLUMNarguments. so you're like "not me wanting only these columns actually π " and it listens.--sort=KEY[,KEY]β the output is sorted by theKEYarguments. multiple keys? comma-separate them, she can handle it.
π BUGS π
msql is not fully supported. that's it. that's the whole warning. msql girlies, we're sorry, it's giving incomplete. π«Ά
π AUTHOR π
Stefan Hornburg (Racke), racke@linuxia.de β the legend, the main character, the one who wrote this thing. periodt.
π SEE ALSO π
and that's the whole page, bestie!! this was shipped as part of perl v5.32.0, dated 2021-01-06, and yeah, that's the DBS_PRINTTAB(1p) moment. go print some tables, you absolute icon π
β¨π
π¦ where this page comes from
- debian bookworm: libdbix-easy-perl 0.21-1.1
- ubuntu jammy: libdbix-easy-perl 0.21-1.1
- ubuntu noble: libdbix-easy-perl 0.21-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms