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 24,058 public repositories matching this topic...
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
Working on a project I ran into the documentation for customizing the Foreign Key.
The docs read:
// https://sequelize.org/master/manual/assocs.html
// For example, to use UUID as the foreign key data type instead of the default (INTEGER), you can simply do:
const { DataTypes } = require("Sequelize");
Foo.hasOne(Bar, {
foreignKey: {
// name: 'myFooId'
type: D
We can use a wildcard for listing all grants for the tables in a database
> show grants on table mydb.* for mydb_mgmt;
database_name | schema_name | table_name | grantee | privilege_type
----------------+-------------+------------+-----------+-----------------
mydb | public | t1 | mydb_mgmt | ALL
mydb | public | t2 | mydb_mgmt | A
-
Updated
May 2, 2022 - C++
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
-
Updated
May 1, 2022 - C++
In https://github.com/taosdata/TDengine/blob/develop/src/client/src/tscPrepare.c, Local variable loopCont is assigned only once, to a constant value, making it effectively constant throughout its scope. If this is not the intent, examine the logic to see if there is a missing assignment that would make loopCont not remain constant.
So the 1567th line should be removed.

- Update configurations
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.
-
Updated
May 2, 2022 - C
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
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
Consider the following table:
dsimple> create table t(val char(3));
dsimple> insert into t values ('dasdsa');
string is too large for column
Dolt should add to the error message the name of the offending column like mysql
mysql> insert into t values ('dasdsa');
ERROR 1406 (22001): Data too long for column 'val' at row 1
-
Updated
Apr 20, 2022 - Go
-
Updated
May 1, 2022 - JavaScript
Hi,
my admin portal looks like this :
Version
- Server Installed 1.38.4
- Server Latest 1.38.4
- Web Installed -
- Web Latest 2.17.1
It seems that, at some point, 'GetInstalledWebVersion()' in 'Admin.dll' is called? Could anyone help me understand what do I need to check, to fix this?
FEAT: IN operator
-
Updated
Jan 24, 2022 - Python
-
Updated
Apr 29, 2022 - Go
Describe the Bug
The JSON response sent back over HTTP doesn't encode certain characters correctly.
For example, if a value in a string column contains the char \1
the byte value is copied verbatim in the response, breaking the client:
>>> json.loads('"\1"')
...
json.decoder.JSONDecodeError: Invalid control character at: line 1 column 2 (char 1)
Instead, we shou
-
Updated
May 1, 2022 - Jupyter Notebook
Quickstart review
- Missing information on how to create other databases
- Missing information on how to switch to other databases
- When using time travel, we don’t know where to get the transaction number from - we should show this to the user after committing data (this may be a missing capability in immudb / tools).
- The last long query example in the quick start is incorrect (incorrect
-
Updated
Apr 30, 2022 - Python
Enhancement