Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

use odbc from powershell

$conn = new-object System.Data.Odbc.OdbcConnection
$conn.connectionstring = "DSN=DSNNAME" # Find "DSNNAME" (i.e. connection name) in ODBC Data Source Admin > User DSN
$sqlCommand="SELECT VERSION();"
$conn.open()

$cmd = New-object System.Data.Odbc.OdbcCommand($sqlCommand,$conn)
$dataset = New-Object System.Data.DataSet
(New-Object System.Data.Odbc.OdbcDataAdapter($cmd)).Fill($dataSet)
$conn.Close()

$dataSet
$dataSet.Tables
Comment

PREVIOUS NEXT
Code Example
Shell :: bash return every nth line 
Shell :: rejected master fetch first 
Shell :: How to export a GPG private key to a file 
Shell :: pm2 remove app from list 
Shell :: allow localhose wsl2 
Shell :: certbot dry run renew 
Shell :: git checkout branch on different remote 
Shell :: rm recursive file pattern 
Shell :: conda install tesseract 
Shell :: docker delete network 
Shell :: batch remove double quotes 
Shell :: activate conda environment in bash script 
Shell :: linux create user 
Shell :: install netbeans 8.2 ubuntu 20.04 
Shell :: check internet speed on mac terminal 
Shell :: docker ps view command 
Shell :: install aws cli 
Shell :: zip files in folder linux 
Shell :: check how many version installed on nvm package 
Shell :: change root password for kali 
Shell :: bash alias 
Shell :: Errors during downloading metadata for repository 
Shell :: git delete all merged branches 
Shell :: how to restart network manager in kali 
Shell :: zsh: command not found: julia 
Shell :: matrix effect 
Shell :: node-pre-gyp install failed with error: error: command failed: node-pre-gyp install --fallback-to-build 
Shell :: tar extract to folder 
Shell :: awk sum column 
Shell :: unable to locate a java runtime that supports javaws 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =