Restrict other Tables
Hi to all
i have two tables... employees and admin... In admin rows "users" if they enter the system they can enter all .. but when employees enter the system they can't enter reports.. The prob is ,it is possible to restrict employees , that coudn't enter in report when the employees rows "Users" enter the system.. anyone here know ..?
Yes in oracle fine grained access control is possible. You can restrict to user to see data only. Even you can allow to see only limited column data only by creating the view on few of the table columns and granting the permission on that view to other.
You can give update permission to other. you can give table alter permission.
This can be done through grant commands in oracle.
eg. user A and user B
user A contains table emp
desc emp
emp_nm varchar2(10),
emp_id number(4),
dept_no number(2),
add varchar2(50)
If you don't give any grant on this table emp to B user he will not be able to do any access this table.
By command "Grant select on emp to B' the user b will be able to see the emp table data only.
You can give update,alter table permission to B user as given bellow
Grant update on emp to B
Grant alter on emp to B
Even you can ristict B to see only few columns of emp table creating view
create view test_view as select emp_nm,emp_id from emp;
Then grant select on test_view to B;
Similar Messages
-
How we can restrict record in CTL file on the basis of other table ?
Hello all,
How we can restrict record in CTL file on the basis of other table ?
Eg.
I have following control file to load the records in the table through the sql loader.
LOAD DATA
INTO TABLE THIST APPEND
FIELDS TERMINATED BY "|" TRAILING NULLCOLS
LNUM POSITION(1) Char "substr(:LOAN_NUM, 4, 13)",
TSRNUM Char "rtrim:TRAN_SR_NUM)" ,
TPROCDT Char "to_char(to_date rtrim:TRAN_PROC_DT), 'MMDDYYYY'), 'YYYYMMDD')"
I have another table c all TFILE in which I have LNUM. I want to import only those records from input text file using the control file and sql loader in which LNUM is exist in the TFILE.
So how i can restrict it in the Control File.
Thanks
Kamlesh Gujarathi
[email protected]Hello Satyaki De.
Thank you very much for your suggestion but my Private information is totally apart from this question & I already I have changed each and every information from the question.
Thanks
Kamlesh Gujarathi
[email protected] -
Hello,
We mentioned the environment details below:
Environment
In our PBX environment, currently a user can forward calls to any local (within a region) internal extension. But for external PSTN call forwarding, a user needs to send a request and be approved by their manager. And the forwarding restriction
is applied such that user is only allowed to forward to that particular PSTN number - to prevent toll fraud.
Moving forward to Lync, using voice policy's call forwarding and simultaneous ring PSTN usages, I can set it to allow forward and simultaneous ring to custom PSTN usage and a custom route that will only send calls to these pre-approved
external numbers.
Outcome
But in such a scenario,
sSince all the custom external allowed numbers will have to be put into a single Route match table, User A will be able to successfully
set up call forward to User B's number. (if they come to know about it somehow, that is)
rü
Route matching list will be very long due to the number of users per hubsite that has call forwarding enabled.
Questions
Is there any other way to achieve per user call forward restriction other than to create multiple voice policies ? MSPL may be ?
2. Is there a limit in the number of entries you can have on the Route pattern matching regex expression ?
Please advise. MANY THANKS.1) I think multiple policies may be your best bet, though it's not a fun one to manage, I agree. MSPL could do it, but it would be more complex to maintain in the end. Even gateways have limitations on routes.
2) I'm not aware of a limit, though I'm not saying there's isn't one. But if you hit it, you could move to a second usage/route combo.
I'd suggest building out some PowerShell usage/route creation/organization script for this so it's not something that would need to be maintained within the GUI.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications
This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Hi
Could you pls tell me How to restrict HR tables in S_TABU_DIS and display all other
thanks in AdvanceHi Prasad,
As I said, identify all the authorisation groups placed on the HR tables and make sure that these are <i>not</i> included in S_TABU_DIS for the normal users.
Your HR team will tell you exactly which tables contain sensitive data. All the tables that don't have an authorisation group assigned to them (you can see this in table TDDAT) should have an authorisation group assigned against them. Not all HR tables are just in the H* and P* name spaces so you need to get the input from someone who properly understands the tables (you may be able to find a list somewhere here: SAP ERP Human Capital Management (SAP ERP HCM))
This way you can split table access between Non-HR (They don't have any HR relevant table auth groups in S_TABU_DIS field DICBERCLES) and HR (They have access to the restricted auth groups).
It's not a straightforward piece of work as access to tables via SE16 etc (I assume that's why you need to protect the data) is not designed for granular access without a considerable amount of additional work being involved.
I hope that answers your question -
Restricting certain tables from being viewed
Post Author: Adam00
CA Forum: Data Connectivity and SQL
Hello, I need assistance with restricting some tables within Crystal.I have an SQL database with multiple tables, some of which we do not want to be seen through Crystal reports as they contain sensitive information. Is there a way in which to exclude a table or two from the crystal database view???? Thanking you in advance.Post Author: V361
CA Forum: Data Connectivity and SQL
Try this, file, options, database, in the data explorer there is a table name like, owner like box. Try excluding them there... I pulled this from the help section
Table name LIKE
This box allows you to enter the SQL LIKE function to specify the kinds of table names you want to appear in the Database Expert. You can use the underscore character (_) and the percent sign character (%) as wildcards with this function. The underscore character specifies any single character, and while the percent sign signifies any character string. For example, DAV_ matches DAVE only, while DAV% matches both DAVE and DAVID. Table name Like C% would display only those tables that have a table name beginning with the letter C.
Owner LIKE
This box works exactly like the Table name Like box except that the LIKE function here is used to select the Owner (or Creator or Alias) of the table, not the table name itself. For example, Owner Like C% would display only those tables that have an owner beginning with the letter C. -
Displaying filed value or other table filed in ALV output table
Hi,
I have a vendor leadger report displaying vendor balance statement witj all line item details, all data is present in One final table this final table i hvae shown in output but along with this in the first line in output i want to display openig balance of that vendor and in the last line i want to display closing balance of that vendor in the period for opening balance and closing balabce i have that amount in the diffrent tables or fileds how to display that amount in output along with my Final table .
regards,
zafarhi ,
Do this way
1) get the opening balance
2) append that line to final table
3) then append data from other table in final table where data for all line item
4) then again get closing balance
5) append that data in final table and you will get first line as opening balance ,then middle data and last closing data .
regards
Deepak . -
How to Restore deleted records in other table in oracle database 10g...
Hi All,
i want to restore deleted records of a particular table in other table
suppose:
i perform a query
delete from emp
where deptno =30;
now i wont to restore deptno=30 records in other table, let say in emp1 table
can any one let me know how to do it?
Thanks..This is what flashback query is for:
orclz> conn scott/tiger
Connected.
orclz> select count(*) from emp;
COUNT(*)
14
orclz> delete from emp where deptno=30;
6 rows deleted.
orclz> commit;
Commit complete.
orclz> create table deleted30 as select * from emp as of timestamp(systimestamp - 5/1440) where deptno=30;
Table created.
orclz> select count(*) from deleted30;
COUNT(*)
6
orclz> -
Table referenced by more than one other table
I'm no DBA so I was wondering if you could answer this fairly basic question. If I have a table that references more than 1 other table. For example Order links to a customer or Order can link to an Employee how would I represent that in the data model?
I'm guessing I could have the Order table have both an Employee ID and a Customer ID columns and null one or the other out depending on whether it was linked to an Employee or Customer but that seems a bit redundant in that there would always be at least one column being null.
Perhaps I could use table inheritance and just add the relevant foreign key col on the inherited tables but I'm fairly sure you can't have abstract tables.
Thanks for the help.For example:
table a = Primary_key1, col2, col3
table b = Primary_key1, primary_key2, col3
table c = Primary_key2, col2
To join all this tables you must do something like this:
select ....
from tablea,tableb,tablec
where tablea.Primary_key1=tableb.primary_key1 and
tableb.Primary_key2=tablec.primary2; -
How to populate rows from another table in new blank rows of other table
I have to convert an oracle form 6i to Jdeveloper application. In forms 6i we use create a cursor for other table and then populate the current table data block row using create record and assigning its values from cursor and then issuing next record until all cursor records are written in data block. After some manual editing we save the whole form and then all block records are saved as new rows in table.
Now how to create this functionality in jdeveloper application.
Kindly help.two steps-
1. get row from first VO.iterate them - like below -
DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding dcIteratorBindings = bindings.findIteratorBinding("ViewObj1Iterator");
HSSFRow excelrow = null;
// Get all the rows of a iterator
oracle.jbo.Row[] rows = dcIteratorBindings.getAllRowsInRange();
int i = 0;
for (oracle.jbo.Row row : rows) {
row.getAttribute(colName).toString()); // by this you can get row attribute value..
2. inside iteration create row for VO 2 for example-
ViewObject employee= findViewObject("EmployeeVO");
// Create a row and fill in the columns.
Row row = employee.createRow();
row.setAttribute("Name", "Vinay");
row.setAttribute("EmpId", 1);
//Insert row in to the default row set
employee.insertRow(row);
Read more: http://www.techartifact.com/blogs/2012/12/creating-new-row-of-view-object-in-adf-techartifact.html#ixzz2iL978UOD
http://www.techartifact.com/blogs/2012/12/creating-new-row-of-view-object-in-adf-techartifact.html -
Help on triggers needed-update other tables
Hi,
I am using 10g and is very new to triggers and I hope I can gain some advises here.
I have the following 3 tables. MainInterfaceTable is a table where it stores records of values which are to be updated to tables: log1 and log2 respectively. One application will insert record into MainInterfaceTable and the inserted record contains only values for columns which are to be updated into tables: log1 and log2 respectively. Columns which contain null values are not to be updated into log1 and log2 tables.
I can only think of using many "if" statements in my trigger to concatenate the UPDATE DML to update log1 and log2 tables. But if the MainInterfaceTable table contains many columns, it is not very efficient. {color:#800080}Is there any built in oracle functions or a more efficient to perform this task??{color}
{color:#800080}Any advises are greaatly appreciated. Thanks{color}
For E.g. In the below MainInterfaceTable record, I only update table log1 with txt1A column values. And update log2 table with col1 and col2B column values.
Column Values
txt1 null
txt1A 6
txt1B null
col1 ‘new orders'
col2A null
col2B ‘new purchase'
------------------------------my trigger -------------------------------------
CREATE TRIGGER TRG_MainInterfaceTable
AFTER INSERT ON MainInterfaceTable
FOR EACH ROW
DECLARE
sqlStmt VARCHAR2(2000); -- the SQL statement
BEGIN
sqlStmt := 'UPDATE log1 a SET 1=1 ';
if :*new*.txt1 is not null then
sqlStmt := sqlStmt || ' ,a.txt1 = ' || :*new*.txt1;
END IF
if :*new*.txt1A is not null then
sqlStmt := sqlStmt || ' ,a.txt1A = ' || :*new*.txt1A;
END IF
if :*new*.txt1B is not null then
sqlStmt := sqlStmt || ' ,a.txt1B = ' || :*new*.txt1B;
END IF
prc_run_update_sql_log1(sqlStmt);
------repeat more IF THEN for other tables
EXCEPTION
WHEN
-- exception handling
end TRG_MainInterfaceTable
--------------------------------------Table Structure------------------------------------------------------------------
create table MainInterfaceTable (
statuscol char(1),
txt1 varchar2(20),
txt1A number(6),
txt1B varchar2(20),
col1 varchar2(20),
col2A number(6),
col2B varchar2(20),
create table log1 (
txt1 varchar2(20),
txt1A number(6),
txt1B varchar2(20),
create table log2 (
col1 varchar2(20),
col2A number(6),
col2B varchar2(20),Thanks. I put the IF ELSE.. into a function and my codes looks neater. However I encounter a error when i try to pass in a DATE value.
ORA_06502 numeric or value error: host bind array too small
The error occur at the line in bold .
I try to run
Select TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI') from dual
in PL/SQL screen and it works.
Why the same TO_CHAR() syntax doesn't work in a function????
FUNCTION concatupdatequery(pVal IN DATE, pCol IN VARCHAR2, pSql IN VARCHAR2) RETURN VARCHAR2 IS
lvQueryStr VARCHAR2(30000);
lvTempDate VARCHAR2(100);
BEGIN
lvQueryStr := pSql;
IF pVal IS NOT NULL THEN
dbms_output.put_line('pVal = ' || pVal);
lvTempDate := TO_CHAR(pVal, 'DD-MON-YYYY HH24:MI:SS');
lvQueryStr:=pSql||','||pCol||'=TO_DATE('''||lvTempDate||''',''DD-MON-YYYY HH24:MI'')'; -- DATE data type
dbms_output.put_line('lvTempDate = ' || lvTempDate);
END IF;
RETURN lvQueryStr;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('concatupdatequery (DATE) :pCol:'||pCol||' ,pVal:'||pVal||' ,pSql:'||pSql);
dbms_output.put_line(SQLCODE||' - '||SQLERRM);
RAISE;
END concatupdatequery; -
Delete a user from a table whose name is a foreign key in other tables
Dear All;
I am trying to figure out an easy way to do this. I just recently took someone application who utilized 500 tables. I am trying to delete a user from a table called member_table. However, I am having problems doing so because the user name is a foreign key in other tables which has a relationship with this member_table. I really can't naviagte through all 500 different tables and start deleting the user from each table . hence, I would like to figure out a way to delete the user from the member_table without getting the error message
ORA - 02292 "Integrity Constraint (....) violated child record foundUnless you want to find and re-create all of the FK's that point to that field so you can make them ON DELETE CASCADE (note it is the FK not the PK that has that attribute), you will need to either delete that member id from each of the child tables individually or update each one individually to either null or some valid value in member_table before you can delete the id from member_table.
You can find all of the tables, and the corresponding column_name that have an FK relationship to memeber_table with the following:
SELECT c.table_name, col.column_name
FROM user_constraints c, user_cons_columns col
WHERE c.constraint_name = col.constraint_name and
c.r_constraint_name = (SELECT constraint_name
FROM user_constraints
WHERE table_name = 'MEMBER_TABLE' and
constraint_type = 'P') and
c.constraint_type = 'R';If there are a lot of these, you could use something similar to generate the set of delete/update statements that would be needed.
John -
I want complete control of firefox browser for my computer.
For example:
There is a similar feature in Internet Explorer which is called 'Content Adviser'.
To restrict others for viewing sites through Internet Explorer here is what has to be done:
1. Click to open Internet Explorer.
2. Click the Tools button, and then click Internet Options.
3. Click the Content tab, and then, under Content Advisor, do one of the following:
*Click Enable. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
*If you've previously enabled Content Advisor, click Settings, and then type the supervisor password. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
4. To allow others to view restricted content, click the General tab, and then select the Supervisor can type a password to allow users to view restricted content check box.
5. To allow others to view unrated content, select the Users can see websites that have no rating check box, and click OK.
6. If a supervisor password has not previously been set up for Content Advisor, you will be prompted to create one.Looks like verdana is selected to 'off' in font book. Not sure if this could be the reason as to why i'm experiencing problems.
-
How to track the changes to a table and update the other table ?
Hi Guys,
I am looking to track deletion of entries on KONV table and sync these missing entries in an other table which has primary key entries of KONV.
How to do this.. is ALE change pointer is any good for this purpose ?
Thanks
AJHi Sam,
In order to track the changes in the KONV table, go to table CDHDR and give objectclass and objectid, you will get all the details.
Regards,
ramesh. -
Field != then Insert Into Other Table
Hi,
I cannot figure out how to create a trigger that will insert data based on if a old.field != new.field. If the field was changed in
one table tbl_test then insert that record into the other table tbl_test_history. This is a little different since I want to insert a record if a update
took place. The update will still take place in tbl_test but I want a insert to take place in tbl_test_history.
CREATE OR REPLACE TRIGGER AU_INSERT_TEST_HISTORY
AFTER UPDATE
ON TBL_TEST FOR EACH ROW
WHEN (
OLD.Orange != NEW.Orange
OR OLD.Apple != NEW.Apple
BEGIN
INSERT INTO TBL_TEST_HISTORY
(ORANGE,
APPLE
BANANA,
GRAPE
select ORANGE,
APPLE
BANANA,
GRAPE
FROM TBL_TEST, TBL_TEST_HISTORY
WHERE TBL_TEST.PK_TEST_ID = TBL_TEST_HISTORY.PK_TEST_ID;
END AU_INSERT_TEST_HISTORY;
/I will have a separate trigger that will insert records from tbl_test to tbl_test_history. This trigger compiles with no errors but when I
create a record in tbl_test I receive an error. I am not sure if the syntax is correct, can anyone help me with this?My bad. I put the colon : into the when clause. They weren't there in your code. Usually I use an if condition, which is a little different.
I added some NVL logic to to consider comparison of NULL values too.
CREATE OR REPLACE TRIGGER AU_INSERT_TEST_HISTORY
AFTER UPDATE ON TBL_TEST
FOR EACH ROW
BEGIN
if nvl(:old.ORANGE,'xxx') != nvl(:new.ORANGE,'yyy')
OR nvl(:old.APPLE,'xxx') != nvl(:new.APPLE,'yyy')
then
INSERT INTO TBL_TEST_HISTORY
(ORANGE, APPLE, BANANA, GRAPE)
values (:new.ORANGE,
:new.APPLE,
:new.BANANA,
:new.GRAPE);
end if;
END AU_INSERT_TEST_HISTORY;
/ You can additionally consider to make this trigger an AFTER INSERT OR UPDATE trigger.
Then you would also put the inserted values from the start into your history table.
Edited by: Sven W. on Aug 9, 2012 4:14 PM -
ORA-01417: a table may be outer joined to at most one other table
Hi All,
I want to display the data even if there is no corresposding data in the fac_pos table.
when using outer joins getting error message.
Any work around for this ? Please suggest. :-)
SQL> SELECT case when flen.FPID is not null then
2 'do the calculations here'
3 else
4 'no value in the FAC_POS table so do the ELSE PART'
5 end CASE ,
6 mtf.EXT_FID
7 FROM
8 D_F_MAP MTF,
9 FAC EFAC,
10 TRADING EST,
11 FAC_POS FLEN,
12 USERS_MAP custmap
13 WHERE mtf.SRC_FID = efac.FID (+)
14 AND mtf.SRC_DID = efac.DID (+)
15 AND efac.TFID = est.TFID
16 AND mtf.EXT_FID (+) = flen.FID
17 AND mtf.EXT_DID (+) = flen.DID
18 AND custmap.SRC_CUST_ID = est.SID (+)
19 AND custmap.EXT_CUST_ID = flen.CUSTID (+)
20 and est.TFID =14;
no rows selected
SQL> SELECT case when flen.FPID is not null then
2 'do the calculations here'
3 else
4 'no value in the FAC_POS table so do the ELSE PART'
5 end CASE ,
6 flen.CUSTID FROM TRADING EST, USERS_MAP,FAC_POS FLEN,FAC EFAC, D_F_MAP MTF
7 WHERE
8 EST.SID = USERS_MAP.SRC_CUST_ID (+) AND
9 USERS_MAP.EXT_CUST_ID = flen.CUSTID (+) AND
10 MTF.SRC_DID (+) = EFAC.DID AND
11 MTF.SRC_FID (+) = EFAC.FID AND
12 efac.TFID = est.TFID AND
13 mtf.EXT_FID (+) = flen.FID AND
14 mtf.EXT_DID (+) = flen.DID AND
15 est.TFID =14
16 /
MTF.SRC_FID (+) = EFAC.FID AND
ERROR at line 11:
ORA-01417: a table may be outer joined to at most one other table
create table D_F_MAP
SOURCE VARCHAR2(10) not null,
SRC_DID VARCHAR2(8) not null,
SRC_FID VARCHAR2(10) not null,
EXT_DID VARCHAR2(20),
EXT_FID VARCHAR2(20)
create table FAC
TFID NUMBER,
SRC VARCHAR2(10),
DID NUMBER,
FID NUMBER,
CSAMT NUMBER
create table FAC_POS
FPID NUMBER,
CUSTID NUMBER,
SRC VARCHAR2(10),
DID NUMBER,
FID NUMBER,
SPOS NUMBER
create table PASS_OVER
TFID VARCHAR2(20) not null,
FLG VARCHAR2(1)
create table TRADING
TFID NUMBER not null,
SRC VARCHAR2(10),
TDATE DATE,
BID NUMBER,
SID NUMBER
create table USERS_MAP
SRC_CUST_ID VARCHAR2(8) not null,
EXT_CUST_ID VARCHAR2(20),
SRC VARCHAR2(10) not null
insert into D_F_MAP (SOURCE, SRC_DID, SRC_FID, EXT_DID, EXT_FID)
values ('KP', '854', '7754', '101', '1202');
insert into D_F_MAP (SOURCE, SRC_DID, SRC_FID, EXT_DID, EXT_FID)
values ('KP', '4545', '4444', '504', '1604');
insert into D_F_MAP (SOURCE, SRC_DID, SRC_FID, EXT_DID, EXT_FID)
values ('KP', '7858', '9646', '604', '1705');
insert into D_F_MAP (SOURCE, SRC_DID, SRC_FID, EXT_DID, EXT_FID)
values ('MS', '8799', '4544', '987', '1654');
insert into FAC (TFID, SRC, DID, FID, CSAMT)
values (10, 'KP', 854, 7754, 85000);
insert into FAC (TFID, SRC, DID, FID, CSAMT)
values (11, 'KP', 854, 7754, 44000);
insert into FAC (TFID, SRC, DID, FID, CSAMT)
values (12, 'KP', 4545, 4444, 47000);
insert into FAC (TFID, SRC, DID, FID, CSAMT)
values (13, 'KP', 7858, 9646, 80000);
insert into FAC (TFID, SRC, DID, FID, CSAMT)
values (14, 'MS', 8799, 4544, 60000);
insert into FAC (TFID, SRC, DID, FID, CSAMT)
values (15, 'KP', 854, 7754, 66000);
insert into FAC_POS (FPID, CUSTID, SRC, DID, FID, SPOS)
values (94, 5555, 'EXT', 504, 1604, 6000);
insert into FAC_POS (FPID, CUSTID, SRC, DID, FID, SPOS)
values (90, 1111, 'EXT', 101, 1202, 1000);
insert into FAC_POS (FPID, CUSTID, SRC, DID, FID, SPOS)
values (91, 2222, 'EXT', 302, 3652, 1000);
insert into FAC_POS (FPID, CUSTID, SRC, DID, FID, SPOS)
values (92, 3333, 'EXT', 987, 1654, 6000);
insert into FAC_POS (FPID, CUSTID, SRC, DID, FID, SPOS)
values (93, 4444, 'EXT', 604, 1705, 9000);
insert into TRADING (TFID, SRC, TDATE, BID, SID)
values (10, 'KP', to_date('10-02-2009', 'dd-mm-yyyy'), 1548, 96751);
insert into TRADING (TFID, SRC, TDATE, BID, SID)
values (11, 'KP', to_date('02-02-2009', 'dd-mm-yyyy'), 5468, 7895);
insert into TRADING (TFID, SRC, TDATE, BID, SID)
values (12, 'KP', to_date('20-02-2009', 'dd-mm-yyyy'), 1258, 6985);
insert into TRADING (TFID, SRC, TDATE, BID, SID)
values (13, 'KP', to_date('22-02-2009', 'dd-mm-yyyy'), 5468, 7865);
insert into TRADING (TFID, SRC, TDATE, BID, SID)
values (14, 'MS', to_date('18-02-2009', 'dd-mm-yyyy'), 4669, 6893);
insert into TRADING (TFID, SRC, TDATE, BID, SID)
values (15, 'KP', to_date('20-02-2009', 'dd-mm-yyyy'), 1548, 6975);
insert into USERS_MAP (SRC_CUST_ID, EXT_CUST_ID, SRC)
values ('9675', '1111', 'kp');
insert into USERS_MAP (SRC_CUST_ID, EXT_CUST_ID, SRC)
values ('5468', '2222', 'kp');
insert into USERS_MAP (SRC_CUST_ID, EXT_CUST_ID, SRC)
values ('6893', '3333', 'kp');
insert into USERS_MAP (SRC_CUST_ID, EXT_CUST_ID, SRC)
values ('5468', '4444', 'kp');
insert into USERS_MAP (SRC_CUST_ID, EXT_CUST_ID, SRC)
values ('7865', '5555', 'kp');
insert into USERS_MAP (SRC_CUST_ID, EXT_CUST_ID, SRC)
values ('6975', '6666', 'kp');
insert into USERS_MAP (SRC_CUST_ID, EXT_CUST_ID, SRC)
values ('6975', '7777', 'kp');
insert into USERS_MAP (SRC_CUST_ID, EXT_CUST_ID, SRC)
values ('6985', '8888', 'kp');Thanks.Hi,
Thanks for posting the sample data in such a useful form! I'm sorry, I'm not at a database now, so I can't run it.
What are the correct results you want from that data?
You can outer-join to more than one table using ANSI notation.
Another solution is to do some of the joins in a sub-query. It looks like the problem is with the est table. If you join all the tables except est in a sub-query, then you can join est to that result set in the main query.
If you "want to display the data even if there is no corresponding data in the fac_pos table.", and fac_pos is being called flen, then you have the + signs in the wrong places.
16 AND mtf.EXT_FID (+) = flen.FID
17 AND mtf.EXT_DID (+) = flen.DID means "display data from flen even if there is no match in mtf".
Maybe you are looking for
-
I have just updated my iphone 3gs from iOS 4.1 to the last one which give me iTunes, by iTunes, I introduced my language, country, wi-fi, and when I got the step of activation iPhone, I got a message that says "your iphone could not be activated beca
-
Does anybody have anything else I can try ? So far I have tried all postings here containing fixes ..and nothing has helped. When I start safari it crashes without getting as far as a Safari window opening. Below is the problem report: Process: Safar
-
I want to do an effect, whether I do it directly in Keynote or wherever. I want to insert a picture of an LCD panel and play video on the "screen". So for example, I can take a stock picture of an LCD panel off the Internet. Then I create a shape tha
-
Problem with USB mouse on Satelite a215-s7416
Hi all. I have been having this problem since I got this computer in December. I hope someone will be able to help me. I have been using a usb corded optical mouse. It works for about 4-5 weeks then it loses power. For the first few days I can unplug
-
Hi, all. I put an "Attachment Table" item in my page and I notice that: when I create a new record in the table where there is the declared attachment entity and the primary key that links the attachment record, the attachment table works fine; if I