Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

tjames192/Oracle.DataAccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Oracle.DataAccess

Examples

$ComputerName = "oracle.contoso.com"
$service ="database"
$instance ="database"
$userid = "username"
$password = "password"

Import-Module .\Oracle.DataAccess.psm1 -verbose
$sql = @"
SELECT style, path
  FROM database@server.contoso.com    style,
       contoso_style                   b,
       database@server.contoso.com  img
WHERE     style = attribute
       --AND entry_date > SYSDATE - 365
       AND TYPE = 'PHOTO'
       AND style = style
"@ 

Connect-TNS -host $ComputerName -service $service -instance $instance -userid $userid -password $password
$dt = Get-DataTable -sql $sql
Disconnect
$dt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published