Focal Point
[CLOSED] SQL PREPARE

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5637035276

September 05, 2014, 09:57 AM
P. Afonso
[CLOSED] SQL PREPARE
Hello,
using Oracle connections we can do direct queries to the DB, syntax example:
 SET SQLENGINE = SQLORA
SQL SET SERVER DBNAME 

 SQL SQLORA PREPARE XPTO FOR SELECT COUNT(*)... 

How can i do the same but using Hive Apache Hive2 & Cloudera Impala Adapter?

tks,
PA

This message has been edited. Last edited by: P. Afonso,


Release : 8.0.02
OS : Linux
App Server : Tomcat
all output
September 05, 2014, 10:04 AM
Håkan
PA, the answer I would guess is that you can't. I tried to do it against Netezza, but no such luck.

Rgds
Håkan


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
September 05, 2014, 11:02 AM
P. Afonso
Well, it was very easy actually...

SET SQLENGINE = SQLHIV
SQL SET SERVER HIVE
-RUN

SQL SQLORA PREPARE XPTO FOR SELECT COUNT(*)... 


tks,
PA


Release : 8.0.02
OS : Linux
App Server : Tomcat
all output