Last Updated:
Web SQL is a database for storing data that can be queried using a variant of SQL.
Note: Web SQL is deprecated and is no longer recommended. Instead, try to use IndexedDB.
Follow the below steps to view your data stored in the Web SQL:
Note: If you couldn't find your recent changes in the Web SQL database, close and reopen the developer tools to see the changes.
In the following example, we will create a Web SQL database.
Parameter | Type | Explanation |
---|---|---|
DB_Name | string | Specifies the name of the database. |
Version_Number | string | Specifies the version number of the database. |
Text_Description | string | Specifies the text description of the database. |
DB_Size | Number | Specifies the size of the database. |
Device | ![]() | ![]() | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Browser | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
web sql | Yes | Yes | No | No | No | Yes | Yes | Yes | No | No | Yes | Yes | No |