I find the MINUS operator very handy and use it a lot to compare tables and find out missing things.
For example suppose you want to compare Table1 with Table2.
If the two tables have the same layouts (same column names and data content), you can simply do this
This query will compare each record in Table 1 to a record in table 2.
The result returned will be records in table 1 that are not in table 2.
you can reverse the MINUS order to get records in table 2 that are not in table 1
You can also instead of doing select *, select specific columns, since for example the 2 tables might have been loaded and timestamped differently.
So you can do
You have to make sure the column orders are the same when selecting from the tables.
| Title | Under | Posted on |
|---|---|---|
| nVision Tabular Report through PIA with prompts | PeopleSoft Technical | 02/02/2012 - 10:07pm |
| Can we create an AE to mass update Position - Jobcode data? | PeopleSoft Technical | 01/18/2012 - 3:11am |
| Pay Components on job data can be defaulted and setup based on the rules? | PeopleSoft Functional | 01/05/2012 - 4:58am |
| PSFT Authentication token failed for Node PSFT_HR | PeopleSoft Technical | 01/03/2012 - 12:21am |
Comments
Record in table??????
What does that means...for now i thought that record means table???
isnt it???
Please clear it as m new to Peoplesoft
In normal dateBase concept for any kind of row of data we call Record and in peoplesoft record is a object when we built it table get qautomatically created.
In sql data is organised in a table in rows and columns
Table is a collection of records
a single record means a single row in a table.
example
suppose u have a table employee having columns empno,ename,job,hirdate,sal,comm,deptno then u will insert values for each column it would look like this and which is a single record in similar manner u can insert as many values as u want
2222,smith,manager,21-2-2011,22000,1200,20
Post new comment