Skip to content Skip to sidebar Skip to footer
Showing posts with the label Function

Pass Table Name Used In From To Function Automatically?

Working with PostgreSQL 9.6.3. I am new to functions in databases. Let's say there are multiple… Read more Pass Table Name Used In From To Function Automatically?

How To Use Sql User Defined Function In Snowflake?

I am just studying how to use SQL in snowflake. Here is a snapshot: And this is the code used in h… Read more How To Use Sql User Defined Function In Snowflake?

Call Sql Function Using Ado .net

I want call function created in SQL Server, which receives two parameters and returns an integer. W… Read more Call Sql Function Using Ado .net

How To Return A Dynamic Result Set In Oracle Function

I found a string tokenizer query on the net and packaged it into the below function, which return t… Read more How To Return A Dynamic Result Set In Oracle Function

Reuse Sql With View Or Function

I have a sql query that I will be reusing in multiple stored procedures. The query works against mu… Read more Reuse Sql With View Or Function

Db2 Sql Function With Dynamic Return Value

I have the following working DB2 SQL function CREATE OR REPLACE FUNCTION selector (param VARCHAR(3… Read more Db2 Sql Function With Dynamic Return Value

Join Multiple Rows Into One Column Using A Function In Oracle With 3 Related Tables

I know there are multiple questions about this same question but I couldn't find one that would… Read more Join Multiple Rows Into One Column Using A Function In Oracle With 3 Related Tables

Wrong Symbol Inside Replace Function (pl/sql, Oracle)

I have below procedure inside package: PROCEDURE test1 IS InsertST varchar2(32000) : = 'IN… Read more Wrong Symbol Inside Replace Function (pl/sql, Oracle)