Q&A BY TAG 'VQL'

You must sign in to ask a question. If you do not have an account, you can register here

VQL query from DataCatalog REST API
answered 17-01-2022 07:22:10 -0500

Hi, From Virtual Data Port Server with JDBC driver , I can execute the following VQL query to retrieve view information : DESC VIEW <view_name> I would like execute this VQL query from public datacatalog REST API (http://vhost1:9090/denodo-dat...

Answers: 1

VQL REST API

Finding a folder in GET_VIEWS() with a partial name
answered 16-12-2021 08:04:05 -0500

Hi all, How do I find a view in a folder based on a partial name of the folder? For example: SELECT name FROM GET_VIEWS WHERE input_database_name = 'database' AND folder='/%derived%' Some of my databases have views stored in say: Derived Views ...

Answers: 1

VQL GET_VIEWS

dynamically create derived views based on list of multiple base views
answered 15-11-2021 16:50:51 -0500

Is there a way to take a list of specifc base views (based on say a certain prefix and create a derived view with a similar name (dv versus bv, etc.) I have a list of like twenty base views and looking for way to generate the derived views automatical...

Answers: 1

VQL Dynamic Derived views Loops

INSERT INTO with SELECT
answered 18-10-2021 04:32:01 -0400

Hi Team, Could you please confirm the below limitation of VQL syntax. Working - INSERT INTO view2 SELECT col1 FROM view1; Working - INSERT INTO view2 (col1) VALUES ("abc"); Not working - INSERT INTO view2 (col1) SELECT col1 FROM view1; Not working - ...

Answers: 3

VQL syntax insert

Changing JDBC Connection Password with VQL
answered 17-09-2021 01:49:43 -0400

Hi, I need help constructing the correct VQL to change the password for a JDBC connection within VDP? I believe it is something like: ALTER DATASOURCE JDBC connectionname ENCRYPT_PASSWORD 'thisisthenewpassword';

Answers: 1

vql JDBC Password

Compounding a derived view
answered 14-09-2021 12:48:18 -0400

Hello, I am working on duplicating the behavior of an API, it works pretty good, all the fields are mapped etc. However, the in-place API expose the data after structuring it : { "cat1": { "a":"toto", "b":"titi" }, "cat2" :{ "c":"tata" } } while the d...

Answers: 2

VQL REST Webservice Derived views

Preserving VQL formatting when using Edit Mode
answered 03-09-2021 19:53:00 -0400

I generally work in the VQL mode in the Virtual DataPort tool and wish to retain my formatting. I use the "CONTEXT('formatted' = 'yes')" clause regularly, but even with that, I've noticed the formatting gets reverted back to default (including view ali...

Answers: 1

VQL formatting

Create Base View for Oracle Function that returns Table Type
answered 25-08-2021 07:21:24 -0400

I am trying to create a base view on a Oracle function that returns data type - TABLE Trying this from the normal flow gives error : "Unsupported type TABLE for Database : Oracle Stored Procedure" How can i create this using a "Create Base View from VQ...

Answers: 1

VQL VQL Base view Custom Functions Stored Procedure Oracle

Is there a query to get a list of views with EXECUTE permission for current user?
answered 26-07-2021 17:08:48 -0400

I want to list views accessible by the current logged user. Seems I should use GET_VIEWS(), GET_PERMISSIONS() and GET_EFFECTIVE_PERMISSIONS(), but cannot realize how

Answers: 2

VQL predefined stored procs

VQL to show all cached sources and when it was last refreshed?
answered 01-06-2021 17:37:03 -0400

Is there a way to get a result set that has the view, number of rows and the last cache refresh date? I want to make this a data set availbe easily to end-users to see when the cache was last updated. I have scoured the user documentation but do not ...

Answers: 1

vql query LASTCACHEREFRESH Cache