Home › Database Connectivity

Print Labels Straight From Your Database — Oracle, SQL Server, PostgreSQL, MySQL & SAP HANA

Most label data already lives in a database — your ERP, WMS, MES or LIMS. LabelInn connects to it directly, so the lot number, batch, expiry date, GHS phrases or shipping fields on a label come from the same source of truth your business runs on. No CSV export. No copy-paste. No middleware.

And you don't need to be a SQL expert to use it: describe the data you want in plain English and the AI query builder writes the read-only SQL for you.

Run your labels off live data. Connect Oracle, SQL Server, PostgreSQL, MySQL or SAP HANA, preview a query, and bind it onto a label in minutes. Start a free trial →  ·  Download the desktop app →

Databases LabelInn connects to

LabelInn speaks each engine's native protocol through a managed driver — there's no ODBC layer to babysit:

Database Supported Notes
Oracle Database Service name or SID addressing; FETCH FIRST row limits
Microsoft SQL Server Named catalog; SELECT TOP row limits; @param binds
PostgreSQL Schema override supported; LIMIT row limits
MySQL / MariaDB Named database; LIMIT row limits
SAP HANA Optional schema; FETCH FIRST row limits

Each connection is set up with a guided wizard — host, port, database/service, username, password and TLS mode (require / prefer / disable / strict) — and a one-click Test connection that reports the server version and confirms the account is read-only before you save anything.

AI Query Builder — describe it in plain English, get safe SQL

The hardest part of connecting labels to a database is usually writing the query. LabelInn's AI Query Assistant removes that step. Type what you want in plain language and it generates dialect-correct, read-only SQL for whichever engine you're connected to:

Whether you bring your own Gemini key or use LabelInn Credits, the AI never sees your database password — it only works against the schema and the read-only bridge running on your own machine.

Your credentials never leave your machine

This is the part enterprise IT cares about. LabelInn does not tunnel your database to the cloud. Queries run through an on-premises sidecar — the LabelInn db-bridge — installed next to the app:

Where database data shows up on a label

Once a connection is live, the data can flow into labels three ways:

From there it's the same LabelInn you already know: render to the printer's native language (ZPL, TSPL, Toshiba TPCL, Epson ESC/Label), print over driverless USB / TCP-IP / Bluetooth, or push the job through a visual workflow or the REST API.

LabelInn vs traditional label software for database printing

Capability Typical label software LabelInn
Database connectors Often a paid/Enterprise add-on Oracle, SQL Server, PostgreSQL, MySQL / MariaDB, SAP HANA
Write the query Hand-write SQL or map columns manually AI query builder — plain English → read-only SQL
Where credentials live Varies; sometimes stored centrally On-prem, AES-256-GCM, loopback bridge — never sent to the cloud
Write protection Depends on the DB account you give it SELECT-only guard rejects writes at the bridge
Query audit Rarely built in Hash-chained, tamper-evident query log
Large tables Often pulls the whole table client-side Push-down filter on the bridge — 500k+ rows stay fast
Platforms Windows only Design anywhere; bridge runs on Windows next to your DB

How it works, end to end

  1. Connect — run the wizard, point it at your Oracle / SQL Server / PostgreSQL / MySQL / SAP HANA host, and Test connection.
  2. Query — describe the rows you need in plain English; the AI query builder writes the read-only SQL, or pick a saved query.
  3. Bind — map the columns onto a label design (text, barcodes, GHS phrases, colors — even color bound to a data field).
  4. Print — operators look up a row in the print dialog and print; or automate it through a workflow or the REST API.

Frequently Asked Questions

Can LabelInn print labels directly from an Oracle or SQL Server database?

Yes. LabelInn connects directly to Oracle, Microsoft SQL Server, PostgreSQL, MySQL / MariaDB and SAP HANA. You select a connection and a query (or let the AI query builder write one), preview the rows, and bind them straight onto a label design — there's no CSV export step.

Do my database credentials get sent to the cloud?

No. Queries run through an on-premises sidecar — the LabelInn db-bridge — on your own Windows machine. It listens on loopback only, requires a bearer token, and stores passwords encrypted with AES-256-GCM using a per-company key. The database password is never transmitted to or readable by the cloud.

What is the AI query builder?

It's a natural-language-to-SQL assistant inside LabelInn. Describe the data you want in plain English and it generates dialect-correct, read-only SQL — FETCH FIRST for Oracle and SAP HANA, LIMIT for MySQL/PostgreSQL, TOP for SQL Server — using bind parameters. It can read your cached schema and run read-only test queries to refine the result. Only SELECT / WITH statements are ever returned.

Is the database connection read-only and safe?

Yes. The db-bridge enforces a SELECT-only guard that rejects INSERT, UPDATE, DELETE, DROP and EXEC statements, so LabelInn can never modify your data. Every query is recorded in a hash-chained query audit log, and you can give the bridge a read-only database user for an extra layer of protection.

Do I need to write SQL?

No. The AI query builder writes the SQL for you from a plain-English description, and operators can simply type a value (like a lot number) into the print dialog to look up the matching row. SQL-fluent users can still write and save parameterized queries by hand.

How large a table can it handle?

Lookups push the filter down to the database (WHERE match = :key) and run on the bridge, so tables with 500,000+ rows still return the matching records quickly instead of being pulled client-side.

Put your labels on live data

✓ Oracle · SQL Server · PostgreSQL · MySQL · SAP HANA ✓ AI query builder ✓ Credentials stay on-prem

Connect your database, describe the rows you need in plain English, and print labels straight from your ERP — read-only, encrypted, and audited.

Start a free trial → Download the app

Technical buyer? Read the developer docs & API reference →