4 ms·
That's pretty cool but I don't think SQL 2008 is the first Turing-complete SQL Server. SQL Server 2005 could do the Mandlebrot too: http://thedailywtf.com/Arti
by Devilboy 17y ago
That's pretty cool but I don't think SQL 2008 is the first Turing-complete SQL Server.
SQL Server 2005 could do the Mandlebrot too:
http://thedailywtf.com/Articles/Stupid-Coding-Tricks-The-TSQL-Madlebrot.aspx http://thedailywtf.com/Articles/Stupid-Coding-Tricks-The-TSQ...
- gjm11 17y agoSQL:2008 is a language. MS SQL Server 2005 is an implementation, which includes some extensions to the SQL language (notably "T-SQL", use at that link). To me, at least, it's much more surprising to find that the official SQL language is Turing-complete than that someone's implemented proprietary extensions that make it so. Your mileage may vary.