12,087 reputation
11933
bio website ddbcinc.com
location Rochester Hills, MI
age 38
visits member for 3 years, 8 months
seen 4 hours ago
Oracle ACE

8h
awarded  Enlightened
8h
comment How to group rows and order each item from every group sequentially?
I still don't understand what you're trying to accomplish. How do you know that you have 3 groups? Might a different set of data have a different number of groups? If so, explain in words how you determine how many groups there are and which rows are in which group. Then you say that you are "not worried about the order" but the entire question is about how to order the results in some particular fashion.
1d
comment How to group rows and order each item from every group sequentially?
At a minimum, your question needs to explain in words how you arrive at the desired result. Ordering by item is, obviously, not sufficient. There is something else to your problem. You'll need to explain what that is to us before we can help you.
1d
comment How to group rows and order each item from every group sequentially?
I'm not sure that I follow. You say you want to order based on the item column. But you have i_1 rows spread all through your result set. Your title mentions grouping data but it's not at all obvious if or how you are grouping your data. Is there an additional column that you didn't include that tells us the group?
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
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