Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 1 of 1

Thread: Call an Oracle Stored Procedure from an AQL

  1. #1
    Member
    Join Date
    Apr 2006
    Location
    Albany NY
    Posts
    60

    Default Call an Oracle Stored Procedure from an AQL

    Does anyone know how to call a Stored Procedure (we are using Oracle) from an AQL?

    Here is an example of an AQL we run using this (editted to remove sensitive information) command:

    Code:
    amexpl -script:/querylib/export.aql -cnx:ACOracle -login:nylogin -password:xxxxx -log:/tmp/acexport_script.log -overwrite
    Code:
    { Export_script_version 301
      Action=0
      CreateFile=0
      FileSql="C:\\PROGRA~1\\PEREGR~1\\ASSETC~1\\export.sql"
      Separator=;
      { Options
        Title=0
        TextSep=9
        TextId=0
        NumSep=46
        Output=ANSI
        DateOrder=0
        DateSep=47
        LongYear=1
        TimeSep=58
        Seconds=0
        DropFullNameSlash=1
        InsertComment=0
        CreateStrFile=0
      }
      { Line AgencyCodes
        SQL="SELECT AgencyCode, AgencyName, AgencySubCode, AgencySubName FROM amAgencyCodes ORDER BY AgencyCode, AgencySubCode"
        File=/tmp/Agency_Codes
        StrFile=
        Comment=
      }
    }
    as an addendum to the question about Stored Procedures ... is there a way to access an Oracle View?

    Does it have to be defined to Asset Center some how?

    Thanks - Dan
    Last edited by danstenzel; 2007-11-30 at 21:59. Reason: add question about a View

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts