SQL Query not working for column names with spaces
Hi People..
We have a strange situation wherein, the column name in the database table has a space inbetween like "Constant Name". While we write a JDBC statement code with the select query we get an exception for invalid syntax. It will help us in a great way if you have anything to inform us on this..
Thanks
Prabz
Using case sensitive names and names with spaces in it is not a good practice.
However, I believe the SQL standard accounts for this with quoted identifiers. I believe the syntax is
. select "My Field1", "My Field2"
. from "My Table'
Have also seen the following although it might be MS Access specific.
. select [My Field1], [My Field2]
. from [My Table]
Similar Messages
-
Inline transform for Sql Query not working in SAP MII 12.1 Version 12.1.8 B
Hi All,
I applied an xslt for an sql query which returns an xml file.
I used inline transform icon in sql query to load an xsl file which has to return me a string
Any idea why is not working for me..?
My Sample XML file:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/XMII/CM/BatchDisposition/BatchQueueManagement/StyleSheets/ProductXsl.xsl"?>
<Rowsets DateCreated="2011-05-05T07:27:45" EndDate="2011-05-05T07:27:45" StartDate="2011-05-05T06:27:45" Version="12.1.8 Build(20)">
<Rowset>
<Columns>
<Column Description="ProductName" MaxRange="1" MinRange="0" Name="ProductName" SQLDataType="12" SourceColumn="ProductName"/>
</Columns>
<Row>
<ProductName>Asprin 100mg Tablets 12 x10 strip</ProductName>
</Row>
<Row>
<ProductName>Asprin 300mg Tablets 12 x10 strip</ProductName>
</Row>
<Row><ProductName>Ibprooven 200mg Tablets 12 x 10 strip</ProductName></Row>
<Row><ProductName>RipTide 50mg Tablets 40 x10 strip</ProductName></Row>
<Row><ProductName>Seroquel 200mg Tablets 6 x10 strip</ProductName></Row>
<Row><ProductName>Seroquel 400mg Tablets 12 x10 strip</ProductName></Row>
</Rowset>
</Rowsets>
My Sample XSl File:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:text>["</xsl:text>
<xsl:for-each select="Rowsets/Rowset/Row">
<xsl:value-of select="ProductName"/>
<xsl:if test="position() < last()">
<xsl:text>","</xsl:text>
</xsl:if>
<xsl:if test="position()=last()">
<xsl:text>"]</xsl:text>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Any Suggestions are Welcome:
ThanksSomething like this should work...
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<Rowsets DateCreated="{Rowsets/@DateCreated}" Version="{Rowsets/@Version}" StartDate="{Rowsets/@StartDate}" EndDate="{Rowsets/@EndDate}">
<xsl:copy-of select="/Rowsets/FatalError"/>
<xsl:copy-of select="/Rowsets/Messages"/>
<Rowset>
<Columns>
<Column Description="Mycol1" MaxRange="1" MinRange="0" Name="Mycol1" SQLDataType="12" SourceColumn="Mycol1" />
</Columns>
<Row>
<Mycol1>
<xsl:text>["</xsl:text>
<xsl:for-each select="/Rowsets/Rowset/Row">
<xsl:value-of select="." />
<xsl:choose>
<xsl:when test="position() < last()"><xsl:text>","</xsl:text></xsl:when>
<xsl:otherwise><xsl:text>"]</xsl:text></xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</Mycol1>
</Row>
</Rowset>
</Rowsets>
</xsl:template>
</xsl:stylesheet> -
Activesync not working for Windows Phone with certificate
We have a new Exchange Server 2013 setup and using activesync. We have setup a policy to require simple password and to send an email to provision a device when it connects. Activesync is setup to use self signed certificates, this was
tested first on the Ipad. Certificate installed entered the settings and the device appeared in the quarantined devices list awaiting to be approved. This was also done on the Iphone and worked.
When putting the same certificate on the windows phone device it errored with there is a problem with {as.domain-name.net} and does not appear in quarantined devices screen.
I tested again with another Ipad and an android device and they work without an issue. Tested with a Windows RT device and got the same issue. If I look in the IIS log files I can see the windows device making a connection then when I presume
to be the error 500 at the end of the line.
This is not a user issue as I can use the same user on the various devices. The windows devices just do not want to connect. We have looked at the certificate but if it works for apple and android devices why does it not work for windows?
Is there any additional security settings that need to be turned on or off for windows phones? Is there something specific on the certificate what windows devices need that others ignore?I did inital think it might be a widows phone issue but there are no other settings for me to use. I have also tested using a windows 8 surface and I get the same issue.
I have raised the event log level on the exchange server to expert and I have seen 2 messages when I try to connect.
I get Event ID 1100: Exhcnage ActiveSync device requests for your uses are being blocked. This problme frequently occurs when HTTP OPTIONS method is not allowed.
I know it is allowed as the test exchange connectivity worked and passed that test.
The other error Event ID 1309 ASP.NET warning. Part of the exception messge is DeviceTypeMissingOrInvalid
I have come across a comment that says for certificates to work you need to use windows intune or SCCM which we don't have. Do we know if this is true? -
Extended Notification not working for Dialog Task with agent assignment
Hi Friends,
I have an issue where I have a user decision step and a sub workflow contains a dialog task with agent assignment.
Extended notification is configured properly and is working properly for user decision step but its not working for the dialog task created as an activity.
Batch jobs are configured to run report SWN_SELSEN.
I was checking SDN and found this discussion handy :
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4f/3bed495cc018c8e10000000a42189e/content.htm
One thing that wonders me is that notifications show up in SOST 4-5 seconds before the user decision step starts execution.
See screenshot from SOST and WF log.
SOST log :
2 questions here: Why is notification not being sent for Dialog task?
Why is user decision notification being sent that early even before the User decision task starts execution?
Please provide your valuable inputs.
Regards,
SandipAn activity step with agents is supported by the extended notifications if it is a decision task or not, I have used it many times and it works well just no approval/rejection links if it's not a decision task.
From your screenshot you can see that a mail has been created and is found in SOST, usually this cases are problems with the mail server or connection to it, check the mail settings in the SMTP node in transaction SCOT, also check with mail server team if there is a block to/from the SAP server. -
Hi All,
Please help with the error ORA-00923: FROM keyword not found where expected.
I am trying to execute the following SQL query.
SELECT
CASE
WHEN (Grouping("PRICECATEGORY"."PriceCategoryName")=1) THEN "PriceCatTotal"
ELSE "PRICECATEGORY"."PriceCategoryName"
END AS "PRICECATEGORY"."PriceCategoryName",
CASE
WHEN (Grouping("LINEITEM"."LineDescription")=1) THEN "LineTotal"
ELSE "LINEITEM"."LineDescription"
END AS "LINEITEM"."LineDescription" ,
*"INVOICE"."InvoiceDate",*
Sum("TRANSACTION"."TotalPrice") as "TotalPrice",
Sum("INVOICE_CHILD"."QUANTITY") as "Quantity"
FROM "LINEITEM","INVOICE","TRANSACTION","PRICECATEGORY", "INVOICE_CHILD"
WHERE "TRANSACTION"."InvoiceID"="INVOICE"."InvoiceNumber"
and "TRANSACTION"."PriceCategoryID"="PRICECATEGORY"."PriceCategoryID"
and "INVOICE_CHILD"."INVOICEID"="INVOICE"."InvoiceID"
and "PRICECATEGORY"."PriceCategoryID"="TRANSACTION"."PriceCategoryID"
and "TRANSACTION"."PriceCategoryID"="PRICECATEGORY"."PriceCategoryID"
and "PRICECATEGORY"."PriceCategoryID"="TRANSACTION"."PriceCategoryID"
and "LINEITEM"."LINEITEMID"="TRANSACTION"."LineItemID"
and "LINEITEM"."PRICECATEGORYID"="PRICECATEGORY"."PriceCategoryID"
and "INVOICE"."InvoiceDate" >= :STARTDATE and "INVOICE"."InvoiceDate" <= to_date(:ENDDATE,'DD-MON-YY')+1
GROUP BY "PRICECATEGORY"."PriceCategoryName", "LINEITEM"."LineDescription" WITH ROLLUP
I am using a from keyword at the right place and all the aliases are properly used.
Please advice.
Regards,
Sandeep ReddyJaydip and Jeff are correct:
<li>Jaydip points out that <tt>"PRICECATEGORY"."PriceCategoryName"</tt> and <tt>"LINEITEM"."LineDescription"</tt> are not valid column alias names. They must be unqualified, nonquoted/quoted identifiers.
<li>Jeff indicates that <tt>WITH ROLLUP</tt> is not Oracle SQL syntax, and provides a sample of the required ROLLUP/CUBE clauseOracle SQL <tt>ROLLUP/CUBE clause</tt>.
Additionally, <tt>TRANSACTION</tt> is an Oracle keyword and therefore a poor choice as a database identifier: change the name of this table as soon as possible.
You're having this problem because not all "SQL" is created equal. Your OdeToCode source appears to be a site dealing with Microsoft technologies (SQL Server in this case). Unless you are very familiar with Oracle and SQL Server and the inherent differences between them you'd be advised to stick to purely Oracle resources (I know I do). There are plenty of good Oracle resources out there.
You'll also find it a lot easier to write, read and spot problems in SQL and PL/SQL code if you avoid using quoted identifiers (please tell us the database objects don't have case-sensitive names?) and use short table aliases rather than full table names. And we'll find it easier to help you on this forum if you post code samples wrapped in \...\wrapped in <tt>\...\</tt> tags. -
SQL Query not working in action performed event of combobox in swing
hi all..
i have to retreive from the database based on the item selected in the comboBox.......
when the program runs for the first time the data of defaultselected item is being displayed...
but when another item is selected the data is not retrieved from the database....
i am able to print the selected item but unable to query the database for the selected item
private void resultsItemStateChanged(java.awt.event.ItemEvent evt) {
// TODO add your handling code here:
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn = DriverManager.getConnection("jdbc:odbc:aa");
System.out.println("you have selected me : --- >" + results.getSelectedItem().toString());
sql="SELECT * FROM " + name + " WHERE term = ? ";
srch2 = conn.prepareStatement(sql);
srch2.setString(1,results.getSelectedItem().toString());
rs2 = srch2.executeQuery();
rs2.next();
tarea2.setText("\n Definition:"+rs1.getString(3));
tarea3.setText("\n Description:"+rs1.getString(4));
tarea4.setText("\n Related Terms:"+rs1.getString(5));
tarea5.setText("\n Hyperlinks : "+rs1.getString(6));
tarea6.setText("\n References:"+rs1.getString(7));
conn.close();
rs2.close();
} catch(Exception e){}
} please help me to query the database for the selected item
Thanks in advance...hi all..
i have to retreive from the database based on the item selected in the comboBox.......
when the program runs for the first time the data of defaultselected item is being displayed...
but when another item is selected the data is not retrieved from the database....
i am able to print the selected item but unable to query the database for the selected item
private void resultsItemStateChanged(java.awt.event.ItemEvent evt) {
// TODO add your handling code here:
ResultSet rs2=null;
PreparedStatement srch2 = null;
Connection conn1= null;
Statement us = null;
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn1 = DriverManager.getConnection("jdbc:odbc:aa");
System.out.println("you have selected me : --- >" + results.getSelectedItem().toString());
sql="SELECT * FROM " + name + " WHERE term = ?";
srch2 = conn.prepareStatement(sql);
srch2.setString(1,results.getSelectedItem().toString());
rs2 = srch2.executeQuery();
rs2.next();
tarea2.setText("\n"+rs1.getString(3));
tarea3.setText("\n "+rs1.getString(4));
tarea4.setText("\n"+rs1.getString(5));
tarea6.setText("\n"+rs1.getString(6));
tarea5.setText("\n"+rs1.getString(7));
rs2.close();
conn1.close();
} catch(Exception e){
System.out.println(e);
After printing for the first time it is showing like this ...
java.sql.SQLException: ResultSet is closed
at sun.jdbc.odbc.JdbcOdbcResultSet.checkOpen(JdbcOdbcResultSet.java:6646)
at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.java:257)
at more_info.resultsActionPerformed(more_info.java:301)
at more_info.access$100(more_info.java:25)
at more_info$2.actionPerformed(more_info.java:121)
at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1242)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:569)
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:605)
at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:814)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicComboPopup.java:480)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) -
Table sort is not working for columns.
Hi,
I am using TableSort.java class. Followed https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/user-interface-technology/wd%20java/wdjava%20archive/developing%20with%20tables%20in%20web%20dynpro.pdf
to create the action and assigned that to onSort event for the table. When I run, I see the ascending-descending icons besides the columns, but nothing happens when I click them. Here is the context.
Context
l
l
l ---User_Table
> Email
> Name
|
> Office
Here Name is a custom string (last name, first name). Also office is a custom string (office1, office2, ...etc).
Edited by: srinivas M on Feb 8, 2009 6:03 AM
Edited by: srinivas M on Feb 8, 2009 6:03 AMHi Srinivas,
If you want to do an initial sort. You have to add the following method to the TableSorter class.
public void initialSort(String columnId, IWDNode dataSource) {
// find the things we need
String direction = WDTableColumnSortDirection.UP;
IWDTableColumn column = (IWDTableColumn) table.getView().getElement(columnId);
NodeElementByAttributeComparator elementComparator = (NodeElementByAttributeComparator) comparatorForColumn.get(column);
if (elementComparator == null){
//not a sortable column
column.setSortState(WDTableColumnSortDirection.NOT_SORTABLE);
return;
// sorting
elementComparator.setSortDirection(WDTableColumnSortDirection.valueOf(direction));
dataSource.sortElements(elementComparator);
In your wdDoModifyView() after initializing the tablesorter class you have to call the above method.
if (firstTime) {
IWDTable table = (IWDTable) view.getElement("Table");
wdContext.currentContextElement().setTableSorter(
new TableSorter(table, wdThis.wdGetSortAction(), null));
wdContext.currentContextElement().getTableSorter().initialSort("Your Column ID", wdContext.nodeUser_Search_Results());
Can you double check in your code if the table is bound to the node "User_Search_Results" and not "User_Table". If the table is bound to the "User_Table" then the sort will not work since in the code you are sorting the node "User_Search_Results".
If you want to implement sort on only one column you can use the alternate constructor for the TableSorter class.
TableSorter(IWDTable table, IWDAction sortAction, Map comparators, String[] sortableColumns)
You have to give a String array of columns that need to be sort enabled.
Regards,
Sanyev -
Query not working for all the material, may be space problem, need help.
Hai all,
I have a query with variable material and date range. we have 60,000 materials.
I am doing the report for the month of feb, year 2007.
When I am executing up to 30,000 material the report is generated, anything beyond 30,000 materials the query is abending with the following message.
00010004 AFunction aborted
SR 044 TSV_TNEW_PAGE_ALLOC_FAILED
00010004 ASystem error in program SAPLRSDRC and form TSV_TNEW_PAGE_ALLOC_FAILED ,
BRAIN 299SAPLRSDRC TSV_TNEW_PAGE_ALLOC_FAILED
any help in this regard is very much appreciated.
I am thinking it is a problem with space.But not sure what space it is called?! The basis team saw the temp db and found they have lot of space.
Thanks, Vijay.This tells there is not enough main memory (not disk space) for the program to run.
- You can look the dump in ST22, it will have suggestions on increasing the ROLLAREA??, you can forward that to Basis.
- Most likely you will not have any more memory to assign so the above may not be feasible. Try to rework your query so it works with less data. -
Need a Query that Returns both Column Name with Column Data
Hi,
Hope someone can assist quite quickly. I'm after a query that will return me both column name together with column data, i.e
Table: APP_INFO
COL1 - currently has the value of 10
COL2 - currently has the value of 'HELLO'
COL3 - currently has the value of 'QWERTY'
COL4 - currently has the value of 2000Query I'm after is to return the following result set: [actual column name, actual column data]
COL1,10
COL2,'HELLO',
COL3,'QWERTY'
COL4,2000
Any help would be much appreciated.
Thanks.
Tony.Like this ?
SQL> select empno, ename, deptno from emp where deptno = 10;
EMPNO ENAME DEPTNO
7782 CLARK 10
7839 KING 10
7934 MILLER 10
SQL> select decode(t.id,1,'EMPNO',2,'ENAME',3,'DEPTNO') COLNAME,
2 decode(t.id,1,to_char(empno),2,ename,3,deptno)
3 from (select emp.*, rownum rn from emp
4 where deptno = 10) emp, (select rownum id from dict where rownum <=3) t
5 order by emp.rn, t.id
6 /
COLNAM DECODE(T.ID,1,TO_CHAR(EMPNO),2,ENAME,3,D
EMPNO 7782
ENAME CLARK
DEPTNO 10
EMPNO 7839
ENAME KING
DEPTNO 10
EMPNO 7934
ENAME MILLER
DEPTNO 10
9 rows selected.Rgds. -
I want a sql query to diffrentiate the column names between two schemas
The structure of the dba_tab_cols table is owner, table_name, column_name, data_type,.....
So I have a ACCT_ALT_ID table under owner SEODS01 and in that therse are column names
IBD_ID
ACCT_ALT_ID_CNTX_CDE
EODS_ACCT_ID
DATA_GRP_CDE
UPDT_DTE
AND I have a ACCT_ALT_ID table under owner SEODS02 and in that therse are column names
IBD_ID
ACCT_ALT_ID_CNTX_CDE
EODS_ACCT_ID
DATA_GRP_CDE
CRTE_PGM
CRTE_TSTP
UPDT_PGM
UPDT_TSTP
so I want select query to display like this
SEODS1_ACCT_ALT_ID SEODS02_ACCT_ALT_ID (COLUMN HEADER)
IBD_ID IBD_ID
ACCT_ALT_ID_CNTX_CDE ACCT_ALT_ID_CNTX_CDE
EODS_ACCT_ID EODS_ACCT_ID
DATA_GRP_CDE DATA_GRP_CDE
UPDT_DTE CRTE_PGM
CRTE_TSTP
UPDT_PGM
UPDT_TSTP
AND ALSO I NEED ONE MORE QUERY THAT I DO NOT WANT DISPLAY HAVING SAME COLUMN_NAME LIKE ACCT_ALT_ID_CNTX_CDE ,EODS_ACCT_ID,IBD_ID
DATA_GRP_CDEHi,
Welcome to the forum!
876793 wrote:
The structure of the dba_tab_cols table is owner, table_name, column_name, data_type,.....
So I have a ACCT_ALT_ID table under owner SEODS01 and in that therse are column names
IBD_ID
ACCT_ALT_ID_CNTX_CDE
EODS_ACCT_ID
DATA_GRP_CDE
UPDT_DTE
AND I have a ACCT_ALT_ID table under owner SEODS02 and in that therse are column names
IBD_ID
ACCT_ALT_ID_CNTX_CDE
EODS_ACCT_ID
DATA_GRP_CDE
CRTE_PGM
CRTE_TSTP
UPDT_PGM
UPDT_TSTP
so I want select query to display like this
SEODS1_ACCT_ALT_ID SEODS02_ACCT_ALT_ID (COLUMN HEADER)
IBD_ID IBD_ID
ACCT_ALT_ID_CNTX_CDE ACCT_ALT_ID_CNTX_CDE
EODS_ACCT_ID EODS_ACCT_ID
DATA_GRP_CDE DATA_GRP_CDE
UPDT_DTE CRTE_PGM
CRTE_TSTP
UPDT_PGM
UPDT_TSTPYou may have noticed that this site normally doesn't display multiple spaces in a row.
Whenever you post formatted text (such as query results) on this site, type these 6 characters:
\(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
That way, your message will look like this:SEODS1_ACCT_ALT_ID SEODS02_ACCT_ALT_ID (COLUMN HEADER)
IBD_ID IBD_ID
ACCT_ALT_ID_CNTX_CDE ACCT_ALT_ID_CNTX_CDE
EODS_ACCT_ID EODS_ACCT_ID
DATA_GRP_CDE DATA_GRP_CDE
UPDT_DTE CRTE_PGM
CRTE_TSTP
UPDT_PGM
UPDT_TSTP
This sounds like a jon for a FULL OUTER JOIN:SELECT s1.column_name AS seods1_acct_alt_id
, s2.column_name AS seods2_acct_alt_id
FROM dba_tab_cols s1
FULL OUTER JOIN dba_tab_cols s2 ON s1.column_name = s2.column_name
WHERE s1.owner = 'SEODS1'
AND s1.table_name = 'ACCT_ALT_ID'
AND s2.owner = 'SEODS2'
AND s2.table_name = 'ACCT_ALT_ID'
AND ALSO I NEED ONE MORE QUERY THAT I DO NOT WANT DISPLAY HAVING SAME COLUMN_NAME LIKE ACCT_ALT_ID_CNTX_CDE ,EODS_ACCT_ID,IBD_ID
DATA_GRP_CDESorry, I don;t understand.
Post the results you want (formatted, between \ tags, of course).
Do you want only the column names that appear in one table or the other, but not in both?
In that case, you can add a condition like this to the WHERE clause:
AND ( s1.column_name IS NULL
OR s2.column_name IS NULL
) -
TREX not working for e-recruiting with HTTP content server
We have a separate e-recruiting instance where we have only e-recruiting functionality installed. In this system we are using Storate type as "http content server instead of standard setting "SAP system database" for HR_KW content repository via transaction code "OAC0"
Following are the details
Document Area: HR_KW
Storage type : HTTP Content Server
Version no. 0046 Content Server version 4.6
HTTP server vd24cs02.sce.com
Port Number 8080 SSL Port Number
HTTP Script archive
Phys. path /usr/sap/N09/SYS/global/
Points to be noted:
1) TREX Search functionality for Job postings etc is not
working with this setting, however if we use HR_KW_CONT (storage type=03 SAP System database) , above mentioned functionalities work. We observed that xml files required for TREX search are also not getting created when we change the settings.
2) We observed that when we change the storage type the indexing job is successful but application log shows some failures in reading/modifying xml files
Please let me know what are the settings/ procedure to use a different storage type instead of standard setting delivered with the product. Anything related to the setting for above requirementHi All,
I may have a similary problem but I'm not entirely sure.
I have been tasked with setting up a simple java servlet to authenticate against a BOXI (Business Objects) server, from my tomcat server (tomcat 5.5) on my windows XP desk top machine. I will add more info on this shortly.
I have been supplied with a krb5.ini file and the bscLogin.conf file as follows:
bscLogin.conf :
com.businessobjects.security.jgss.initiate {
com.sun.security.auth.module.Krb5LoginModule required debug=true;
krb5.ini[libdefaults]
default_realm = ADF.SOMEWHERE.CO.UK
dns_lookup_kdc = true
dns_lookup_realm = true
default_tgs_enctypes = rc4-hmac
default_tkt_enctypes = rc4-hmac
[realms]
ADF.SOMEWHERE.CO.UK = {
kdc = DC90.ADF.SOMEWHERE.CO.UK
default_domain = ADF.SOMEWHERE.CO.UK -
Oracle 10g RAC SQL profiles not working for both the nodes
We have identified a long running sql.
Used Advisor to tune the sql
Applied the suggested sql_profile as per the recommendation.
when we re-run the sql from application, due to RAC setup the sql hit the other node, used the sql profile as indicated by v$sql but was long running.
it generated a new sql_id due to which we think it was not working.
Could you please advice how to apply sql_profile for both nodes?HI Arun
Would you please post that in the GRID RAC section of this forum please ?
Please consult the following documents to get support on your question:
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/votocr.htm#sthref211
http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/undrstnd.htm#RISOL2610
Thanks -
Create Unique Index On Flow does not work for table names 23 characters
I have a "create unique index on flow table" step that is dynamically generated by the IKM.
The index name that is generated by the IKM is based on the table name except that the created index name is prefixed with "I$_" and ends with "_idx". Obviously, since Oracle table names can not exceed 30 characters in length, the index creation step will fail if the base table name exceeds 23 characters.
I have tried to substring the index name generation step in the IKM so that it only uses the first 23 characters of the table name, but have not had any luck with using the "substring" command together with snpRef.getTable call.
This is the section of the IKM that I desire to change:
- <Field name="Txt" type="java.lang.String">
- <![CDATA[
create unique index <%=snpRef.getTable("L","INT_NAME","W")%>_idx
on <%=snpRef.getTable("L","INT_NAME","W")%> (<%=snpRef.getColList("", "[COL_NAME]", ", ", "", "UK")%>)
<%=snpRef.getUserExit("FLOW_TABLE_OPTIONS")%>
]]>
</Field>
I would like to change the above to something similar to the following (note the only change is the addition of substring(1,23))
- <Field name="Txt" type="java.lang.String">
- <![CDATA[
create unique index <%=snpRef.getTable("L","INT_NAME","W")*.substring(1,23)*%_idx
on <%=snpRef.getTable("L","INT_NAME","W")%> (<%=snpRef.getColList("", "[COL_NAME]", ", ", "", "UK")%>)
<%=snpRef.getUserExit("FLOW_TABLE_OPTIONS")%>
]]>
</Field>
Any help greatly appreciated. Thanks.As the index is temporary, just like the I$ talbel, the easiest way is to replace the table name with some unique identifier like the session is:
bq. I$_<%=odiRef.getSession("SESS_NO")%>_idx
If for some reason that is not unique enough, add the NNO:
bq. I$_<%=odiRef.getSession("SESS_NO")%><%=odiRef.getSession("NNO")%> \\ _idx -
Drilldown on Query not working for Transactions(SQ01--Report Assignments)
Hi !
I created for deliveries and through SQ01 -- Report assignment I added two
transactions VL03n And VA03. When I execute the query and double click on the
delievery number it takes me to the particular delivery clicked on in VL03n,
but when I clcik on the sales document and select the display sales document,
it does open the VA03 transaction but does not auto populate the transaction
with teh sales document that I clciked on. Could anyone please explain me why
it does not auto-populate with the sales document number , but when deliverey
is clciked it directly takes me to the particular delivery screen?
Thanks
Edited by: Rob Burbank on Jun 18, 2010 2:19 PMAny inputs/idea how to reslove this?
Thanks -
Why is this FMS query not working for me?
There is already a FMS query that works in Delivery Pane. The FMS field there is a user defined field called U_NWR_Bin, rom table DLN1. This works fine and it is alpha numeric 10 characters. This FMS is defined in Marketing Documents rows.
I created another user defined field called U_Bin in table PKL1 for picklist row level. This user defined field shows up in FMS in PickList Pane.
I created a query - SELECT $[DLN1.U_NWR_Bin].
I then assigned above query through Shift F2 to Picklist Pane field U_Bin.
The above query is not executed on clicking the lens it gives the error - Internal error -1004 occured message 131-183.
What am I doing wrong? Please help. Thanks.Hi,
FMS query can only access the current form. $[DLN1.U_NWR_Bin\] is not valid for PickList Pane.
Thanks,
Gordon
Maybe you are looking for
-
No Part I exists for availing credit in excise invoice Message no. 4F112
Hi All, I am getting an error "No Part I exists for availing credit in excise invoice Message no. 4F112" when I am trying to post J1IEX. I tried to update the part I through "J1I5 (Classification ROP)" and error is List contains no data. I tried to c
-
How to use module pool program in my custom report?
Hi, I am developing a custom report in abap. I want to fetch data from a standard module pool program.I want output of this standard module pool program to be used in my standad report.Submit cannot be used with module pool programs. How can i do thi
-
Hello QT's, I'm trying to playback some QT files, originating from cell phone cameras. Half of them work while the others won't play and result in a -2048 message. I'm looking to import into Final Cut Pro to edit together....any suggestions for conve
-
Hi, hope some one can help me. I have a big collection in iTunes: 116,000 Mp3, 1,500 Mp4 and a lot of TV series. The issue is that I can't streaming with my iMac 20'' 2ghz intel core duo ''but'' the strange thing ''using the exactly same library'' I
-
Open more than 65k TCP/IP connections
Hello, is it any possibility to open more than 65535 TCP/IP connections from one IP address as client? Because each connection occupied one port, I can't make more than 65k. Can be established more outgoing connections (as client) from one port to mo