Skip to content

Commit 411997a

Browse files
committed
Update readme
1 parent 7ebd535 commit 411997a

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

README.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ knitr::opts_chunk$set(
2525

2626
The goal of the odbc package is to provide a DBI-compliant interface to [Open
2727
Database
28-
Connectivity](https://msdn.microsoft.com/en-us/library/ms710252(v=vs.85).aspx)
28+
Connectivity](https://docs.microsoft.com/en-us/sql/odbc/microsoft-open-database-connectivity-odbc?view=sql-server-ver15)
2929
(ODBC) drivers. This allows for an efficient, easy to setup connection to any
3030
database with ODBC drivers available, including [SQL
3131
Server](https://www.microsoft.com/en-us/sql-server/),
@@ -87,7 +87,7 @@ brew update
8787
brew install msodbcsql17 mssql-tools
8888

8989
# SQL Server ODBC Drivers (Free TDS)
90-
brew install freetds --with-unixodbc
90+
brew install freetds
9191

9292
# PostgreSQL ODBC ODBC Drivers
9393
brew install psqlodbc
@@ -177,7 +177,7 @@ con <- dbConnect(odbc::odbc(), "PostgreSQL")
177177

178178
#### Windows
179179
The [ODBC Data Source
180-
Administrator](https://msdn.microsoft.com/en-us/library/ms714024(v=vs.85).aspx)
180+
Administrator](https://docs.microsoft.com/en-us/sql/odbc/admin/odbc-data-source-administrator?view=sql-server-ver15)
181181
application is used to manage ODBC data sources on Windows.
182182

183183
#### MacOS / Linux

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ Status](https://img.shields.io/codecov/c/github/r-dbi/odbc/master.svg)](https://
1717

1818
The goal of the odbc package is to provide a DBI-compliant interface to
1919
[Open Database
20-
Connectivity](https://msdn.microsoft.com/en-us/library/ms710252\(v=vs.85\).aspx)
20+
Connectivity](https://docs.microsoft.com/en-us/sql/odbc/microsoft-open-database-connectivity-odbc?view=sql-server-ver15)
2121
(ODBC) drivers. This allows for an efficient, easy to setup connection
2222
to any database with ODBC drivers available, including [SQL
2323
Server](https://www.microsoft.com/en-us/sql-server/),
2424
[Oracle](https://www.oracle.com/database),
2525
[MySQL](https://www.mysql.com/),
26-
[PostgreSQL](https://www.postgresql.org/), [SQLite](https://sqlite.org/index.html)
27-
and others. The implementation builds on the
28-
[nanodbc](https://nanodbc.github.io/nanodbc/) C++ library.
26+
[PostgreSQL](https://www.postgresql.org/),
27+
[SQLite](https://sqlite.org/index.html) and others. The implementation
28+
builds on the [nanodbc](https://nanodbc.github.io/nanodbc/) C++ library.
2929

3030
- [Installation](#installation)
3131
- [Windows](#windows)
@@ -187,7 +187,7 @@ con <- dbConnect(odbc::odbc(), "PostgreSQL")
187187
#### Windows
188188

189189
The [ODBC Data Source
190-
Administrator](https://msdn.microsoft.com/en-us/library/ms714024\(v=vs.85\).aspx)
190+
Administrator](https://docs.microsoft.com/en-us/sql/odbc/admin/odbc-data-source-administrator?view=sql-server-ver15)
191191
application is used to manage ODBC data sources on Windows.
192192

193193
#### MacOS / Linux
@@ -291,8 +291,7 @@ data <- dbWriteTable(con, "iris", iris)
291291
`dbGetQuery()` will submit a query and fetch the results. It is also
292292
possible to submit the query and fetch separately with `dbSendQuery()`
293293
and `dbFetch()`. The `n=` argument to `dbFetch()` can be used to fetch
294-
only the part of a query result (the next *n*
295-
rows).
294+
only the part of a query result (the next *n* rows).
296295

297296
``` r
298297
result <- dbSendQuery(con, "SELECT flight, tailnum, origin FROM flights ORDER BY origin")
@@ -321,7 +320,6 @@ Reading a table from a SQL Server database with the ‘flights’ dataset
321320
library(DBI)
322321
rodbc <- dbConnect(RODBCDBI::ODBC(), dsn = "MicrosoftSQLServer", user = Sys.getenv("SQLSERVER_UID"), password = Sys.getenv("SQLSERVER_PWD"))
323322
system.time(rodbc_result <- dbReadTable(rodbc, "flights"))
324-
system.time(rodbc_result <- dbReadTable(rodbc, "flights"))
325323
#> user system elapsed
326324
#> 13.986 1.173 15.192
327325

0 commit comments

Comments
 (0)