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,142 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: DWe 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
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 4, 2022 - C++
-
Updated
May 4, 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 4, 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 3, 2022 - JavaScript
-
Updated
May 4, 2022 - C#
FEAT: IN operator
-
Updated
Jan 24, 2022 - Python
-
Updated
Apr 29, 2022 - Go
With recent changes RecordMetadata#getTimestampIndex() is allowed to return non--1 value in the ORDER BY designated_ts DESC case (also see RecordCursorFactory#hasDescendingOrder()). This can be easily seen on filtered scan queries, but not only. Previously, the contract was different: a non--1 value was returned only for empty ORDER BY and ORDER BY designated_ts ASC cases.
This change b
-
Updated
May 3, 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
May 4, 2022 - Python

Enhancement