-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from byjg/oracle
Oracle OCI + Mutex Cache + Transaction
- Loading branch information
Showing
21 changed files
with
1,082 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Driver: Oracle | ||
|
||
The Oracle Driver don't use the PHP PDO Driver. Instead, uses the OCI library. | ||
|
||
The Oracle Connection String has the following format: | ||
|
||
|
||
```text | ||
oci8://user:pass@server:port/serviceName?parameters | ||
``` | ||
|
||
The `parameters` can be: | ||
|
||
* `codepage`=UTF8 | ||
* `conntype`=default|persistent|new | ||
* `session_mode`=OCI_DEFAULT|OCI_SYSDBA|OCI_SYSOPER | ||
|
||
## conntype | ||
|
||
* If conntype = default will call the `oci_connect()` command; | ||
* If conntype = new will call the `oci_new_connect()` command; | ||
* If conntype = persistent will call the `oci_pconnect()` command; | ||
|
||
## session_mode | ||
|
||
The `OCI_DEFAULT`, `OCI_SYSDBA` AND `OCI_SYSOPER` are the PHP Constants | ||
and they are `0`, `2` and `4` respectively; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Driver: Microsoft SQL Server | ||
|
||
The SQLServer can be connected using both FreeDTS / Dblib (Sybase) or SQLSVR driver. | ||
|
||
They have specifics, but both are able to connect to SQLServer. | ||
|
||
There are some specifics as you can see below. | ||
|
||
## The Date format Issues | ||
|
||
Date has the format `"Jul 27 2016 22:00:00.860"`. The solution is: | ||
|
||
Follow the solution: | ||
[https://stackoverflow.com/questions/38615458/freetds-dateformat-issues](https://stackoverflow.com/questions/38615458/freetds-dateformat-issues) |
Oops, something went wrong.