Skip to content

Question: Read-only connection to SQL Server #261

Answered by sm-shaw
khristenkovladimir asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
As a question, Issue converted to a Discussion topic.

So all the driver scripts are scripts that you can edit. I would recommend using the GUI script editor to make any changes and then saving the file. If using the CLI you can use the customscript command to load an edited file.
Firstly, navigate to the connect_string section. The best example to add a change is similar to the existing one for azure as shown below.

proc connect_string { server port odbc_driver authentication uid pwd tcp azure db } {
set read_only "true"
if { $tcp eq "true" } { set server tcp:$server,$port }
if {[ string toupper $authentication ] eq "WINDOWS" } {
set connection "DRIVER=$odbc_driver;SERVER=$server;TRUS…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@khristenkovladimir
Comment options

@sm-shaw
Comment options

Answer selected by sm-shaw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #260 on July 13, 2021 16:53.