The results of F1-QUERY-how to restrict or to SQL with the role of access to the data?
HelloWith the help of CC & B 2.3.1.
I'm configuration of a Zone of F1-OF-QUERY to get and display customer information as level account; the filter criteria will be Geo val SP.
With our application, we use access to accounts and groups access to the data on users roles to restrict access to sensitive accounts, such as VIP.
What keywords should I use in the SQL statement to limit the results only for group accounts to which access is included in the Dar of the user?
Example: If the user has DAR 'STANDARD', it won't see accounts with group access 'VIP '.
I tried unsucessfully: USER: USER ID,: USER_ID.
Unsucessfull example:
Select dar_cd, user_id, expire_dt
of ci_dar_usr
Where user_id =: USER_ID
and expire_dt > =: F1
Thks,
Fabien
Hi, Fabien,
If you are looking to determine the current user in the box,
the keyword to use is: USERID
You can check the zone of F1 "F1-FAVSCR" for its use.
Tags: Oracle
Similar Questions
-
How do I rotate my result of a query from a line to a SQL column?
Hey, guys:
Is it possible that I can rotate my result of a query from a line to a SQL column?
It's a certain type of pivot example
Instead of
DEPTNO DNAME
-------- ---------------
10 accounting
It would be
DEPTNO: 10
DNOM: ACCOUNTINGHello
When you have N columns to rank 1 and you want to display in the form of 1 column on several lines, it's called Unpivoting . Here's a way to do it:
WITH cntr AS ( SELECT LEVEL AS n FROM dual CONNECT BY LEVEL <= 2 -- number of columns to be unpivoted ) SELECT CASE c.n WHEN 1 THEN 'DEPTNO' WHEN 2 THEN 'DNAME' END || ':' AS label , CASE c.n WHEN 1 THEN TO_CHAR (d.deptno) WHEN 2 THEN d.dname END || ':' AS val , d.deptno -- PK, if needed FROM cntr c CROSS JOIN scott.dept d WHERE deptno = 10 -- or whatever ;
The query above works in Oracle 9.1 or more.
From Oracle 11.1, you can also use the SELECT... Function of the UNPIVOT operator. -
How can I write a sql with a Union.
How can I write a sql with a Union.
Select emp_name, emp_no, emp_sal of the emp
If show_Less_100000 = "Yes" then emp_sal < 100000 (all values less than 100000)
otherwise the full list.
Thank you
Harsha
Published by: taty on July 31, 2012 11:28SQL> variable show_Less_100000 varchar2(3) SQL> exec :show_Less_100000 := 'Yes'; PL/SQL procedure successfully completed. SQL> select ename, 2 empno, 3 sal 4 from emp 5 where ( 6 :show_Less_100000 = 'Yes' 7 and 8 sal < 2000 9 ) 10 or nvl(:show_Less_100000,'No') != 'Yes' 11 / ENAME EMPNO SAL ---------- ---------- ---------- SMITH 7369 800 ALLEN 7499 1600 WARD 7521 1250 MARTIN 7654 1250 TURNER 7844 1500 ADAMS 7876 1100 JAMES 7900 950 MILLER 7934 1300 8 rows selected. SQL> exec :show_Less_100000 := 'All'; PL/SQL procedure successfully completed. SQL> select ename, 2 empno, 3 sal 4 from emp 5 where ( 6 :show_Less_100000 = 'Yes' 7 and 8 sal < 3000 9 ) 10 or nvl(:show_Less_100000,'No') != 'Yes' 11 / ENAME EMPNO SAL ---------- ---------- ---------- SMITH 7369 800 ALLEN 7499 1600 WARD 7521 1250 JONES 7566 2975 MARTIN 7654 1250 BLAKE 7698 2850 CLARK 7782 2450 SCOTT 7788 3000 KING 7839 5000 TURNER 7844 1500 ADAMS 7876 1100 ENAME EMPNO SAL ---------- ---------- ---------- JAMES 7900 950 FORD 7902 3000 MILLER 7934 1300 14 rows selected. SQL>
SY.
-
SQL query: How to match multiple names strictly with its appropriate values
Hi all
Assume there is a table of CODES (with 3 columns) as follows:...
------------------------------------------------
Name ID value
------------------------------------------------
SFO 100 080
200 NY 044
300. THE 040
------------------------------------------------
I would need to write a SQL to retrieve the rows that match few of names and values. For example: (1) name = "NY" and value = '044' and (2) name = "LA" and value = "040".
I wrote this sql...
SELECT id, name, value of CODES whose name IN ('NY', THE ') and the value IN ('044 ', ' 040')
This returns 2 rows as expected.
At the same time, even for the following query, the same 2 rows are returned (which is false)
SELECT id, name, value of CODES whose name in ('NY', THE ') and value in ('044 ', ' 444')
-See the code std 444.
My requirement is that the above query should return to the line for NY.
My question is: how to match multiple names strictly with its appropriate values... ? That is to say, unless '040' is specified in the part 'value', the corresponding line in 'LA' should not be returned...
I feel, nor the case AND neither the case of GOLD can be used in Where clause to check these 4 values.
Any ideas... ? Can you please let me know... ?
Thank you
REDAas:
select id, name, value from CODES where (name, value) in (('NY', '044'), ('LA', '040'))
Published by: Lacotte Renaud on February 16, 2010 10:35
-
Query to find which roles have access to which areas of activity
I am looking for a way to find a list of all the industries of discoverer with which roles have access to the BA. Is there a query I can run to find out easily?
I use Discoverer 10 g. I searched the forums but did not find an example of this. My apologies in advance if this has already been covered.
Thank youHello
If the EUL is a mode of apps (EBS) EUL then the column eu_username the apps or apps resp. user id. If you want to view only the responsibilities and convert these ID names, then you must use the EUL5_GET_APPS_USERRESP function like this:
select ba_name, ba_developer_key, EUL5_GET_APPS_USERRESP(eu.eu_username, 'R') responsibility_name from eul5_bas ba , eul5_access_privs ap , eul5_eul_users eu where ba.ba_id = ap.gba_ba_id and ap.ap_type = 'GBA' and ap.ap_eu_id = eu.eu_id and eu.eu_role_flag=1 order by 1,2,3
Rod West
-
How to store the result of a query in a variable in the data model
In a model of date I want to do something like this
< name of dataTemplate = than one dataSourceRef "HURDetail" = "BRM_DATA_SOURCE" >
< Parameters >
< parameter name = "PARAM_THRESHOLD_VALUE" dataType = "number", defaultValue = "0" / >
< / Parameter >
< SQLStatement instance name = "Q1" >
<! [CDATA]
SELECT count (*) FROM TABLE_NAME
[]] >
< / sqlStatement >
-I want to assign the output of the above query to PARAM_THRESHOLD_VALUE so I can use it in future requests...
-My query is complex, for reason of performance I want to store the output of the query.
Please suggest how do...
Made a package with the PARAM_THRESHOLD_VALUE parameter and the function value entry assigns the done variable to work?
Thank you
ShivaHey Shiva,
If you want to use the value of the counter in the other queries in the data model, you can have an alias for the extraction of County and use it as a bind variable in other queries as
SELECT count (*) PARAM_THRESHOLD_VALUE
FROM TABLE_NAME
]]>
and can use it in another query as
SELECT XYZ
FROM TABLE_NAME2
WHERE XXX = *: PARAM_THRESHOLD_VALUE *.
]]>
Hope this is what you want.
Thank you. -
How to get the result using this query?
Hi using iam under query,
WITH CTE (SNO, ID, PNT)
AS
(SELECT ROWNUM as SNO, TRANS_ID, VCN_NO OF)
SELECT V.TRANS_ID, V.VCN_NO IN VSL_MOVES V
WHERE V.END_TIME > = TRUNC (TO_DATE (: pStartDate, ' dd/MM/yy HH24')) AND V.END_TIME < = TRUNC (TO_DATE (: pEndDate, ' dd/MM/yy HH24'))
AND V.MOVEMENT_TYPE_CODE NOT IN ORDER ("ATA") OF V.VCN_NO, V.END_TIME))
SELECT ROWNUM as SNO, TAB. VESSEL_NAME, TAB. FLAG, TAB. IMO_NO, TAB. ARRIVED_DATE, TAB. F_ROM,
NVL ((SELECT CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'ATS' THEN (SELECT TO_CHAR (NBV. ATD, "DD/MM/YYYY HH24") OF PNTS WHERE NBV. DOC_NO = TAB. VCN_NO AND ROWNUM < = 1) WHEN VMS. MOVEMENT_TYPE_CODE = 'ATB' THEN (SELECT TO_CHAR (VBU. BRTH_ALL_FAST, "DD/MM/YYYY HH24") OF VSL_BERTH_UNBERTH VBU WHERE VBU. BERTH_TRANS_ID = VMS. TRANS_ID AND ROWNUM < = 1) END ELSE NULL VSL_MOVES VMS WHERE VMS. TRANS_ID = TAB. (T_ID),'-') Sailed_Date,.
NVL ((SELECT CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'ATS' THEN (SELECT P.PORT_NAME OF RRS, PORT_MASTER P WHERE P.PORT_CODE = PNT. VSL_NXT_PRT_CALL AND PNT. DOC_NO = TAB. VCN_NO) WHEN VMS. MOVEMENT_TYPE_CODE = 'ATB' THEN (SELECT CASE WHEN VBU. BERTH_CODE LIKE "% VOPK" AND THEN "VOPAK" WHAT VBU. BERTH_CODE AS "VSPM %" THEN "VOPAK" ELSE "POF" VBU VSL_BERTH_UNBERTH END WHERE VBU. BERTH_TRANS_ID = VMS. TRANS_ID AND ROWNUM < = 1) END ELSE NULL VSL_MOVES VMS WHERE VMS. TRANS_ID = TAB. (T_ID), "-") DESTINATION
DE)
SELECT
VM. TRANS_ID,
VM. VCN_NO,
VM. MOVEMENT_TYPE_CODE,
(SELECT PNT. VSL_NAME OF PNTS WHERE NBV. DOC_NO = VM. VCN_NO AND ROWNUM < = 1) VESSEL_NAME;
(SELECT C.COUNTRY_NAME OF COUNTRY C, VESSEL_MASTER M WHERE C.COUNTRY_CODE = M.FLAG AND M.VSL_CODE = VM. VSL_CODE AND ROWNUM < = 1) AS FLAG,.
(SELECT M.VSL_IMO_NO FROM VESSEL_MASTER M WHERE M.VSL_CODE = VM. VSL_CODE AND ROWNUM < = 1) IMO_NO;
TO_CHAR (VM. END_TIME, "DD/MM/YYYY HH24") ARRIVED_DATE,.
WHEN VM BOX. MOVEMENT_TYPE_CODE = 'STA' THEN (SELECT P.PORT_NAME FROM RRS, PORT_MASTER P WHERE P.PORT_CODE = PNT. LST_PORT_CALL AND PNT. DOC_NO = VM. VCN_NO AND ROWNUM < = 1) WHEN VM. MOVEMENT_TYPE_CODE = 'UTA' THEN (SELECT VB. VSL_BERTH_UNBERTH VB BERTH_CODE WHERE VB. UNBERTH_TRANS_ID = VM. TRANS_ID AND ROWNUM < = 1) END F_ROM.
--(SELECT T2.ID DELE DE CTE T1 JOIN CTE T2 SUR T1.) SNO = T2. SNO + 1 WHERE T1.ID = VM. TRANS_ID AND T1. NBV = VM. VCN_NO AND T2. NBV = VM. ATD VCN_NO)
(SELECT T1.ID CTE T1 WHERE SNO = (SELECT T2. SNO + 1 ETC T2 WHERE T2.ID = VM. TRANS_ID AND T2. NBV = VM. T_ID VCN_NO))
OF VSL_MOVES VM
WHERE (VM. End_time > = TRUNC (TO_DATE (: pStartDate, ' dd/MM/yy HH24')) AND VM. End_time < = TRUNC (TO_DATE (: pEndDate, ' dd/MM/yy HH24')) or
((CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'ATS' THEN (SELECT TO_CHAR (NBV. ATD, "DD/MM/YYYY HH24") OF PNTS WHERE NBV. DOC_NO = TAB. VCN_NO AND ROWNUM < = 1) WHEN VMS. MOVEMENT_TYPE_CODE = 'ATB' THEN (SELECT TO_CHAR (VBU. BRTH_ALL_FAST, "DD/MM/YYYY HH24") OF VSL_BERTH_UNBERTH VBU WHERE VBU. BERTH_TRANS_ID = VMS. TRANS_ID AND ROWNUM < = 1) END ELSE NULL VSL_MOVES VMS WHERE VMS. TRANS_ID = TAB. Saileddate T_ID)) > = TRUNC (TO_DATE (: pStartDate, ' dd/MM/yy HH24')) and
(CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'ATS' THEN (SELECT TO_CHAR (NBV. ATD, "DD/MM/YYYY HH24") OF PNTS WHERE NBV. DOC_NO = TAB. VCN_NO AND ROWNUM < = 1) WHEN VMS. MOVEMENT_TYPE_CODE = 'ATB' THEN (SELECT TO_CHAR (VBU. BRTH_ALL_FAST, "DD/MM/YYYY HH24") OF VSL_BERTH_UNBERTH VBU WHERE VBU. BERTH_TRANS_ID = VMS. TRANS_ID AND ROWNUM < = 1) END ELSE NULL VSL_MOVES VMS WHERE VMS. TRANS_ID = TAB. T_ID) saileddate) < = TRUNC (TO_DATE (: pEndDate, ' dd/MM/yy HH24')))
--(Sailed_Date > = TRUNC (TO_DATE (: pStartDate, ' dd/MM/yy HH24 ')) AND Sailed_Date < = TRUNC (TO_DATE (: pEndDate, ' dd/MM/yy HH24')))
AND VM. MOVEMENT_TYPE_CODE IN ('STA', "UTA")
) TAB
now my Question is should I include Sailed date also starttime and endtime (ex: date range of pStartDate and pEndDate I need to display the date sailed respected records)
I mean the problem is solved, I found the solution
docks of pof-
WITH CTE (SL, VCN_NO, VESSEL_NAME, FLAG, IMO_NO, ARRIVED, FROM_, MOVEMENT_TYPE_, NEXT_MOVE, SAILED_DATE, DESTINATION, FID, TID)
AS
(SELECT T1.*,
WHEN T1 BOX. FROM_ = 'POF' THEN 1 OTHER 2 END FID,
WHEN T1 BOX. DESTINATION = "POF" THEN 1 OTHER 2 END TID
Of
(
SELECT ROW_NUMBER() OVER (PARTITION OF VM. VCN_NO ORDER BY VB. (SL BRTH_ALL_FAST),
VM. VCN_NO,
(SELECT M.VSL_NAME FROM VESSEL_MASTER M WHERE M.VSL_CODE = VM. VESSEL_NAME VSL_CODE),
(SELECT C.COUNTRY_NAME OF COUNTRY C, VESSEL_MASTER M WHERE C.COUNTRY_CODE = M.FLAG AND M.VSL_CODE = VM. VSL_CODE AND ROWNUM< =1="" )="" as="">
(SELECT M.VSL_IMO_NO FROM VESSEL_MASTER M WHERE M.VSL_CODE = VM. IMO_NO VSL_CODE),
VB. BRTH_ALL_FAST HAS ARRIVED,
(CASE WHEN VM. MOVEMENT_TYPE_CODE = 'ATB' THEN 'ANCHORAGE' WHAT VM. MOVEMENT_TYPE_CODE = "LTB" THEN 'LAND' WHEN VM. MOVEMENT_TYPE_CODE = "BTB" AND (SELECT TT1. VSL_MOVES TT, VSL_BERTH_UNBERTH TT1 BERTH_CODE WHERE TT. TRANS_ID = TT1. BERTH_TRANS_ID AND TT. VCN_NO = VM. VCN_NO AND TT1. UNBERTH_TRANS_ID = VB. BERTH_TRANS_ID) (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE NOT IN ("VOPAK", "SPM")) THEN 'POF' WHEN VM. MOVEMENT_TYPE_CODE = "BTB" AND (SELECT TT1. VSL_MOVES TT, VSL_BERTH_UNBERTH TT1 BERTH_CODE WHERE TT. TRANS_ID = TT1. BERTH_TRANS_ID AND TT. VCN_NO = VM. VCN_NO AND TT1. UNBERTH_TRANS_ID = VB. BERTH_TRANS_ID) (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE IN ("VOPAK", "SPM")) THEN "VOPAK" OTHER (SELECT P.PORT_NAME FROM RRS, P PORT_MASTER WHERE P.PORT_CODE = PNT. LST_PORT_CALL AND PNT. DOC_NO = VM. FROM_ VCN_NO END)).
VM. MOVEMENT_TYPE_CODE,
(SELECT THE VIRTUAL COMPUTERS. VSL_MOVES VMS MOVEMENT_TYPE_CODE WHERE VMS. TRANS_ID = VB. NEXT_MOVE UNBERTH_TRANS_ID),
VB. UB_LST_LNE_CASTOFF SAILED_DATE,
NVL ((SELECT CASE WHEN VMS. MOVEMENT_TYPE_CODE = 'UTA' THEN 'ANCHORAGE' WHAT VMS. MOVEMENT_TYPE_CODE = 'BTL' THEN 'LAND' WHEN VMS. MOVEMENT_TYPE_CODE = "UTS" THEN (SELECT P.PORT_NAME FROM RRS, PORT_MASTER P WHERE P.PORT_CODE = PNT. VSL_NXT_PRT_CALL AND PNT. DOC_NO = VMS. VCN_NO) WHEN VMS. MOVEMENT_TYPE_CODE = "BTB" AND (SELECT TT1. VSL_MOVES TT, VSL_BERTH_UNBERTH TT1 BERTH_CODE WHERE TT. TRANS_ID = TT1. BERTH_TRANS_ID AND TT. VCN_NO = VM. VCN_NO AND TT1. BERTH_TRANS_ID = VMS. TRANS_ID) (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE NOT IN ("VOPAK", "SPM")) THEN 'POF' WHEN VMS. MOVEMENT_TYPE_CODE = "BTB" AND (SELECT TT1. VSL_MOVES TT, VSL_BERTH_UNBERTH TT1 BERTH_CODE WHERE TT. TRANS_ID = TT1. BERTH_TRANS_ID AND TT. VCN_NO = VM. VCN_NO AND TT1. BERTH_TRANS_ID = VMS. TRANS_ID) (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE IN ("VOPAK", "SPM")) THEN "VOPAK" OTHERWISE NULL END VSL_MOVES VMS WHERE VB. UNBERTH_TRANS_ID = VMS. (TRANS_ID), "-") DESTINATION
OF VM, VSL_BERTH_UNBERTH VB VSL_MOVES WHERE (VM. TRANS_ID = VB. BERTH_TRANS_ID)
AND VM. MOVEMENT_TYPE_CODE LIKE '% TB '.
AND ((VB. BRTH_ALL_FAST > = TO_TIMESTAMP(:pStartDate,'DD/MM/YYYY HH24:MI') AND VB. BRTH_ALL_FAST<= to_timestamp(:penddate,'dd/mm/yyyy="">=>
OR (VB. UB_LST_LNE_CASTOFF > = TO_TIMESTAMP(:pStartDate,'DD/MM/YYYY HH24:MI') AND VB. UB_LST_LNE_CASTOFF<= to_timestamp(:penddate,'dd/mm/yyyy="" hh24:mi'))="">=>
AND VB. BERTH_CODE (SELECT WB. BERTH_MASTER BM BERTH_CODE WHERE BM. QUAY_CODE NOT IN ("VOPAK", "SPM"))
- AND VM. VCN_NO = 201510336
ORDER OF VB. BRTH_ALL_FAST
) T1
)
Select rownum AS SNO, tab2.* of)
SELECT
TAB1. VCN_NO, TAB1. VESSEL_NAME, TAB1. FLAG, TAB1. IMO_NO,
NVL (BOX WHEN TAB1. HAS ARRIVED< to_timestamp(:pstartdate,'dd/mm/yyyy="" hh24:mi')="" then="" '----------'="" else="" to_char(tab1.arrived,'dd/mm/yyyy="" hh24:mi')="" end,'----------')="">
NVL (BOX WHEN TAB1. HAS ARRIVED< to_timestamp(:pstartdate,'dd/mm/yyyy="" hh24:mi')="" then="" '----------'="" else="" (select="" t2.from_="" from="" cte="" t2="" where="" t2.sl="TAB1.FROM_" and="" t2.vcn_no="TAB1.VCN_NO)" end,'----------'="">
NVL (CASE WHEN (SELECT T2. DESTINATION OF THE CTE T2 WHERE T2.SL = TAB1. DEST AND T2. VCN_NO = TAB1. VCN_NO) = 'POF' THEN '-' ANOTHER BOX WHEN TAB1. SAILED_DATE > TO_TIMESTAMP (: pEndDate, ' DD/MM/YYYY HH24') THEN '-' ELSE TO_CHAR (TAB1. (SAILED_DATE, "DD/MM/YYYY HH24") A PIECE,'-') SAILED_DATE,.
NVL (BOX WHEN TAB1. SAILED_DATE > TO_TIMESTAMP (: pEndDate, ' DD/MM/YYYY HH24') THEN '-' ELSE (SELECT CASE WHEN T2. DESTINATION = 'POF' THEN '-' ANOTHER T2. THE END OF THE DESTINATION OF THE CTE T2 WHERE T2.SL = TAB1. DEST AND T2. VCN_NO = TAB1. (END OF VCN_NO), "-") DESTINATION
DE)
SELECT THE TAB. VCN_NO, TAB. VESSEL_NAME, TAB. FLAG, TAB. IMO_NO,
MIN (TAB. HAPPENED) ARRIVED,
MIN (TAB.SL) FROM_,
MAX (TAB. SAILED_DATE SAILED_DATE),
MAX (TAB.SL) DEST,
TAB. SNO
DE)
SELECT T1.*,
WHEN T1 BOX. FID = 2 AND T1. TID = 1 THEN 1 WHEN T1. FID = 1 AND T1. TID = 2 THEN 1 WHEN T1. FID = 1 AND T1. TID = 1 THEN 0
WHEN T1. FID = 2 AND T1. TID = ROWNUM THEN 2 + 1 END OF ANOTHER 3 SNO
T1 ETC
) GROUP OF TABS BY TABS. VCN_NO, TAB. VESSEL_NAME, TAB. FLAG, TAB. IMO_NO, TAB. SNO
) TAB1 WHERE TAB1. SNO<>0
) tab2
-
I'm looking to have an input field with the search button, search button click the search button below the search results to display. How can I do?
Hello
998765 wrote:
You are right
Please pass by the database 2 day + Application Express Developer's Guide
Check this code example
1 create a text field element I say P1_INPUT_FIELD
2. create a button
Name of the button: search
Action: Send the page
3. change your report query and where clause to your query below
It will search on ename and empno, in this way, you can add more columns
SELECT EMPNO , ENAME , SAL , MGR , COMM FROM EMP WHERE TRIM(UPPER(ENAME)) like '%' || TRIM(UPPER(:P1_INPUT_FIELD)) || '%' OR TRIM(UPPER(EMPNO)) like '%' || TRIM(UPPER(:P1_INPUT_FIELD)) || '%'
4. we find the source of the region-> page article to submit-> P1_INPUT_FIELD
Hope this helps you,
Kind regards
Jitendra
-
Need to print the results of a query in a CASE statement
I want to print the results of a query in a CASE statement:
SELECT RUN_STATUS
Of
(select check BOX WHEN COUNT (ROW_WID) = 0 THEN 'NO JOBS RAN AFTER' |) (select sysdate - XXAFL_MINUTES MINUTE)
END RUN_STATUS
of W_ETL_RUN_SDTL
where START_TS >
(sélectionnez sysdate-MINUTES de XXAFL_MINUTES)) where RUN_STATUS is not null; e
The query above subtracted 5 minutes from SYSDATE and he shoots XXAFL_MINUTES. I am doing this because we could change the number of minutes in the future. I want to print the number of minutes in the case statement.
If I execute this statement, it throws an error stating:
ORA-00937: not a single group group function
00937 00000 - 'not a single-group function.
* Cause:
* Action:
Error on line: 1 column: 96
How can I include "select sysdate - MINUTES of XXAFL_MINUTES" in the CASE that it calculates the number of minutes and it prints with the results.
Thanks in advance!
Hey guys,.
I found the solution:
SELECT
RUN_STATUS | TO_CHAR ((sélectionnez sysdate-MINUTES de XXAFL_MINUTES), 'HH24:MI:SS')
Of
(select check BOX WHEN COUNT (ROW_WID) = 0
THEN "NO JOB RAN.
END RUN_STATUS
of W_ETL_RUN_SDTL
where
START_TS > (select sysdate - XXAFL_MINUTES MINUTE))
where
RUN_STATUS is not null;
The output:
NO JOBS RAN AFTER 09:07:54
Thanks to you all!
-
How can I create a query with the data control to the web service?
I need to create a query with the order of web service data, WSDL, it is query operation, there is a message of parameter with possible query criteria and a return message contains the results. I googled but can't find anything on the query with the web service. I can't find a criterion "named" to the data control of web service as normal data control. Blog of Shay, I saw the topics on the update with the data of web service command. How can I create a query with the data control to the web service? Thank you.Hello
This might help
* 054. Search form using control data WS ADF and complex of entry types *.
http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html
-
In the bar when I write sth for example to address: "soccer", it leads to search results from yahoo. How do I will change it give me the results of google search?
Hi vavamvak,
You should take a look at article in the database Search the Web from the address bar . It will show you how to change the default address bar search provider.
Hope this helps!
-
How to use a parameter query to select and display the data in the table of the façade
Hiiiiii
I am using Access 2007 database
I want to select the specific data in the database using control of the chain as 'select product, size, weight of ProductInfo where barcode (chain control) =?' and also display the same table of façade.I use the connected database toolkit.
I saw the example of the parameterized insert, but it did not help to use parameterized select query, as well as to display data of parameterized select query.I looked for example on parameterized select query, but I don't have any.
So pls guide me how to do this. I would like to know the other method (if any) that the use of parameter query to perform the same thing.
If possble pls share a vi reference.
Thank you!!!HII szewczak
Thanks for the reply
but I did not getsolution in one of your shared links
My problem is solved. There is no need to use the parameter query to select control values
In my case I want to display data from database where bar code is even entered by the user
I use the data function DB TOOL CHOOSE and create the condition of chain based on concatenation of strings -
Dear all,
I have a windows 2003 server and I have a domain controlor.
I have win xp use in this field, the account type for these users are not administrator users and restricted users.
When I need to install a program in any of these workstations, I need to disconnect the user restucted and the journal as an administrator user. When installation is finished, I can run this program from the administrator user but when I closing session and connection for users user restruct I can not run this program and an error.
My question is: How can I use this program with the user of gods?
Thank you
You would be better that tag on your workstation
Windows Server - how to configure the group policy in windows server 2003 to remove the start in the start menu to xp pro user Expert MowGreen Windows IT Pro - consumer safety -
How to restrict the running command prompt?
How to restrict the running command prompt?
I already know the method: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System DisableCMD: 2
but, but, it is possible to change reactivate cmd used much the system tool software
So I want to deny the change of registry value by the software used, I changed all permissions to the registry [System] refusal keys with my account.
but after a modified registry key permissions denied, disableCmd was inactivated more.
It is impossible that the two parameter [disablecmd: dword = 2] and [{System} lock keys: administrator of the deny all permissions in my account]?
This issue is beyond the scope of this site which is for the consumer to related issues.To ensure that you get a proper answer, ask either on the Technet site, if it is a type of Pro problem, or MSDN if it's related to the developer -
Hi all
How can we limit and end user of "droping a table."
For example: I created an array of login admin and gave access to "SQL workshop" for the end user. but after that I have created a table, the end user cannot access object browser shop and drop a table. one thing we can do does not have access to the SQL workshop. However, my requirement is the user needs to access the data workshop, which is located under the SQL workshop but they it should not access the tables.
Kindly let me know how we can do this?
Thank you
Vinod Paparaju
User13309437-Oracle wrote:
Please update your forum profile with a recognizable username instead of "User13309437": Video tutorial how to change username available
Always include the information referred to in these guidelines when you post a question: How to get the answers from the forum
How can we limit and end user of "droping a table."
For example: I created an array of login admin and gave access to "SQL workshop" for the end user. but after that I have created a table, the end user cannot access object browser shop and drop a table. one thing we can do does not have access to the SQL workshop. However, my requirement is the user needs to access the data workshop, which is located under the SQL workshop but they it should not access the tables.
Kindly let me know how we can do this?
There is no way not to restrict access to individual tools in the workshop of SQL. Rather than give the developer-level end-users to access the SQL workshop, create applications containing data support Wizards, where end-user access can be controlled using the standard APEX authentication and authorization schemas.
Maybe you are looking for
-
How can I clean the bookmarks dropdown?
Over time, I gained a lot of undergrowth and shit in the bookmarks dropdown. I've deleted most. But there are still two problems. (1) < < search | Firefox Help > > lines and there are a lot of them (I don't know why) will not disappear when I right c
-
Hello I was wondering if anyone here could be kind enough to help me solve this situation I have two machines Windows 7 and Server 2008 machines remember preferences of network discovery. I use the software on the windows server that collects data an
-
W4-820 Driver Package installs
I just got my W4 yesterday. I followed the instructions on the acer support page by entering my SN and SNID (two separate attempts). The driver package showed and I downloaded it, but when I tried to install it says it wasn't the right driver for m
-
Vista backup care contains only the catalog files
I got Windows Vista the value to automatically save to a network drive. I haven't used the computer for a couple of years, so he sat and the laptop battery has been cut. I discovered more of my photo on my new computer files are missing and I tried
-
Hard drive failure, had to reinstall Windows. Among other random things that are annoying, I noticed that Vista wonder is no longer for what kind of network, I connect to. I fear it may default to private even if I connect to a public network. How