Querry win32_diskquota
Hi!
Is it possible to improve this?
it's 2008 R2 server
$domain = "testit"
$user = "test"
$query = "select * from win32_diskquota where User='Win32_Account.Domain=`"$domain`",Name=`"$user`"'"
Get-WmiObject -Query $query -ComputerName test001v
Trying to check
http://blogs.technet.com/b/heyscriptingguy/archive/2011/03/08/how-to-improve-the-performance-of-a-powershell-event-log-query.aspx
Best Regards
Patric Sten
Hi!
Is it possible to speed it up?
266 seconds =(
$domain='testdom'
$user='testuser'
$filter='USER=''Win32_Account.Domain="{0}",Name="{1}"''' -f $domain,$user
Get-WmiObject win32_diskquota -filter $filter -Computer PC01
Similar Messages
-
i have a requirement compare the data from two dso can we add both dso fields in one querry and create a report?
Search the Forum . you will get many threads which will help you. You can refer the following linki as well.
http://help.sap.com/saphelp_nw70/helpdata/en/4a/e71f39488fee0ce10000000a114084/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/cf/bc734190ba137de10000000a155106/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/4d/c3cd3a9ac2cc6ce10000000a114084/content.htm -
How to find Querry Name from report name?
Hi.
I run a custom transaction , but when i try to see it's program it give me dump. Then i used SE93 transaction to find out program but there was querry written as "AQCSSYSTQV000001ZPUBLICITY====' in program name.
Now i have to find the Query Name by which the program name "AQCSSYSTQV000001ZPUBLICITY====" is generated?
Thanks in advance.
TahirHi!
AQCSSYSTQV000001ZPUBLICITY====
AQ means - ABAP Query
CS - then 2 chars for the query area
SYSTQV000001 - then 12 characters for the user group
ZPUBLICITY - this is your query name
You have to check you are in the correct workarea and user group, or you will not see your query.
Regards
Tamá -
Dynamic select querry in sender jdbc adapter
Hi,
We are working on a scenario where in we will be using different source database tables , we were trying to see if it is possible that the select querry can be made dynamic so that the same communication channel can be used for all the different source tables.
Request all to come up with suggestions as to if this is possible.
Thanks ,
Pravesh Puria.Hi All,
Thanks VJ for your reply.
Let me reframe my question.
I have multiple database instances at source side. On all instances I have same table name.
My requirement is to poll all these instances table and fetch data.
Do I need to create multiple sender agreements or there is a way to dynamically change the datbase name in sender Communication channel.
Any other solution is also appreciated.
Same is the case with JMS adapter, Multiple instances of JMS are there at source side sending similar structure data in there own queue.
Request you to kindly response.
Regards,
Pravesh -
hi all,
i was using ad hoc querry for generating some reports. but now some error is coming, and ad hoc querry is not working fine. how 2 make changes in ad hoc query, i m nt able 2 generate education and previous employee details correctly.
kindly help.
RegardsHey
What exactly is the problem,
Have you re-tried it once..
Cheers
Rafi -
Dynamic select querry in sender JDBC channel
Hi,
We are working on a scenario where we need to read data from various database tables , we were trying to see if it is possible that the select querry can be set dynamically so that the same channel can be used to read from the various tables.
Request all to please come up with suggestions as to whether this is possible.
Thanks ,
Pravesh Puria.Hi All,
Thanks VJ for your reply.
Let me reframe my question.
I have multiple database instances at source side. On all instances I have same table name.
My requirement is to poll all these instances table and fetch data.
Do I need to create multiple sender agreements or there is a way to dynamically change the datbase name in sender Communication channel.
Any other solution is also appreciated.
Same is the case with JMS adapter, Multiple instances of JMS are there at source side sending similar structure data in there own queue.
Request you to kindly response.
Regards,
Pravesh -
Hi,
I have one table cust it have one filed date(column),i have write the below querry it is giving values
for differnt months.Based on the below querry result i want data for tha particular year.
select a.date,a.val/b.values as Result from
(select (sum(f.column1*100))as val,
f.date
from cust f
where dkey=10
group by f.date)a,
(select (sum(f.column2)) as values,
f.date
from cust f
where dkey=10
group by f.date)b
WHERE a.date=b.date
Querry output
date result
2008-10-01 2
2009-02-01 3
2009-03-01 2
2009-04-01 2
2009-05-01 2
2009-06-01 2
From that results i want output like this,
date result
2008 2
2009 11with xx as
select to_date('2008-10-01','yyyy-mm-dd') dt, 2 res from dual UNION ALL
select to_date('2009-02-01','yyyy-mm-dd'), 3 res from dual UNION ALL
select to_date('2009-03-01','yyyy-mm-dd'), 2 res from dual UNION ALL
select to_date('2009-04-01','yyyy-mm-dd'), 2 res from dual UNION ALL
select to_date('2009-05-01','yyyy-mm-dd'), 2 res from dual UNION ALL
select to_date('2009-06-01','yyyy-mm-dd'), 2 res from dual
-- this just simulates your previous data
select distinct
EXTRACT(year from dt),
SUM(res) OVER(partition by EXTRACT(year from dt))
from xx;Output:
2008 2
2009 11 -
Is it Possible to Save the existing querry in Prod System
Hi Gurus
Is it possible to save the existing Querry in Production system with another name.if yes pl. tel the procedure.
thanks and regard kumar. [email protected]
Message was edited by:
s kHi s k,
You can do the query copy in the DEV (development system) & transport the request to the PRD (production system).
This is the SAP recommended best practise.
However, you can also directly do the query copy in PRD system, provided you (sap login) have the authorizations to do the same.
For more information on SAP query, check the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb3efb455611d189710000e8322d00/frameset.htm
best regards,
Thangesh -
Seeburger BIC mapping designer : querry
Hi,
We have installed the SeeBurger BIC adapter. I have a querry regarding the mapping that we specify as a parameter to the BIC module in the modules tab of the communication channel.
Are there standard mappings provided with the installation for EDI -> XML and vice versa , and we simply need to provide the name of the mapping that needs to be used or do we need to develop the mappings from scratch using the BIC mapping designer.
If the first case is true then how to get the names of all the mappings that are provided so that we can make out which one do we need to use. If it is not so please help me with the BIC mapping designer manual path on the installation as we are not able to figure out the path to the manual.
Thanks in advance,
Pravesh Puria.Hi Babu,
<i>1."you can use these mappings in "Modules" of your seeburger communication channel."
>> can we use these developed mappings with BIC MD in any communication channel of Seeburger like OFTP,FTP ,AS2 ,BIC or we need to use those mapping with only BIC communication channel?</i>
>>> Yes Babu,You can use this in all communication channel modules .
one thing, "BIC" is not a seeburger adapter type.
You need to deploy BIC Mappings in your XI server.
You have to refer Seeburger manuals for this.
<i>2.lets say if we have developed mappping with BIC MD ,then do we need to develop mapping with XI mapper too or its not needed?but if we do mapping with Xi then data format will be of xml but it needs to be converted to/from EDI ,so how it can be possible just with XI maping and no BIC MD mapping?</i>
>>> No, You Cannot do it in only with XI Mapper.
First you need to use BIC Mapping in modules which will convert your EDIFACT format to EDI-XML.
After this you need to Apply XI Mapping Which will Convert EDI-XML to your IDOC-XML.i.e. your mapping program.
Thanks & Regards,
Akshay Jamgaonkar.
Reward Points For Good Answer . -
How to Improve the performance of a querry.
Hi All,
I have written a querry in a report.In quality environment,this querry is failing due to larger data there.Now i have used package size to improve the querry.But how do i test the performance of querry.
Any transaction where i can see how much time this querry was takin earlier and how much it is now?
Regards,
Saket.FOR CHECKING THE PERFORMANCE OF UR QUERY
USE THE TRANSACTION CODE
SQL TRACE
T CODE - ST O5
regards,
sharad. -
Hi all oracle gurus
I am trying to insert a value which is difference between two dates, for that reason i am doing (" rec_jag_promos.end_date -rec_jag_promos.start_date") inside my insert statement.
but it is not working. my plsql code is running but not giving me any o/p.
Here what i am trying to do is i want to insert DAYS value into my table which is between start date and end date.
........its not working . please guide me or correct me.
Below is part of my querry ........
Thanks
-- migrate data
FOR rec_jag_promos IN cur_jag_promos
LOOP
v_jag_count := v_jag_count + 1;
BEGIN
v_wots_hot_id := rec_jag_promos.promotion_id;
-- this call will throw and exception 0 or many regions found
v_region_id := get_region_id( rec_jag_promos.promotion_id, rec_jag_promos.region_display_type );
INSERT INTO wotif_promo.WOTS_HOT
( id, country_code,
start_date, end_date,inventory_source_id,hotel_id,
rate_plan_code,region_id,blurb, modified_username,
version,DAYS_ACTIVE )
VALUES
( v_wots_hot_id, rec_jag_promos.country_code,
rec_jag_promos.start_date, rec_jag_promos.end_date,v_inv_source_id,rec_jag_promos.hotel_id,
rec_jag_promos.rate_plan_code, v_region_id, rec_jag_promos.blurb, rec_jag_promos.modified_username,
1, rec_jag_promos.end_date-rec_jag_promos.start_date+);
v_wots_hot_inserts := v_wots_hot_inserts + 1;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE( 'WOTS_HOT Insert Error on wots_hot_id : ' || rec_jag_promos.wots_hot_id );
DBMS_OUTPUT.PUT_LINE( SQLCODE || ' ' || SQLERRM );
v_wots_hot_errs := v_wots_hot_errs + 1;
END;You probably have posted to the wrong forum. Please use the appropriate forum (I assume you would like to post in PLSQL), this is the Beehive forum.
-
Querry on file to be send as an attachment to internet users
Hi,
Have a querry on how to send a file of >260 chars as an attachment. It is a TXT file.
The file needs to be send to internet addresses.
Currently tried with FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
It sends the file as a mail attachment but the chars after 255 size getting truncated.
Thanks in advance.
Expecting prompt answers.
Regards,
Yamini.Hi Yamini
This one of the responses by Mr.Thomas Jung for a similar query, hope it helps you.
"Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
Create document clear mail_line. move 'This is a test E-Mail'(d01) to mail_line. concatenate mail_line cl_abap_char_utilities=>newline into mail_line. append mail_line to l_mailtext.
What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you."
cheers
Sameer
PS: Have a look at the following thread
Re: How to email an attachment with more than 255 characters? -
Querry on 1z0-007 exam objectives
I am a student and I have a querry about objective covered in SQL9i (1Z0 -007) Exam. As i had studies course material provided by Oracle Education details are:
(40049GC10 /Production 1.0 / June 2001 / D33052 ) is printed on book.
The detais provided on web site (Test Contetnt Checkkist) is covered till chap 14 and chap 15-20 has objective below
Using SET Operator
1. describe SET operator
2. Use a SET operator to combine multiple queries into a single query
3. Control the order of rows returned.
Oracle 9i Datetime Functions
1. After completing this lession, you should be able use the following datetime functions:
current_date,current_timestamp,localtimestamp,dbtimezone,sessiontimezone,extract,from_tz,to_timestamp,to_timestamp_tz,to_yminterval,tz_offset
Enhancement to the GROUP BY Clause
1. Use the rollup operation to produce subtotal values
2. use the cube operation to produce cross-tabulation values
3. use the grouping function to identify the row values created by rollup and cube
4. use grouping sets to produce a single result set.
Advanced Subquery
write a multiple column subquery
describe and explane the behaviour of subqueries when null values are retrived
write a subquerry in from clause
use scaler subqueries in sql
describe the type of problem that can solved with correlated subqueries
write corelated subqueries
update and delete rown using corelated subqueries
use exist and not exist operators
use the with clause
hierarchical retrieval
interpret the concept of a hierarchical query
create a tree structured report
format hierarchical data
exclude branches from the tree structure
Oracle 9i Extension to DML and DDL Statements
describe the feature of multiple inserts
use the following types of multiple inserts
Unconditional inserts
pivoting inserts
conditional all insert
conditional first insert
create and use external tables
name the index at the time of creationg a primary key constraint
so my main query , is following objectives are included in the list of objectives of 1z0-007 exam or not.
kindly reply to me with proper solution or forward this mail to concern personnel if u r not know abot my query.
thanks and regards,
vikram anand
lucknow (U.P.)
India
[email protected]There is no such specific Oracle Documentation given in Oracle, rather you will have to refer a couple of related Oracle Documentations.
Here are the Oracle SQL Documentations.
http://download.oracle.com/docs/cd/B10501_01/nav/docindex.htm?remark=homepage#index-SQL
If you need specific document on this exam, you will have to undergo the related training course, then you will be given Oracle Student Guides/ILT Materials.
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=68&lang=US&p_exam_id=1Z0_007#1
Best of luck.
Regards,
Sabdar Syed. -
Select the current row in read only querry VO
Hi.,
I am using jdev 11.1.1.5
I had created a Finyear EO with corresponding VO
I had also created a read only querry VO [PostdGLhdlnVO]
I had created a viewlink between FinyearVO and PostdGlhdlnVO with following conditions
FinyearVO.bu = PostdGLhdlnVO.bu
FinyearVO.year = PostdGLhdlnVO.year
I need to select the current row and print that row using println statement. as i am using readonly querry while i drag and drop the PostdGLhdlnVO i cant able to select the current line (i.e., when user clicks the current row)
My scenario:
I need to create a non database checkbox for every row in that table [PostdGLhdlnVO] which will get the current row
can anyone help me to create a nondatabase checkbox for that tableTry,
This may help:
Re: ADF Table Multiple row selection by Managed Bean-Prasad -
Help required in writing an sql querry
Hi guys,
Could any one hlep me out in writing an sql querry for the below requirement.
the requirement is: for a perticular ID if we have different names then we need to get it out as multiple else the name itselef. I have given the sample input and the expected output.
ID Name
1 A
1 B
2 F
2 F
3 C
4 D
4 E
Out put should look like
ID Name
1 Multiple
2 F
3 C
4 Multiple
Thanks in advance
Shylender.
Edited by: 959345 on Nov 22, 2012 10:13 PMMay be this:
WITH t AS
(SELECT 1 id, 'A' str FROM DUAL
UNION ALL
SELECT 1, 'B' FROM DUAL
UNION ALL
SELECT 2, 'F' FROM DUAL
UNION ALL
SELECT 2, 'F' FROM DUAL
UNION ALL
SELECT 3, 'C' FROM DUAL
UNION ALL
SELECT 4, 'D' FROM DUAL
UNION ALL
SELECT 4, 'E' FROM DUAL),
t1 AS
(SELECT id,
CASE
WHEN COUNT (DISTINCT str) OVER (PARTITION BY id) > 1 THEN
'MULTIPLE'
ELSE
str
END
str
FROM t)
SELECT id, str
FROM t1
GROUP BY id, str
ORDER BY 1;Cheers,
Manik.
Maybe you are looking for
-
Can any one help me. my Ipod touch will not respond when I plug it in to my new computer. My old computer crashed and I am using a new computer. When I plug it in or not it reads on screen a picture of a usb plug and a arrow pointing to a a simble
-
We are using SharePoint 2010 and Excel 2010. In SharePoint, we have created a custom content type that uses an Excel workbook template along with a Document Information Panel (DIP -- an InfoPath form) that always displays when a workbook of this cust
-
Ok... 100% honesty instead of making some story up; my boyfriend had an affair; mostly online. When I caught wind of this he mass cleared the whole internet history. This was at the end of august. I have found the places.sqlite file using the manager
-
Ibooks and worldwide territory rights
I'm a published author and I have just submitted my book to itunes. I filled out all of the necessary information in itunes producer but I have one question. In the territory rights section, I don't see the option for worldwide rights? I only have in
-
Migrate NSS volume data from OES2-SP1 to OES2-SP3 server fails
Hello forums I have a senario where we want to use miggui to migrate all files/folder and trustees, to e new server using miggui. When we try to migrate from the existing "VOL" from the old OES2-SP1 server, we get an error on the miggui log running o