SQL Beautify Tool- Gratis online SQL-formatter en -verfraaier

Input data
bfotool loadding
Output data
bfotool loadding

Wat kun je doen met SQL Viewer?

  • Verfraai/formatteer uw SQL.
  • Verklein/comprimeer uw SQL.
  • Opmerking uit SQL verwijderen.
  • Zodra u SQL-gegevens hebt aangemaakt, kunt u ze downloaden als bestand, opslaan als link en delen.

SQL Beautifier-voorbeeld

Voor Beautify:

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

Na het verfraaien:

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