For access to these SQL logs from the Windows User Tool, your account must be in the system specified Logging group (Administrator, by default). BTW the User Tool does some translations for instance for statuses and other enumerated fields and for date and datetime fields. You would need to replicate this if you use values from these fields. In the list archives there should be enough examples of this. also check the Remedy Database Reference document which should be accompanied with the software and is available for download on the Supportweb (http://supportweb.remedy.com)
Regards, Michiel On 7/24/06, Rick Cook <[EMAIL PROTECTED]> wrote:
Probably the easiest way is to go into Remedy Administrator (or Remedy User as an Administrator) and turn on the SQL logs for a bit. Note that if you turn them on in Administrator, it will generate SQL logs for all transactions for all users. This can use huge chunks of disk space. Using the logs in User will only track the transactions run by you. Rick ________________________________ From: Action Request System discussion list(ARSList) on behalf of Rob Ashmore Sent: Sun 7/23/2006 7:28 PM To: [email protected] Subject: How to see the SQL code generated by Remedy Dear All, For the purposes of analysis and reporting, a csv file is currently extracted from the Remedy Help Desk databases using the Remedy front-end (to specify time ranges and the names of the required columns). This is a messy / high maintenance approach to reading the data and does not lend itself to a good automated 'load' process. Rather than use the above method I want to interrogate the underlying Oracle tables using 3rd party SQL based software. It would help immensely if I could see the SQL code which is generated by the Remedy front-end when it produces the csv flat-file extract. I could then simply copy it into my 3rd party software program, make any necessary changes and run the code. (I would be using SAS software, more specifically 'SAS pass-thru sql' ). Could anyone please suggest where / how I can get at the code generated ( I presume in SQL) by the Remedy front-end. The sql generated is probably not very complex but I really need to see which columns come from which tables and how they are joined. I do already have read access to the 'ARADMIN' schema tables in Oracle and can see them from within SAS. If it is not possible to access the generated SQL, is there any other method which would allow me to see all the table names /columns/joins etc used in the extract. Thanks In Advance, Rob Ashmore (BTW it is probably painfully obvious that I am not really familiar with the Remedy system. Hopefully the above makes sense though! ) ______________________________________________________________________ This email contains confidential information intended only for the addressee. If you received it in error, please inform us by reply email or by calling us from Australia on 131 137 or Internationally on 612 93239500. Please also delete this email and destroy any hard copy. You must not disclose or use the information in this email. ______________________________________________________________________ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
_______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

