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 14,186 public repositories matching this topic...
-
Updated
Nov 25, 2020 - Go
Postgres provides the fuzzystrmatch module, which includes several useful functions:
-
levenshtein
andlevenshtein_less_equal
, to calculate levenshtein distance between strings -
soundex
anddifference
to calculate Soundex codes for names -
metaphone
,dmetaphone
anddmetaphone_alt
to compute "sounds like" stri
-
Updated
Nov 25, 2020 - C++
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
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: latest
Database + version: any
OS: any
Select applicable template from below.
If issue is about oracledb support, tag @ atiertant. For MSSql tag @ smorey2.
Rest of dialects don't need tags.
If issue is about TypeScript definitions, tag @lorefnon.
Bug
- Explain what kind of behaviour you are getting and how you think it should do
knex.batchInsert as
databasename can not contain dot 。if contain, after dot string will be discard。 i found like pattern in SQLServerDataSourceMetaData class "jdbc:(microsoft:)?sqlserver://([\w-.]+):?([0-9]);\S(DatabaseName|database)=([\w-]+);?" should be "jdbc:(microsoft:)?sqlserver://([\w-.]+):?([0-9]);\S(DatabaseName|database)=([\w-.]+);?"
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
Nov 25, 2020 - C
-
Updated
Sep 23, 2020 - Python
-
Updated
Oct 27, 2020 - JavaScript
## 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
-
Updated
Aug 12, 2020 - Python
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
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-
-
Updated
Nov 25, 2020 - Go
-
Updated
Nov 25, 2020 - Java
-
Updated
Nov 25, 2020 - C#
-
Updated
Nov 25, 2020 - Python
-
Updated
Nov 25, 2020 - Go
-
Updated
Nov 25, 2020 - C
-
Updated
Nov 25, 2020 - Ruby
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