StackOverflow Questions for Tag: sql-function

MariaT
MariaT

Reputation: 53

SQL Function with multiple CASE WHEN in the WHERE clause - slow performance

Score: 0

Views: 80

Answers: 4

Read More
Haoest
Haoest

Reputation: 13896

Table-Valued Function(TVF) vs. View

Score: 96

Views: 48535

Answers: 4

Read More
Austin
Austin

Reputation: 41

Using SQL , how do I select the max values when there is more than one with the same max value?

Score: -2

Views: 80

Answers: 2

Read More
Anand
Anand

Reputation: 1387

How to create a temporary function in PostgreSQL?

Score: 122

Views: 66341

Answers: 4

Read More
xi20
xi20

Reputation: 139

Passing array to WHERE IN on multiple columns in a function

Score: 1

Views: 73

Answers: 1

Read More
ClearlyClueless
ClearlyClueless

Reputation: 762

Calculate rolling adjusted date based on date from parent row - lag / recursion

Score: 0

Views: 56

Answers: 0

Read More
Duc Do
Duc Do

Reputation: 1

PL/SQL function to detect a one way character change between 2 strings

Score: -2

Views: 63

Answers: 2

Read More
Prajwal Abraham
Prajwal Abraham

Reputation: 3

PostgreSQL function has syntax error at IF. Why?

Score: -3

Views: 102

Answers: 1

Read More
Ascerd
Ascerd

Reputation: 1

How to make this subquery return more than one row?

Score: -4

Views: 100

Answers: 2

Read More
Ben Klino
Ben Klino

Reputation: 1

supabase function unable to access one table

Score: 0

Views: 79

Answers: 1

Read More
Lukas Pistelak
Lukas Pistelak

Reputation: 1

JSON_KEYS function

Score: 0

Views: 62

Answers: 1

Read More
Adel
Adel

Reputation: 17

When i call this function for 700k record it is very slow

Score: -4

Views: 85

Answers: 2

Read More
Serj.by
Serj.by

Reputation: 604

Using function result in WHERE clause in PostgreSQL

Score: 9

Views: 9207

Answers: 3

Read More
Greg Witczak
Greg Witczak

Reputation: 1684

Reading Oracle boolean filed dbms_utility.is_cluster_database in statement

Score: 1

Views: 319

Answers: 3

Read More
Mridul Thakur
Mridul Thakur

Reputation: 1

Why were functions introduced when stored procedures were already available in SQL Server?

Score: 0

Views: 128

Answers: 1

Read More
Tarik
Tarik

Reputation: 81711

Function vs. Stored Procedure in SQL Server

Score: 1013

Views: 812088

Answers: 19

Read More
user779159
user779159

Reputation: 9602

Set schema for objects referred to in postgres functions to same as the function itself

Score: 5

Views: 3062

Answers: 2

Read More
joaomrossetto
joaomrossetto

Reputation: 21

Create function that returns a "SELECT" statement result

Score: 2

Views: 2537

Answers: 1

Read More
Lukasz Szozda
Lukasz Szozda

Reputation: 175546

Memoizable functions - Snowflake

Score: 1

Views: 1211

Answers: 1

Read More
Charmi
Charmi

Reputation: 83

Create SQL function using Django migrations command

Score: 0

Views: 154

Answers: 0

Read More
PreviousPage 1Next