Web SQL Database

From Wikipedia, the free encyclopedia

Web SQL Database is a deprecated web browser API specification for storing data in databases that can be queried using SQL variant.[1][2]

The API is supported by Google Chrome,[3] Opera,[4] Microsoft Edge,[5] and the Android Browser, albeit support is slowly being phased out.[6] Web SQL was deprecated and removed for third-party contexts in Chromium 97. Web SQL access in insecure contexts is deprecated as of Chromium 105 at which time a warning message will be shown in the Chrome DevTools Issue panel.

The W3C Web Applications Working Group ceased working on the specification in November 2010, citing a lack of independent implementations (i.e. using database system other than SQLite as the backend) as the reason the specification could not move forward to become a W3C Recommendation.[1]

Mozilla Corporation was one of the major voices behind the break-up of negotiations and deprecation of the standard, while at the same time being the main proponents behind an 'alternative storage' standard, IndexedDB.[7][8] Mozilla's argument against it becoming a standard was because it would codify the quirks of SQLite.[9][10]

See also[edit]


  1. ^ a b "Web SQL Database (W3C Working Group Note)". W3.org. Retrieved 25 October 2011.
  2. ^ Nelson, Anne Fulcher, and Nelson, William Harris Morehead. (2001). Building Electronic Commerce with Web Database Constructions. Boston, MA: Addison Wesley.
  3. ^ Fette, Ian (25 January 2010). "Chromium Blog: More Resources for Developers". Blog.chromium.org. Retrieved 7 September 2013.
  4. ^ "Can I use Web SQL Database". Caniuse.com. Retrieved 7 September 2013.
  5. ^ "View Web SQL Data". learn.microsoft.com. Retrieved 17 September 2022.
  6. ^ "Deprecating and removing Web SQL". Chrome Developers.
  7. ^ "Why is WebSQL database deprecated?". Programmers Exchange.
  8. ^ "Beyond HTML5: Database APIs and the Road to IndexedDB". Mozilla Corporation.
  9. ^ O'Callahan, Robert (4 June 2010). "Well, I'm Back: Not Implementing Features Is Hard". Weblogs.mozillazine.org. Archived from the original on 26 January 2021. Retrieved 18 February 2011.
  10. ^ Ranganathan, Arun (1 June 2010). "Beyond HTML5: Database APIs and the Road to IndexedDB – Mozilla Hacks - the Web developer blog". Mozilla Hacks – the Web developer blog. Retrieved 21 May 2021.

External links[edit]