SQL Beautify Tool – Gratis online SQL-formatering och försköningsprogram

Input data
bfotool loadding
Output data
bfotool loadding

Vad kan man göra med SQL Viewer?

  • Försköna/formatera din SQL.
  • Minimera/komprimera din SQL.
  • Ta bort kommentar från SQL.
  • När du har skapat SQL-data kan du ladda ner den som en fil eller spara den som en länk och dela.

Exempel på SQL-förskönare

Innan försköning:

CREATE TABLE peoples( id INTEGER PRIMARY KEY, name CHAR(20), age CHAR(2)); INSERT INTO peoples VALUES(1, 'name 1', '22'); INSERT INTO peoples VALUES(2, 'name 2', '33'); INSERT INTO peoples VALUES(3, 'name 3', '44'); INSERT INTO peoples VALUES(4, 'name 4', '55'); SELECT * FROM peoples

Efter försköning:

CREATE TABLE peoples(  
    id INTEGER PRIMARY KEY,   
    name CHAR(20),   
    age CHAR(2)  
); INSERT INTO peoples   
VALUES   
   (1, 'name 1', '22'); INSERT INTO peoples   
VALUES   
   (2, 'name 2', '33'); INSERT INTO peoples   
VALUES   
   (3, 'name 3', '44'); INSERT INTO peoples   
VALUES   
   (4, 'name 4', '55');   
SELECT   
    *   
FROM   
    peoples