set_connString: Create connection string from function parameters.

Description Usage Arguments Value Note Examples

Description

This function defines SQL Server connection string. from function parameters.

Usage

1
set_connString(datasource, database, usr, pwd)

Arguments

datasource

Server name.

database

Database name.

usr

User name for authentication.

pwd

Password for authentication.

Value

SQL Server connection string.

Note

If username and password missing or empty Integrated Security=True is used in connection string instead.

Examples

1
set_connString("LAPTOP-USER\\SQLEXPRESS", "Database_Name")

martinkabe/RSQLS_package documentation built on June 11, 2019, 3:27 p.m.