SQL

SQL stands for structured query language. It uses commands such as "select", "insert", "update", "delete". Some common relational database management systems that use SQL are: Oracle, MySQL, Microsoft SQL Server, PostgreSQL, etc.
Here are 26,088 public repositories matching this topic...
Add basic CI
We already have some scripts in the scripts
directory. It would be good to run them for every PR.
This is also a great task for beginners.
## Python/Regex fix
Sometimes it is needed to store compressed data in the DB. Unfortunately not all the DBs have built-in compression and FUSE compressed FSes are not available for every OS. So it may make sense to store compressed binary blobs in the DB.
Unfortunately when one sees them in DBeaver he sees them compressed, but often they are needed uncompressed. So it'd be nice to have a feature to decompress the
If I create any model with
charset: 'utf8mb4', collate: 'utf8mb4_general_ci'
sequelize translates it to this for mysql
CREATE TABLE IF NOT EXISTS
tablename ... ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8mb4_general_ci;
On stepping through the code, it seems that the issu
We have metrics recoding flush related stats (number of flushes, duration), but
those only work when issuing explicit Flush request.
Some sinks (cloud storage) also flush based on other criteria (size) -- we should
add metrics to record those flushes as well.
Jira issue: CRDB-17659
-
Updated
Jul 18, 2022 - C++
-
Updated
Jul 17, 2022 - C++
Bug Description
fix issues found by Coverity Scan in syncMain.c
To Reproduce
N/A
Expected Behavior
fix following issues:
| issue type | category | file path | function | line number |
| -------------------------- | -------------------------- | -------------------------- | -------------------------- |
Describe the Bug
if you set AUTH_DISABLE_DEFAULT
to true
and define an LDAP AUTH_PROVIDER
, the login form will be empty.
this is caused by driver
never being assigned to the ldap value: https://github.com/directus/directus/blob/64acd2fdb32103761b7f8ed1a195ef4412db00cc/app/src/routes/login/login.vue#L52
before, on setup, providerOptions
would always be set, calling the comput
Currently we only support Upsert for CockroachDB. Implementing same for MySQL should be pretty straightforward as well.
Wonder if we can also use INSERT ON CONFLICT UPDATE for PostgreSQL to ensure operation with same signature also works.
Describe the bug
Using a time dimension on a runningTotal measure on Snowflake mixes quoted and unquoted columns in the query. This fails the query, because Snowflake has specific rules about quoted columns. Specifically:
- All unquoted column names are treated as upper case
- Quoted column names are case sensitive.
So "date_from" <> date_from
To Reproduce
Steps to reproduce
-
Updated
Jul 18, 2022 - C
Issue description
This option will improve performance in many scenarios
https://dev.mysql.com/worklog/task/?id=8134
https://www.facebook.com/weixiang.zhai/posts/678596755543802
every time I lost the connection, (usually got closed from server side due to long time idle) I have to restart the application to reconnect to database, otherwise I can't query anything
should be able to keep the connection alive, check if the connection valid and do the reconnect thing automatically and periodically.
-
Updated
Jul 18, 2022 - Go
-
Updated
Jun 27, 2022 - JavaScript
-
Updated
Jul 18, 2022 - C#
-
Updated
Jun 26, 2022 - Python
-
Updated
Jul 15, 2022 - Go
Is your feature request related to a problem?
We have users periodically asking for week-based partitioning.
Describe the solution you'd like.
Add WEEK to the PARTITION BY options.
Describe alternatives you've considered.
No response
Additional context.
This PR should give enough hints on how to implement this feature: questdb/questdb#1571
-
Updated
Jun 22, 2022 - Jupyter Notebook
As a result of the showcase, we should improve the following messages:
- “column does not exist”: Which one?
- “syntax error: unexpected IDENTIFIER”: Would like to
- have a hint where to look for the error in my statement.
- "pq: syntax error: unexpected $unk"
Enhancement
We have many place to use the
exp/slices
to sort our struct. It can improve performance by using pdqsort and clean branch check. But We have many placement using the oldsort
. Please remove it. Here is the example .BTW, You haven't to change the
bazel.build
. it can be updated by robot.