Querying Teradata from JavaScript/jQuery?

Connectivity
Enthusiast

Querying Teradata from JavaScript/jQuery?

Is it possible to access Teradata from JavaScript/jQuery?

If it is possible, is there some example about how to connect to Teradata, send a Query, get a dataset back?

Peter Schwennesen

Tags (1)
5 REPLIES
Teradata Employee

Re: Querying Teradata from JavaScript/jQuery?

Client-side JavaScript code cannot use JDBC directly. You may want to use something like Jongo, which is a REST-to-JDBC gateway.

https://github.com/Eldelshell/jongo

Your client-side JavaScript code would make REST calls to the Jongo server, which would in turn make JDBC calls to the Teradata Database.

Teradata Employee

Re: Querying Teradata from JavaScript/jQuery?

Released in November 2014, the "REST API for Teradata Database" now enables JavaScript/jquery to query a Teradata Database.

Teradata Employee

Re: Querying Teradata from JavaScript/jQuery?

Where would one be able to find more information and resources regarding registering a target Teradata system and configuring it for use with the REST API? A Google search just returns the article available via Teradata Magazine, which provides a brief overview at best.

Re: Querying Teradata from JavaScript/jQuery?

Is there any update on this particular question? 

I read Teradata Magazine article, but I am not able to find the REST API for Teradata system. It would be really helpful if someone can provide more information about this. 

Teradata Employee

Re: Querying Teradata from JavaScript/jQuery?

Teradata REST Services is available from AWS: https://aws.amazon.com/marketplace/pp/B01DJUOW10

Also, if you're a customer, Teradata REST Services is available from "Teradata at Your Service" (TaYS). Log into TaYS, then in the Tools section of the main page, choose "Software Downloads". This will take you to the Teradata Software Server (TSS). Choose "Teradata Client". Then from the left-side menu, choose "Rest APIs".