Tuesday, September 14, 2021

 

Transform XML to CSV using XSLT in Oracle

 

You can create various transformation with SQL. You have to prepare XSLT transformation and use it. 


SQL

Read more »

 

Setting ACL and reading ACL settings

Executing with ADMIN user


Create ACL and add pages to list:

Read more »

 

Read internet pages with utl_http in oracle autonomous database

In oracle autonomous database you have some tricks how to read HTTPS pages from database.

First is that you do not have to create wallet with public keys of pages you will call from database.  All mayor trusted issuers have database build in. You use code: utl_http.set_wallet( '' );

 If you would like to acces untrusted sites (database do not know issuers) or HTTP sites you have to use one of providers-proxies that converts trafic to trusted HTTP site.

Do not forget to register URLs in ACL

Some samples:

Read more »

 

Parse JSON in SQL - gitlab sample

In this sample you can see how easy is to parse data in JSON structure with SQL.

Sample SQL:

Read more »

 

Batch script - create new files from template file

 In this sample you can see how to create many files from one template file in windows batch script.

Templeta file:

teplate.txt

Read more »

This page is powered by Blogger. Isn't yours?