Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

The mode() aggregate function selects the statistical mode. Some examples: coredata_api=# create table t1 (pet text, meme int); coredata_api=# insert into t1 (pet, meme) values ('dog', 6), ('dog', 6),...
ldrg's user avatar
  • 719
-1 votes
1 answer
146 views

A software vendor refuses to support MariaDB on the grounds that they need JSON support, but that "JSON is not inherently included in the basic SQL standard, but it is part of the SQL:2016 ...
AlexD's user avatar
  • 119
0 votes
4 answers
570 views

Please read carefully. This question is not about workarounds or alternative ways to achieve LIMIT in IN subqueries!   It’s a well-known and well-documented that there are a number of restrictions on ...
Janus Bahs Jacquet's user avatar
1 vote
1 answer
209 views

wondering if the ANSI SQL standard has a portable way to create a sequence object and get values from it? I can't find a portable way, but search engines seem to confuse ANSI sql with MS SQL server, ...
mikeb's user avatar
  • 133
1 vote
1 answer
139 views

Backstory: I'm having to do some computer archeology for a data integration project, involving getting data out a multiple-decades-old old Progress, now OpenEdge, database application for AS/400. ...
Dai's user avatar
  • 692
0 votes
1 answer
196 views

This article fascinated me it claims that FROM clauses in UPDATE are not part of the ANSI standard. Unfortunately, it is very old and I don't care to buy a copy of the latest ANSI standard for SQL. Is ...
J. Mini's user avatar
  • 1,340
0 votes
0 answers
161 views

What does ISO/IEC 9075-1:2023 standard say about COMMIT/ROLLBACK queries? Should (or can) they emit an error/exception when executed outside an active transaction? I am asking because of https://jira....
mvorisek's user avatar
  • 428
0 votes
0 answers
176 views

I would assume this to be the case, since it seems like an easy optimization and to make things more predictable. Given: SELECT ANY_VALUE(country) AS country FROM countries HAVING ANY_VALUE(country) = ...
Kit Sunde's user avatar
  • 363
2 votes
1 answer
1k views

The Postgres docs state: While the standard syntax for specifying string constants is usually convenient, it can be difficult to understand when the desired string contains many single quotes or ...
Janus Troelsen's user avatar
6 votes
1 answer
165 views

I am looking at list of SQL keywords here https://www.postgresql.org/docs/current/sql-keywords-appendix.html There are some single letter keywords there. I cannot find any information about them. ...
Pratik Deoghare's user avatar
6 votes
3 answers
1k views

Section 5.6 of the SQL-92 standard contains rules 10...13 per which unquoted identifiers should be upper-cased, so foo becomes FOO but "foo" remains foo. These rules are respected by Oracle, ...
Sergei Morozov's user avatar
1 vote
2 answers
527 views

I just found out that some specific patterns when used with LIKE text operator uses BTREE indexes to speed up queries, such as: 'abc123' (text with no wildcard) 'abc%' (text with only one wildcard in ...
Tiago Stapenhorst's user avatar
0 votes
1 answer
1k views

So far I've seen ALTER TABLE RENAME, ALTER TABLE CHANGE and ALTER TABLE MODIFY. What I'm trying to achieve is something like ALTER TABLE my_table RENAME col_old_name TO col_new_name, which can be a ...
vesperto's user avatar
  • 135
1 vote
2 answers
182 views

I am trying to build a query partitioner for a distributed processing system. This system would work with databases that support JDBC. The input of this partitioner would be the name of a table, and a ...
Pablo's user avatar
  • 113
0 votes
1 answer
239 views

What is the formal definition of a SQL identifier in the ISO/IEC 9075:2016 standard? Most specifically, in the case of both regular and delimited identifiers, what limitations exist on: Character set ...
Graham Leggett's user avatar

15 30 50 per page
1
2 3 4 5
9