Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
PostgreSQL version 11
0
votes
Need a function to run different queries based on parameters sent subquery must return one c...
So I finally got this to work with this function:
returns table( ctype int, cvalue char )
LANGUAGE sql
STABLE PARALLEL SAFE
AS $$
select c.cttype,
case
when const_scopefk …
0
votes
1
answer
481
views
Need a function to run different queries based on parameters sent subquery must return one c...
I am new to advanced sql programming. I am storing constants.
Constants have three possible scopes: local, user and global.
Two tables:
s0constants_user holds set values of constants
s0constants …