Home : File Types : SQL File

.SQL File Extension

File TypeStructured Query Language Data File

DeveloperISO/IEC
Popularity
3.9 (126 Votes)
CategoryDatabase Files
FormatText

What is an SQL file?

A SQL file contains Structured Query Language (SQL), which is a language used to access and modify information in a database. It stores SQL statements for creating or modifying database structures, insertions, updates, deletions, or other SQL operations.

More Information

Screenshot of a .sql file in Microsoft Visual Studio Code 1.33

SQL file open in Microsoft Visual Studio Code 1.33

You will most likely only encounter SQL files if you develop or manage web databases. The SQL language first appeared in the 1970s at IBM and was adopted by the ANSI and ISO standard groups in 1986 as the standard language for relational database management systems (RDBMS). Since its adoption, it has gone through multiple revisions to support a wider set of features and has spawned several database language variations, which include Mini SQL (mSQL) and MySQL.

SQL files can be read by any SQL-compatible database program, such as MySQL and Richardson RazorSQL. The files can also be opened and edited with various source text editors, such as gVim, Bare Bones BBEdit, and MacroMates TextMate. Since the files store SQL commands in plain text format they can also be opened and modified with simple text editors, including Microsoft Notepad and Apple TextEdit, which are bundled with the Windows and macOS operating systems.

NOTE: SQL may be pronounced as "S-Q-L" or "Sequel."

FREE DOWNLOAD
Open and view .SQL files with File Viewer Plus.
Programs that open SQL files
Updated 2/5/2020

About SQL Files

Our goal is to help you understand what a file with a *.sql suffix is and how to open it.

The Structured Query Language Data file type, file format description, and Mac, Windows, Linux, and Android programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.