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 15,477 public repositories matching this topic...
-
Updated
Feb 25, 2021 - Go
Describe the problem
Dropping and recreating a view within a transaction just drops the view.
To Reproduce
CREATE TABLE foo (a TEXT, b TEXT);
CREATE VIEW foo_view AS SELECT a FROM foo;
BEGIN;
DROP VIEW IF EXISTS foo_view;
CREATE VIEW IF NOT EXISTS foo_view AS SELECT a, b FROM foo;
COMMIT;
SELECT * FROM foo_view;
-- ERROR: relation "foo_view" does not exist
-- SQ
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
-
Updated
Feb 25, 2021 - C++
Now insert and query share the resource ( Max Process Count control) 。 When the query with high TPS,the insert will get error (“error: too many process”). I think separator the resource for Insert and Query will makes sense. Ensure enough resource for insert。It looks like Use Yarn, Insert and Query use the different resource quota。
Or the simple way , Can we set Ratio for Insert and
Environment
Knex version: [email protected]
Database + version:
Microsoft SQL Server 2019 (RTM-CU8) (KB4577194) - 15.0.4073.23 (X64)
Sep 23 2020 16:03:08
Copyright (C) 2019 Microsoft Corporation
Developer Edition (64-bit) on Linux (Ubuntu 18.04.5 LTS)
OS: Docker under macOS
For MSSql tag @smorey2.
Feature discussion / request
- Explain what is your use case
It
Issue description
Go 1.15 will introduce a new Validator interface, which may be implemented by Conn to allow drivers to signal if a connection is valid or if it should be discarded:
-
Updated
Feb 25, 2021 - C
-
Updated
Jan 30, 2021 - JavaScript
-
Updated
Dec 2, 2020 - Python
Hello Philip!
I think there is an issue with this part of the code of rqlite (store/store.go).
func (s *Store) Database(leader bool) ([]byte, error) {
if leader && s.raft.State() != raft.Leader {
return nil, ErrNotLeader
}
// Ensure only one snapshot can take place at once, and block all queries.
s.mu.Lock()
defer s.mu.Unlock()
f, err := ioutil.TempFile("", "rqlilte-snap-
## Python/Regex fix
This is a reminder for me or a task if anyone wants :P
Basically, The last two questions aren't really regex's questions.
To do:
- Move said questions to correct place.
- Add new regex questions (Python related!)?
- Maybe add a new ## Regex section, as it is a valuable skill
Whenever I submit a GET request to the api/public/groups endpoint, the "collections" field for each group returns "None" on every group, even if they have access to collections. I can verify that the
-
Updated
Dec 22, 2020 - Python
When launching the Create project from database dialog from the context menu of a database, the server and database dropdown are already populated, but sometimes the database dropdown is blank for a few second while waiting for the list of databases to load.
It would be nice if th
-
Updated
Feb 13, 2021 - Go
-
Updated
Feb 24, 2021 - Go
-
Updated
Feb 25, 2021 - C#
-
Updated
Feb 25, 2021 - Python
-
Updated
Feb 23, 2021 - Java
It looks like there are hints at connecting directly with a socket path https://github.com/beekeeper-studio/beekeeper-studio/blob/9ff3131030057364f31f3034677fc0f6a9bd48b5/src/lib/connection-provider.js#L23
But there does not appear to be anything in the UI to indicate
Reusing cloudera/hue#1684


Issue Description
While using model.bulkCreate, as we pass the options, an object which contains transaction, it comes modified after the execution
What are you doing?
We have called bulk