Hello. The run sql script in System i Navigator allows me to run CL commands. How can i block this? Thx in advance.
I need help translating a ruby script to SQL query. I’m a SQL noob. Help please. [em]here is the script.[/em] require “rubygems” require “ruport” SQL = <<-EOS SELECT tv.ApptDate, tv.PatName, tv.PatFirst, tv.PatLast, tv.Phone, tv.ApptTime, tv.Provlast, tv.ProvFirst, tv.ProvTitle, tv.Clinic, tv.Age, tv.Notes FROM ( /* SECOND LEVEL, this brings out cliniccode from the main query so we [...]
This query works great except I need to add one thing. There are two district codes that need to be included in the query. These codes just need the MC_Tax_Amount field totaled – no dividing by two. How do I add this to my query? Thank you, SELECT “T16.CPRP”.CP_DISTRICT_CODE, SUM(“T16.CMCL”.MC_TAX_AMOUNT/2) AS TOWN , SUM(“T16.CMCL”.MC_TAX_AMOUNT/2) AS [...]
I am a very new user to both SQL and Oracle and I am hoping that someone can explain to me if there is a way to multiple tables in a schema to .sql Import scripts. I know that in TOAD, you can right click on a table and choose export from the list, then [...]





