Skip to content

Commit ae93c96

Browse files
author
eaolson
committed
Merge remote-tracking branch 'upstream/master'
2 parents dc3fac1 + a1afda5 commit ae93c96

File tree

6 files changed

+311
-43
lines changed

6 files changed

+311
-43
lines changed

README.md

Lines changed: 46 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Oracle PL/SQL Utility Library
66
This library is a collection of various utility packages for PL/SQL, as well as links to useful libraries hosted and maintained elsewhere.
77

88

9-
##Generate PDF files using PL/SQL
9+
## Generate PDF files using PL/SQL
1010

1111

1212
* https://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/
@@ -19,7 +19,7 @@ This library is a collection of various utility packages for PL/SQL, as well as
1919
* PDFGEN_PKG
2020

2121

22-
##Generate Excel files using PL/SQL
22+
## Generate Excel files using PL/SQL
2323

2424
* https://technology.amis.nl/2011/02/19/create-an-excel-file-with-plsql/
2525
* http://www.jasonsdevelopercorner.com/?page_id=8
@@ -30,35 +30,38 @@ This library is a collection of various utility packages for PL/SQL, as well as
3030
* XLSX_BUILDER_PKG
3131
* SYLK_UTIL_PKG
3232

33-
##Generate RTF files using PL/SQL
33+
## Generate RTF files using PL/SQL
3434

3535
* http://monkeyonoracle.blogspot.com/2009/07/dynamic-rtf-documents-revisited.html
3636

37-
##Working with Office 2007 (OOXML) files using PL/SQL
37+
## Working with Office 2007 (OOXML) files using PL/SQL
3838

39-
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/X-office-document.svg/48px-X-office-document.svg.png" align="right" /><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/0/07/X-office-presentation.svg/48px-X-office-presentation.svg.png" align="right" /><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/X-office-spreadsheet.svg/48px-X-office-spreadsheet.svg.png" align="right" /><br>
39+
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/X-office-document.svg/48px-X-office-document.svg.png" align="right" />
40+
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/0/07/X-office-presentation.svg/48px-X-office-presentation.svg.png" align="right" />
41+
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/X-office-spreadsheet.svg/48px-X-office-spreadsheet.svg.png" align="right" />
42+
<br>
4043

4144
* http://ora-00001.blogspot.com/2011/02/working-with-office-2007-ooxml-files.html
4245
* https://technology.amis.nl/2010/06/09/parsing-a-microsoft-word-docx-and-unzip-zipfiles-with-plsql/
4346
* http://www.docufy.be/
4447
* OOXML_UTIL_PKG
4548

46-
##Zip and unzip files using PL/SQL
49+
## Zip and unzip files using PL/SQL
4750

4851
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/9/9c/The_Unarchiver_zip.png/64px-The_Unarchiver_zip.png" align="right" /><br>
4952

5053
* https://technology.amis.nl/2010/03/13/utl_compress-gzip-and-zlib/
5154
* ZIP_UTIL_PKG
5255

53-
##Generate and parse CSV files using PL/SQL
56+
## Generate and parse CSV files using PL/SQL
5457

5558
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/38/CsvDelimited001.svg/113px-CsvDelimited001.svg.png" align="right" /><br>
5659

5760
* http://ora-00001.blogspot.com/2010/04/select-from-spreadsheet-or-how-to-parse.html
5861
* CSV_UTIL_PKG
5962

6063

61-
##Generate and parse RSS feeds using PL/SQL
64+
## Generate and parse RSS feeds using PL/SQL
6265

6366
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Feed-icon.svg/75px-Feed-icon.svg.png" align="right" /><br>
6467

@@ -67,25 +70,25 @@ This library is a collection of various utility packages for PL/SQL, as well as
6770
* RSS_UTIL_PKG
6871

6972

70-
##Generate JSON using PL/SQL
73+
## Generate JSON using PL/SQL
7174

7275
* http://ora-00001.blogspot.com/2010/02/ref-cursor-to-json.html
7376
* JSON_UTIL_PKG
7477

7578

76-
##Parse JSON using PL/SQL
79+
## Parse JSON using PL/SQL
7780

7881
* https://github.com/pljson/pljson
7982
* http://reseau.erasme.org/pl-sql-library-for-JSON?lang=en
8083

8184

82-
##Transfer files (FTP) using PL/SQL
85+
## Transfer files (FTP) using PL/SQL
8386

8487
* http://www.oracle-base.com/articles/misc/FTPFromPLSQL.php
8588
* FTP_UTIL_PKG
8689

8790

88-
##Send email (SMTP) using PL/SQL
91+
## Send email (SMTP) using PL/SQL
8992

9093
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Arobaze.svg/75px-Arobaze.svg.png" align="right" /><br>
9194

@@ -94,12 +97,12 @@ This library is a collection of various utility packages for PL/SQL, as well as
9497
* MAIL_UTIL_PKG
9598

9699

97-
##Receive email (POP3) using PL/SQL
100+
## Receive email (POP3) using PL/SQL
98101

99102
* POP3_UTIL_PKG
100103

101104

102-
##Receive email (POP3 and IMAP) using PL/SQL (and Java)
105+
## Receive email (POP3 and IMAP) using PL/SQL (and Java)
103106

104107
* http://plsqlmailclient.sourceforge.net/
105108

@@ -109,7 +112,7 @@ This library is a collection of various utility packages for PL/SQL, as well as
109112
* MS_EWS_UTIL_PKG
110113

111114

112-
##Integrate with Google services (Google Maps, Google Calendar, Google Translate) using PL/SQL
115+
## Integrate with Google services (Google Maps, Google Calendar, Google Translate) using PL/SQL
113116

114117
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/30/Googlelogo.png/200px-Googlelogo.png" align="right" /><br>
115118

@@ -119,28 +122,28 @@ This library is a collection of various utility packages for PL/SQL, as well as
119122
* GOOGLE_MAPS_PKG
120123
* GOOGLE_TRANSLATE_PKG
121124

122-
##Integrate with Amazon web services (Simple Storage Service S3) using PL/SQL
125+
## Integrate with Amazon web services (Simple Storage Service S3) using PL/SQL
123126

124-
<img src="http://upload.wikimedia.org/wikipedia/en/thumb/1/1d/AmazonWebservices_Logo.svg/250px-AmazonWebservices_Logo.svg.png" align="right" /><br>
127+
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/AmazonWebservices_Logo.svg/200px-AmazonWebservices_Logo.svg.png" align="right" /><br>
125128

126129
* http://ora-00001.blogspot.com/2011/03/amazon-s3-api-for-plsql.html
127130
* http://jastraub.blogspot.com/2011/01/building-amazon-s3-client-with.html
128131
* AMAZON_AWS_AUTH_PKG
129132
* AMAZON_AWS_S3_PKG
130133

131-
##Integrate with PayPal web services
134+
## Integrate with PayPal web services
132135

133136
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/3/39/PayPal_logo.svg/200px-PayPal_logo.svg.png" align="right" /><br>
134137

135138
* PAYPAL_UTIL_PKG
136139

137-
##Integrate with Twitter using PL/SQL
140+
## Integrate with Twitter using PL/SQL
138141

139142
<img src="http://upload.wikimedia.org/wikipedia/en/9/9f/Twitter_bird_logo_2012.svg" width="100" align="right" /><br>
140143

141144
* http://oratweet.com/
142145

143-
##Call SOAP and REST web services using PL/SQL
146+
## Call SOAP and REST web services using PL/SQL
144147

145148
* http://jastraub.blogspot.com/2008/06/flexible-web-service-api.html
146149
* https://flex-ws-api.samplecode.oracle.com/
@@ -151,44 +154,44 @@ This library is a collection of various utility packages for PL/SQL, as well as
151154
* T_SOAP_ENVELOPE
152155

153156

154-
##Publish SOAP web service using PL/SQL
157+
## Publish SOAP web service using PL/SQL
155158

156159
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/5/59/SOAP.svg/182px-SOAP.svg.png" align="right" /><br>
157160

158161
* http://ora-00001.blogspot.com/2011/01/soap-server-in-plsql.html
159162
* SOAP_SERVER_PKG
160163

161-
##Publish REST web services using PL/SQL
164+
## Publish REST web services using PL/SQL
162165

163166
* http://ora-00001.blogspot.com/2009/07/creating-rest-web-service-with-plsql.html
164167
* http://www.oracle-base.com/articles/misc/XMLOverHTTP.php
165168

166-
##Regular expressions using PL/SQL
169+
## Regular expressions using PL/SQL
167170

168171
<img src="http://upload.wikimedia.org/math/2/a/8/2a8ea57cab60c6ac9279fbf68e37ba0d.png" align="right" /><br>
169172

170173
* REGEXP_UTIL_PKG
171174

172175

173-
##String, date and math utilities
176+
## String, date and math utilities
174177

175178
* DATE_UTIL_PKG
176179
* MATH_UTIL_PKG
177180
* STRING_UTIL_PKG
178181

179-
##Encoding and data type utilities
182+
## Encoding and data type utilities
180183

181184
* ENCODE_UTIL_PKG
182185
* RAW_UTIL_PKG
183186

184-
##SQL utilities
187+
## SQL utilities
185188

186189
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/aa/SQL_ANATOMY_wiki.svg/275px-SQL_ANATOMY_wiki.svg.png" align="right" /><br>
187190

188191
* SQL_BUILDER_PKG
189192
* SQL_UTIL_PKG
190193

191-
##XML utilities
194+
## XML utilities
192195

193196
<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/6/68/XML.svg/125px-XML.svg.png" align="right" /><br>
194197

@@ -198,38 +201,38 @@ This library is a collection of various utility packages for PL/SQL, as well as
198201
* XML_STYLESHEET_PKG
199202
* XML_UTIL_PKG
200203

201-
##File utilities
204+
## File utilities
202205

203206
* FILE_UTIL_PKG
204207

205-
##HTTP utilities
208+
## HTTP utilities
206209

207210
* HTTP_UTIL_PKG
208211

209-
##Encryption and security utilities and protocols
212+
## Encryption and security utilities and protocols
210213

211214
* http://ora-00001.blogspot.com/2011/08/ntlm-for-plsql.html
212215
* CRYPTO_UTIL_PKG
213216
* NTLM_UTIL_PKG
214217
* NTLM_HTTP_PKG
215218

216-
##Logging and debugging utilities
219+
## Logging and debugging utilities
217220

218221
* https://github.com/tmuth/Logger---A-PL-SQL-Logging-Utility
219222
* http://sourceforge.net/projects/log4plsql/
220223
* http://sourceforge.net/projects/ilo/
221224
* DEBUG_PKG
222225

223-
##Generating test data and random bits using PL/SQL
226+
## Generating test data and random bits using PL/SQL
224227

225228
* http://ora-00001.blogspot.com/2011/02/generating-test-data-using-plsql.html
226229
* RANDOM_UTIL_PKG
227230

228-
##PL/SQL Web Toolkit (OWA) utilities
231+
## PL/SQL Web Toolkit (OWA) utilities
229232

230233
* OWA_UTIL_PKG
231234

232-
##Web Gateways for PL/SQL
235+
## Web Gateways for PL/SQL
233236

234237
* http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_epg.htm
235238
* http://download.oracle.com/docs/cd/B14099_19/web.1012/b14010/toc.htm
@@ -238,40 +241,40 @@ This library is a collection of various utility packages for PL/SQL, as well as
238241
* http://sourceforge.net/projects/dbprism/
239242
* http://oss.oracle.com/projects/mod_owa/dist/documentation/modowa.htm
240243

241-
##jQGrid Integration Kit for PL/SQL and Apex
244+
## jQGrid Integration Kit for PL/SQL and Apex
242245

243246
* http://ora-00001.blogspot.com/2010/03/jqgrid-integration-kit-for-plsql-and.html
244247
* http://code.google.com/p/jqgrid-for-plsql/
245248

246-
##Application Express APIs
249+
## Application Express APIs
247250

248251
* http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/toc.htm
249252
* APEX_UTIL_PKG
250253

251-
##Miscellaneous utilities and demos
254+
## Miscellaneous utilities and demos
252255

253256
* http://www.oracle.com/webfolder/technetwork/tutorials/plsql/sfdemo.zip
254257
* http://www.toadworld.com/platforms/oracle/w/wiki/8243.plsql-obsession
255258

256-
##PL/SQL Frameworks
259+
## PL/SQL Frameworks
257260

258261
* http://sourceforge.net/projects/plsqlframestart/
259262
* http://www.toadworld.com/Freeware/PLVisionFreeware/tabid/687/Default.aspx
260263

261-
##PL/SQL Wrappers for Java
264+
## PL/SQL Wrappers for Java
262265

263266
* http://sourceforge.net/projects/oracle-jutils/
264267

265-
##Unit Testing Frameworks for PL/SQL
268+
## Unit Testing Frameworks for PL/SQL
266269

267-
* https://utplsql.github.io/ (version 3 beta)
270+
* https://utplsql.github.io/
268271
* http://code.google.com/p/pluto-test-framework/
269272

270-
##Documentation Generators (JavaDoc-style)
273+
## Documentation Generators (JavaDoc-style)
271274

272275
* http://sourceforge.net/projects/plsqlutils/
273276
* http://www.thatjeffsmith.com/archive/2012/03/javadoc-for-the-database-a-la-dbdoc-via-sql-developer/
274277

275-
##Scripting, deployment and installation utilities
278+
## Scripting, deployment and installation utilities
276279

277280
* http://code.google.com/p/oracle-ddl2svn/

demos/slack_util_pkg_demo.sql

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
-- send message to Slack using webhook
3+
-- see https://api.slack.com/incoming-webhooks
4+
5+
begin
6+
-- create your own incoming webhook in Slack, then paste the path to the webhook here
7+
slack_util_pkg.set_webhook_path ('/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX');
8+
-- send a basic message
9+
slack_util_pkg.send_message ('Hello Slack World!');
10+
-- send a formatted message
11+
slack_util_pkg.send_message ('Hello *Slack* World! This is a _message from PL/SQL_ sent using the <https://github.com/mortenbra|Alexandria PL/SQL Utility Library>.');
12+
end;
13+
/
14+
15+
16+

0 commit comments

Comments
 (0)