Coder Social home page Coder Social logo

sokolsaiti / as_xlsx Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 7.0 17 KB

This is a PL/SQL package written by Anton Scheffer which allows us to export Excel XLSX files from an Oracle Database.

Home Page: https://github.com/sokolsaiti/as_xlsx

License: MIT License

PLSQL 100.00%
excel oracle plsql xlsx

as_xlsx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

as_xlsx's Issues

Performancetuning

The package has a performace problem.

Current:
Export of 5.000 records with query2sheet() needs over 6 min.
With the current implementation, the performance deteriorates sharply with an increasing number of data records.
100 records in 3 sec
1.000 records in 22 sec
5.000 records in 368 sec

I have fixed the problem.
I marked the 10 changes in the source with "--sdk2".

After my change:
92.500 recors in 48 sec
as_xlsx.txt

cell defining in query2sheet

Hi, hoping you can help me with query2sheet, i am relatively new to plsql and finding the xlsx code very interesting and helpful, is it possible to define the cell/row based on query2sheet output that way i can add multiple table outputs to one sheet?

Bug bei anzeigen von Datum in die Procedure query2sheet

Hallo,
sorry aber die Procedure query2sheet hat ein kleines Bug, wenn man mit DATE format arbeitet.
Grund dafür ist die Globale Variable g_useXf die unbedint TRUE sein soll. Aber in die Procedure selbst die Variable p_UseXf mit FALSE initialisiert.
Die einfachste lösung wäre:
Zeile 2430: g_useXf :=true; -- Setzen die Variable für Datum auf True.
Zeile 2440 setUseXf( p_UseXf ); setzen der Wert zurück auf p_UseXf .

Sorry für mein Deutsch und/oder wenn diese Anpassung dich nicht interessiert.

Vladimir Chichelnytskyy
as_xlsx.zip

Exporting tables with binary LOB fields

Hallo Vladimir, sorry aber ich habe Probleme mit dem Export von Tabellen mit binären Feldern (CLOB, BLOB, etc), das Problem ist, dass die XLSX-Datei keine Daten bringt.

EXEC as_xlsx.query2sheet( 'select * from FOR_GLOSA' );
EXEC as_xlsx.save( 'XLS', 'FOR_GLOSA_20220727.xlsx' );

Angehängte DDL der Tabelle und die resultierende XLSX-Datei.
FOR_GLOSA_20220727.xlsx
FOR_GLOSA_DDL.zip

Wenn Sie mir helfen oder mich anleiten können, wäre ich Ihnen sehr dankbar. Entschuldigen Sie die Unannehmlichkeiten, dieses Paket hat mir sehr geholfen!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.