12,052 reputation
11833
bio website ddbcinc.com
location Rochester Hills, MI
age 38
visits member for 3 years, 7 months
seen 2 hours ago
Oracle ACE

Aug
27
comment PL/SQL operating system call
@Ekevoo - Any number of queuing mechanisms can be implemented without polling (though one process polling even every few seconds for a very small number of requests shouldn't come close to putting a dent in a tiny server). Oracle AQ can be configured so that the message automatically kicks off the process (once the triggering transaction completes of course). For sufficiently small volumes of requests, your APEX process could also submit a dbms_job job that runs (more or less) immediately after the triggering transaction commits and calls a Java stored proc to shell out.
Aug
27
answered PL/SQL operating system call
Aug
26
comment In PL/SQL what is the usage of row level and column level attributes?
What do you mean by "row level and column level attributes"? Do you have an example of what you're talking about? Or a link to a document with some context?
Aug
21
comment Escape characters in Oracle dump
What does "take a dump" mean in this context? A "dump file" is a common term for the output of the Oracle export utility, either the regular version or the DataPump version. If you are using the Oracle export utility, however, the question doesn't make sense. That leads me to believe that you are using some other tool to generate some other sort of file.
Aug
15
comment Select on Table times out waiting for lock
And that "ORA Error" was? It doesn't make a lot of sense to make us guess the error.
Aug
13
comment Exporting scheduled jobs in Oracle
@ik_zelf - D'oh, you're right. Updated my answer to use the old PROCOBJ trick. I thought that was no longer necessary but apparently I was mistaken.
Aug
13
revised Exporting scheduled jobs in Oracle
@ik_zelf was right, that the JOB parameter won't work (at least when I tried in 11.2). Amending my answer to use the old PROCOBJ trick.
Aug
12
answered Exporting scheduled jobs in Oracle
Aug
8
answered Compare dates in Oracle SQL
Aug
5
comment How to move 200 materialized views without having to re-create in the new home
What does "moving" mean to you? I would read that to mean something like "taking an RMAN backup, shutting down the existing database, restoring the backup on the new server, starting up the database". But if that's what you're doing, I don't see why you would need to re-create anything.
Aug
5
answered Best practices for service name / aliases in tnsnames
Aug
4
comment Oracle 12c, exclude rows wher two columns are both null
Are the varchar2(508 byte) columns expected contain non-numeric characters (i.e. you have some rows that have the string "foo" and other rows that have the string "1.25" and you expect that predicates in the view return only those strings that have numeric characters)?
Aug
4
comment Oracle 12c, exclude rows wher two columns are both null
Are these two columns in the view selecting data from table(s) where the data is numeric? Or is the view selecting data from table(s) where the data is a varchar2 and you are implicitly or explicitly casting the data to a number in the view? Are there rows in the underlying table that have non-numeric data in those columns?
Jul
31
comment Oracle Tables Visible to Other Users
A DBA would generally have the SELECT ANY TABLE privilege so a DBA would be able to query any table in the database without needing any additional grants. The SELECT ANY TABLE privilege is part of the DBA role so any user with the DBA role would be able to select any table in the database. Of course, as @Vérace points out, that doesn't really constitute "tightening up security".
Jul
31
comment Oracle Tables Visible to Other Users
Post exactly what statements you are executing and what errors, if any, you are getting. If you are actually granting a user select access on a table and that user is using the fully qualified table name to query the table, that would be successful. If your query isn't successful, we'd need to see what you're doing before we can guess where you're going wrong.
Jul
31
comment Oracle Tables Visible to Other Users
What does "no tables visible to the users" mean? Are you using some sort of front-end GUI? Are you querying all_tables? Or user_tables? Are you running a query against the table? If so, are you using the fully qualified table name?
Jul
31
awarded  Nice Answer
Jul
25
comment different outcome based on function execution method
@Andrew - If there was one feature that I could remove, or at least require an extensive examination before it was used, it would be autonomous transactions. They are very useful in a couple of very specific situations. But they are giant "manual override" lets you overrule Oracle when it attempts to stop you from doing something stupid. And the vast majority of people using them are not smarter than the database.
Jul
25
comment different outcome based on function execution method
@Andrew - When I see an autonomous transaction, I read that as "Please note that this code is about to do something incredibly stupid that will have a large number of poorly understood side effects". If you are doing anything other than writing to a log that you want to persist the logging if the parent transaction fails, you're doing something wrong. Among other things, yes, you'd expect to get a metric crud load of deadlocks if you have autonomous transactions all over the place.
Jul
25
answered different outcome based on function execution method