@@ -17,15 +17,15 @@ Status](https://img.shields.io/codecov/c/github/r-dbi/odbc/master.svg)](https://
17
17
18
18
The goal of the odbc package is to provide a DBI-compliant interface to
19
19
[ 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 )
21
21
(ODBC) drivers. This allows for an efficient, easy to setup connection
22
22
to any database with ODBC drivers available, including [ SQL
23
23
Server] ( https://www.microsoft.com/en-us/sql-server/ ) ,
24
24
[ Oracle] ( https://www.oracle.com/database ) ,
25
25
[ 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.
29
29
30
30
- [ Installation] ( #installation )
31
31
- [ Windows] ( #windows )
@@ -187,7 +187,7 @@ con <- dbConnect(odbc::odbc(), "PostgreSQL")
187
187
#### Windows
188
188
189
189
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 )
191
191
application is used to manage ODBC data sources on Windows.
192
192
193
193
#### MacOS / Linux
@@ -291,8 +291,7 @@ data <- dbWriteTable(con, "iris", iris)
291
291
` dbGetQuery() ` will submit a query and fetch the results. It is also
292
292
possible to submit the query and fetch separately with ` dbSendQuery() `
293
293
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).
296
295
297
296
``` r
298
297
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
321
320
library(DBI )
322
321
rodbc <- dbConnect(RODBCDBI :: ODBC(), dsn = " MicrosoftSQLServer" , user = Sys.getenv(" SQLSERVER_UID" ), password = Sys.getenv(" SQLSERVER_PWD" ))
323
322
system.time(rodbc_result <- dbReadTable(rodbc , " flights" ))
324
- system.time(rodbc_result <- dbReadTable(rodbc , " flights" ))
325
323
# > user system elapsed
326
324
# > 13.986 1.173 15.192
327
325
0 commit comments