How to check the data in a temporary table
Hi,
A procedure inserting data into a temporary table , data exists in the table now. so, how to see the data from the temporary table. Is it possible to see from the sqlplus by selecting, right now i'm not getting any data. .thanks Bcj.
If you are referring to Global Temporary Tables, then the only way to see the contents of the table are to select from the table while connected to the same session that inserted the data into the GTT.
Please note however that there is not a 1 to 1 correspondence between sessions and users (shcemas). A user may be connected to 1 or more sessions, but it is only the session that inserted the records that will be able to view the records.
Similar Messages
-
How to check the data of an archived table.
I have archived a table created by me. I have executed the write program for the archiving object in SARA. Now how can check the data of my archived table.
Hello Vinod,
One thing to check in the customizing settings is your "Place File in Storage System" option. If you have selected the option to Store before deleting, the archive file will not be available for selection within the delete job until the store job has completed successfully.
As for where your archive file will be stored - there are a number of things to check. The archive write job will place the archive file in whatever filesystem you have set up within the /nFILE transaction. There is a logical file path (for example ARCHIVE_GLOBAL_PATH)where you "assign" the physical path (for example UNIX: /sapmnt/<SYSID>/archivefiles). The logical path is associated with a logical file name (for example ARCHIVE_DATA_FILE_WITH_ARCHIVE_LINK). This is the file name that is used within the customizing settings of the archive object.
Then, the file will be stored using the content repository you defined within the customizing settings as well. Depending on what you are using to store your files (IXOS, IBM Commonstore, SAP Content Server, that is where the file will be stored.
Hope this helps.
Regards,
Karin Tillotson -
How to recover the data from a dropped table in production/archive mode
How to recover the data/change on a table that was dropped by accident.
The database is on archive mode.Oracle Version. ? If 10g.
Try this Way
SQL> create table taj as select * from all_objects where rownum <= 100;
Table created.
SQL> drop table taj ;
Table dropped.
SQL> show recyclebin
ORIGINAL NAME RECYCLEBIN NAME OBJECT TYPE DROP TIME
TAJ BIN$b3MmS7kYS9ClMvKm0bu8Vw==$0 TABLE 2006-09-10:16:02:58
SQL> flashback table taj to before drop;
Flashback complete.
SQL> show recyclebin;
SQL> desc taj;
Name Null? Type
OWNER VARCHAR2(30)
OBJECT_NAME VARCHAR2(30)
SUBOBJECT_NAME VARCHAR2(30)
OBJECT_ID NUMBER
DATA_OBJECT_ID NUMBER
OBJECT_TYPE VARCHAR2(19)
CREATED DATE
LAST_DDL_TIME DATE
TIMESTAMP VARCHAR2(19)
STATUS VARCHAR2(7)
TEMPORARY VARCHAR2(1)
GENERATED VARCHAR2(1)
SECONDARY VARCHAR2(1)
SQL>M.S.Taj -
How to check the Statistics generated for a table through DBMS_STATS.
Hi,
How to check the statistics generated for a Table through DBMS_STATS.GATHER_TABLE_STATS procedure ?
Please let me know.
Thanks !
Regards,
RajasekharRajasekhar wrote:
Hi,
How to check the statistics generated for a Table through DBMS_STATS.GATHER_TABLE_STATS procedure ?
Please let me know.
Thanks !
Regards,
Rajasekharquery ALL_TABLES -
How to check the date and time when a material is blocked
Hello,
Please tell me how can i check the date and time when a material is blocked or unblocked.
Regards,
PriyankaHi Pryianka,
Are you speaking about blocked status of material master ('X-plant matl status' > MM03 > Basioc view 1; 'Plant-sp. matl status' > MM03 > MRP 1) or your problem is to find out the date when your material was booked into blocked state (stock category).
If your problem is about mmr you can use the above mentioned MM04 (or MM03 > menu > Environment > Display changes).
If your problem is to find out when your goods were posted to blocked stock you have to use MB51 + relevant movement types (e.g. 103, 344) + batch + etc. ()
BR
Csaba -
How to check the date is initial in the calculated keyfigure
Hi,
While calculating the difference between the two dates , i need to check the date is having the values or not in the calucluated key figures .how to achieve this .
number of days = delviered date - creation date
All the dates are key figures
Regards,
RajHi there,
It depends on what you want to retrieve.
If you have this:
day 1 - day 2
If day 1 is initial, you'll have day 2 as the result of the difference which is correct. If in the other hand day1 is initial you'll have - day 2 as the result. So you just need the ABS() formula to give the absolute value of the difference.
What exaclty do you want to achieve? only do the formula when both day 1 and day 2 have values? Retrieve always a positive value of the formula no matter if day 1 is initial or day 2 or both?
Can you give a complete example with values of what's happening and what do you pretend to achieve?
Diogo. -
How to load duplicate data to a temporary table in ssis
i have duplicate data in my table.i want to load unique records in one destination .and i want to load duplicate data in a temporary table in another destination. .how can we impliment package for this
Hi V60,
To achieve your goal, you can use the following two approaches:
Use Script Component to redirect the duplicate rows.
Use Fuzzy Grouping Transformation which performs data cleaning tasks by identifying rows of data that are likely to be duplicates and selecting a canonical row of data to use in standardizing the data. Then, use a Conditional Split Transform to redirect
the unique rows and the duplicate rows to different destinations.
For the step-by-step guidance about the above two methods, walk through the following blogs:
http://microsoft-ssis.blogspot.in/2011/12/redirect-duplicate-rows.html
http://hussain-msbi.blogspot.in/2013/02/redirect-duplicate-rows-using-ssis-step.html
Regards,
Mike Yin
TechNet Community Support -
How to get the data from a cluster table to BW
Dear All,
I want to extract the data from R/3 to BW by using 2 tables and one Cluster B2.
Actually my report contains some fields from PA2001, PA2002 and one cluster table B2 (Table ZES). Can I create View by using these 3 tables? If it is not possible how can I get the data from the cluster? Can I create generic datasource by using cluster tables directly?
In SE11 Transaction the Cluster (table ZES) is showing invalid table.
I referred some Forums, but no use.
Can any body tell me procedure to get the data from a cluster (table ZES) ?
Waiting for you results.
Thanks and regards
RajeshHI Siggi,
Thank you for your reply..
I am also planning to do FM to get the data. But it is saying that the Cluster table ZES does not exist (ZES is the the standard table, in SE11 also).
How can I use the Fields from the that table.?
What can I do now, can you please explain me about this point.
Waiting for your reply.
Thanks and Regards
Rajesh
Message was edited by:
rajesh -
How to pass the data from a input table to RFC data service?
Hi,
I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
Thanks for your answer.Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
Thanks. -
How to fill the data of two different tables into one?
Hi Experts,
I have two tables named CDHDR and CDSHW(structure). I have extracted the data from these two tables through two function modules named CHANGEDDOCUMENT_HEADER and CHANGEDOCUMENT_POSITION. Now I have the data in to different tables.
These two tables neither has relationship with each other through any field nor have any field which exist in both. Can anyone tell me in this case what should be the process to take the data of both the tables into one table. How can I match the record of one table to another?
thanks a ton in advance.
Edited by: Moni Bindal on Apr 28, 2008 4:16 PM
Edited by: Alvaro Tejada Galindo on Apr 28, 2008 1:42 PMHye Bindal,
without a relation, it is not possible to club the data of 2 internal tables. More over it depends on the requirement as to y u should club to non related quantities in an internal table.
if you wish to do so, one thing is it has internal table which includes the strucute of the 2.
data: begin of ty_out,
first type first_structure,
second type second_structure,
end of ty_out.
data: itab type standard table of ty_out.
data: wa type ty_out.
loop into it1 into wa1.
move corresponding wa to wa1.
append wa to itab.
endloop.
loop into it2 into wa2.
move corresponding wa to wa2.
append wa to itab.
endloop.
now the internal table itab will have all the contents of it1 and it2.
<REMOVED BY MODERATOR>
Thanks,
Imran.
Edited by: Alvaro Tejada Galindo on Apr 28, 2008 1:43 PM -
How to check the date in the date format
hi all,
i am using db10g
i have to read the data column from some source.
I should accept as it is and validate whether that date is in the date format how can i validate this condition?
Thanks..user13329002 wrote:
hi all,
i am using db10g
i have to read the data column from some source.
I should accept as it is and validate whether that date is in the date format how can i validate this condition?
Thanks..Ask your source what the date format is. If it is constantly changing then the format needs to be transmitted also.
Imagine a string (that could represent a date) like this:
10-01-11
it could mean:
10th of January 2011
1st of October 2011
11th of January 2010
1st of November 2011
11th of October 2001 (highly unlikly but still possible).
How should an automated system decide which is the correct date? You need to establish a rule that includes a date format and therefore returns the correct value. Or even better: Deal with dates, not with strings. This is especially for those Java/VB programmers who have no real clue what a data type is ment for. -
How to check the data type dynamically
hi all
my requirement is like this in one screen field which is of character type user is inputing data .
now while saving to the database i have to apply one external check for this data if it is integer type or not
as this data on the screen is refrenced to the database so i can not change the data type on the screen itself .
i have to check it externally from PAI ....... would any one please help on this
Thanks and regards
PappsHi
Thanks again you are right i missed the space one ..
but Now another problem...
I have tried that but in that case even user can input data by mistake like this
123 4 but this is not an integer it should also give error as this is also not a correct integer ...
as par asi think . we have to aain check if there is any spaces in the data provided i guess or
is there any other procedure ? -
How to check the data for duplicates in xml
Hi all,
I have an xml similar to the below. In that I need an xquery which can remove the tags for which the data is same. For example in the below xml for first <customer> first <address> the <houseno>
and the second <address>'s <houseno> is same in that case there should be only one <houseno> tag with the data in the output xml. Please check the Input XML and Output XML xml formats below .
I am able to get the OUtputxml but with the same <houseno> repeating. I am not able to find a way in which I can chk the data and stop the tag getting created in the output.
Could you please suggest me the ways in which I can do. It would be of great help for me. Thanks a ton in advance.
Input XML
<customers>
<customer>
<address>
<houseno>212</houseno>
<phone>121221</phone>
</address>
<address>
<houseno>212</houseno>
<phone>42334</phone>
</address>
<customer>
<customer>
<address>
<houseno>3243</houseno>
<phone>6565</phone>
</address>
<address>
<houseno>3434</houseno>
<phone>78778</phone>
</address>
</customer>
</customers>
Output XML Expected
<customers>
<customer>
<address>
<houseno>212</houseno>
<phone>121221</phone>
<phone>42334</phone>
</address>
<customer>
<customer>
<address>
<houseno>3243</houseno>
<phone>6565</phone>
<houseno>3434</houseno>
<phone>78778</phone>
</address>
</customer>
</customers>
Output XML Which I am getting
<customers>
<customer>
<address>
<houseno>212</houseno>
<houseno>212</houseno>
<phone>121221</phone>
<phone>42334</phone>
</address>
<customer>
<customer>
<address>
<houseno>3243</houseno>
<phone>6565</phone>
<houseno>3434</houseno>
<phone>6565</phone>
</address>
</customer>
</customers>
RegardsFirst of all the desired output.
[quote]
<customers>
<customer>
<address>
<houseno>212</houseno>
<phone>121221</phone>
<phone>42334</phone>
</address>
<customer>
<customer>
<address>
<houseno>3243</houseno>
<phone>6565</phone>
<houseno>3434</houseno>
<phone>78778</phone>
</address>
</customer>
</customers>
[/quote]
I don't think this is a very good choice and will be causing trouble no end in a future stage of using the data...
I would rather propose a better choice to my thinking like this.
[code]
<customers>
<customer>
<address>
<house houseno="212">
<phone>121221</phone>
<phone>42334</phone>
</house>
</address>
</customer>
<customer>
<address>
<house houseno="3243">
<phone>6565</phone>
</house>
<house houseno="3434">
<phone>78778</phone>
</house>
</address>
</customer></customers>
[/code]
In that case, this is capable of producing the regrouped output.
[code]
<customers>{
let $doc:=doc("your_data.xml")
for $customer in $doc/customers/customer
return
<customer>{
for $houseno in distinct-values($customer/address/houseno)
return
<house houseno="{$houseno}">{
for $phone in $customer/address[houseno=$houseno]/phone
return
<phone>{data($phone)}</phone>
}</house>
}</customer>
}</customers>
[/code] -
How to check the date of an Oracle session
hello
How to check how long a session was opened?
thxset lines 100 pages 999
col ID format a15
col osuser format a15
col login_time format a14
select username
, osuser
, sid || ',' || serial# "ID"
, status
, to_char(logon_time, 'hh24:mi dd/mm/yy') login_time
, last_call_et
from v$session
where username is not null
order by login_time
Regards,
Andy Barry -
How to read the data from an internal table,when column names are known
Hi All
I have a specific requirement. I got an internal table with many fields (let it be my_tab). Some of the fieldnames (column names in internal table my_tab) are stored in separate internal table(let it be my_fields).
I need to store/read data corresponding to the fields (whose name is stored in my_fields) from my_tab.
I am able to build dynamic table (referred by field-symbol) with respect to the given field names in my_fields.
But i am unable to read the data corresponding to the fieldnames from my_tab.
Please provide me some pointer in this regard.
Regards
Swetabh ShuklaHI All
Thanks for the prompt response. I got solution for my question. Please check below thread. For quick reponse i posted my question in one more category. Thanks to all of you.
How to read internal table w.r.t. fieldnames stored in other table
Maybe you are looking for
-
I used to download new podcasts to my old MacBook, plug in my iPod, click the Synch button, and not only did the new podcasts get copied from the laptop to the iPod, but iTunes on my laptop would show which podcasts I'd already listened to, so it was
-
Problem setting a hidden item value when button clicked with dynamic action or pl/sql process
Apex 4.1 Oracle 11g I have a page that consists of a main region and several sub regions. I have a pl/sql process in After Header SET_DISPLAY(:P400_DISPLAY :='MAIN';) Three subregions have a contional display where P400_DISPLAY = STORE. This works
-
Moving exposure slider Lightroom 5 causes losing sharpness in pictures.
I'm working with (RAW files form 5dmk2) Lightroom 5 on OS X (i5 .2.6 gHz 16 GB RAM Intel HD Graphic 4000, NEC PA 271W display 27') . In Develop module moving exposure slider for a short moment causes loss of sharpnes in pictures, it's really annoying
-
adobe has done another nice (but boring) release.... at least boring for me. the improvements are nice and welcome. as small as they are (crop tool etc. ) im sure the workflow will be better. but lets be honest.... are you excited about the new photo
-
My MacBook Proo is slow.