SQL indentation

Web service

Name

SQL indentation

End-point:

http://www.micene.net/dev.me/web/web_services/IndentationWebService.php

Request

{"jsonrpc":"2.0","method":"SQL","params":{"text":"CREATE TABLE STATION (ID INTEGER PRIMARY KEY, CITY CHAR(20), STATE CHAR(2), LAT_N REAL, LONG_W REAL);"},"id":1}

Response

{"jsonrpc":"2.0","result":{"result_text":"CREATE TABLE STATION (
  ID INTEGER PRIMARY KEY, 
  CITY CHAR(20), 
  STATE CHAR(2), 
  LAT_N REAL, 
  LONG_W REAL
);"},"id":1}
Loading...