views:

38

answers:

2

Is there any possibility to test T-SQL code on the internet? I mean that e.g many programming languages like Python has several online shell interpreters on the internet. Is there one for T-SQL?

A: 

You could give this a try?

http://developer.mimer.se/validator/

As it uses ISO standards some of the MS specific keywords will throw an error.

Barry
Does not work for T-SQL code, just for ANSI as you said. I'm looking for concise online solution for T-SQL.
juur
A: 

from the top of my head:

Some years ago skyquery.net or microsoft's worldwide telescope might have allowed to send raw SQL queries to the astronomy data service.

Maybe this is still possible? The backends of the sites probably have been updated. Maybe there is access only for registered users, or thru an API or so. Of course you cannot issue DDL statements, but maybe you can get an error message plus a query plan back.

knb