What's wrong with my syntax?
I'm getting an error with this. What's wrong with my syntax?
Error: Scene 1, Layer 'actions', Frame 1, Line 21 1084: Syntax error: expecting rightparen before semicolon.
// Line 21
holder.load(new URLRequest("Interactive_StrategyMap.swf" + "?random=" + Math.random();));
Hi Ned,
I'm trying to force my preloader to load the .swf every time. I do not want it stored in cache (because I'm trying to solve the issue where the dynamic text doesn't load on refresh)
So, I've added this math.random to the end of the string... but now the preloader .swf apparently can't see the .swf I want it to load because the path is Interactive_StrategyMap.swf?random=123 instead of Interactive_StrategyMap.swf
The error I get is:
completeHandler: Interactive_StrategyMap.swf?random=123
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
My full code is:
//THIS IS THE PRELOADER CONTAINER THAT LOADS THE INTERACTIVE
//STRATEGY MAP (Interactive_StrategyMap.swf).
// CREATE A NEW LOADER OBJECT TO HOLD THE LOADED CONTENT
var holder:Loader = new Loader();
var myString:String = "Interactive_StrategyMap.swf" + "?random=123" + Math.random();
addChild(holder);
// CREATE EVENT HANDLERS TO TRACK THE LOADING PROGRESS
// AND TO TRACK THE COMPLETION OF THE LOADED CONTENT
holder.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onLoading);
holder.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
function onComplete(e:Event):void {
this.loadingClip.visible = false;
function onLoading(e:ProgressEvent):void {
var pcent:Number = e.target.bytesLoaded / e.target.bytesTotal * 100;
loadingClip.loadingText.text = int(pcent) + "%";
// LOAD THE EXTERNAL CONTENT
holder.load(new URLRequest(myString));
trace("completeHandler: " + myString);
Similar Messages
-
What's wrong with this Syntax?
Hi,
SQL> ALTER TABLE DISTRIBUTOR_TRADE_WORK
2 ADD (
3 FH_MIN VARCHAR2 (15),
4 JH1_MIN VARCHAR2 (15),
5 JH2_MIN VARCHAR2 (15),
6 GH_MIN VARCHAR2 (15),
7 ADDL_ADDR1 VARCHAR2 (40),
8 ADDL_ADDR2 VARCHAR2 (40),
9 ADDL_ADDR3 VARCHAR2 (40),
10 ADDL_CITY VARCHAR2 (40),
11 ADDL_STATE VARCHAR2 (40),
12 ADDCOUNTRY VARCHAR2 (20),
13 ADDPINCODE VARCHAR2 (6),
14 NOM1_APPLI VARCHAR2 (5,2),
15 NOM2_NAME VARCHAR2 (126),
16 NOM2_RELAT VARCHAR2 (30),
17 NOM2_APPLI VARCHAR2 (5,2),
18 NOM3_NAME VARCHAR2 (126),
19 NOM3_RELAT VARCHAR2 (30),
20 NOM3_APPLI VARCHAR2 (5,2),
21 CHECK_FLAG VARCHAR2 (1),
22 TH_P_PYT VARCHAR2 (1),
23 KYC VARCHAR2 (1),
24 FIRC_STA VARCHAR2 (1));
NOM1_APPLI VARCHAR2 (5,2),
ERROR at line 14:
ORA-00907: missing right parenthesis
Please point out what is missing in this above query.user13535250 wrote:
Hi,
SQL> ALTER TABLE DISTRIBUTOR_TRADE_WORK
2 ADD (
3 FH_MIN VARCHAR2 (15),
4 JH1_MIN VARCHAR2 (15),
5 JH2_MIN VARCHAR2 (15),
6 GH_MIN VARCHAR2 (15),
7 ADDL_ADDR1 VARCHAR2 (40),
8 ADDL_ADDR2 VARCHAR2 (40),
9 ADDL_ADDR3 VARCHAR2 (40),
10 ADDL_CITY VARCHAR2 (40),
11 ADDL_STATE VARCHAR2 (40),
12 ADDCOUNTRY VARCHAR2 (20),
13 ADDPINCODE VARCHAR2 (6),
14 NOM1_APPLI VARCHAR2 (5,2),
15 NOM2_NAME VARCHAR2 (126),
16 NOM2_RELAT VARCHAR2 (30),
17 NOM2_APPLI VARCHAR2 (5,2),
18 NOM3_NAME VARCHAR2 (126),
19 NOM3_RELAT VARCHAR2 (30),
20 NOM3_APPLI VARCHAR2 (5,2),
21 CHECK_FLAG VARCHAR2 (1),
22 TH_P_PYT VARCHAR2 (1),
23 KYC VARCHAR2 (1),
24 FIRC_STA VARCHAR2 (1));
NOM1_APPLI VARCHAR2 (5,2),
ERROR at line 14:
ORA-00907: missing right parenthesis
Please point out what is missing in this above query.
14 NOM1_APPLI VARCHAR2 (5,2),above is invalid -
What is wrong with my syntax?
here is the code in question:
public int payOutChips(int bet)
if (count == 0) return (the_house -=(3*bet), chipswon += 3*bet);
else if (count <= 4) return (the_house -=(2*bet), chipswon += 2*bet);
else return (the_house -= (bet), chipswon += bet)
i keep getting an error in jCreator " ')' expected " why is this? let me explain what i want this part of my code to do, i want it to check if the condition is true and the return two values.yes, id like it to return two values.You'll want to encapsulate that information in an object, then.
Id really apreaciate any help so if you want to help
me further contact me at [email protected] so I
could give you what I have so far.Please don't ask people to reply by private email. Most Forum volunteers believe solving problems should be a public, transparent process during which a first try at an answer can and should be corrected if someone more knowledgeable notices that it is incomplete or incorrect. Also, they get some of their reward for being respondents from being seen to be competent and knowledgeable by their peers.
If you have more to add on this issue, post a short, concise, executable example of what you're trying to do. This does not have to be the actual code you are using. Write a small example that demonstrates your intent, and only that. Wrap the code in a class and give it a main method that runs it - if we can just copy and paste the code into a text file, compile it and run it without any changes, then we can be sure that we haven't made incorrect assumptions about how you are using it. -
What's wrong with this refresh group?
Hello,
I want the materialized views group refresh to refresh once per day so I created the following;
BEGIN
DBMS_REFRESH.MAKE(name=>'mviews_refg',
list=>'mview1,mview2'
next_date => SYSDATE,
interval => 'SYSDATE + 23/24');
END;But the issue, I am seeing the refresh done all the time in serie, what is wrong with this syntax. Please help me in fixing it and provide me the correct systax. My database version is 11.2.0.3.
ThanksThis for 10g but will help
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2664480900346253895 -
What is wrong in the syntax below. i am getting error, sql not ended proper
Need help on CASE syntax. what is wrong with this syntax?
update subject_data set subject_data.value =
case when site.country_id = 222 then 'USA'
when site.country_id = 14 then 'Australia'
when site.country_id = 23 then 'Belgium'
when site.country_id = 40 then 'Canada'
when site.country_id = 56 then 'Czech'
when site.country_id = 79 then 'Germany'
when site.country_id = 101 then 'Israel'
when site.country_id = 151 then 'New Zealand'
when site.country_id = 166 then 'Poland'
when site.country_id = 173 then 'Russia'
end
from subject_data
inner join subject on subject_data.subject_id = subject.id
inner join site on site.id = subject.site_id
where subject_data.datagroup_ID = 445;Hi,
If I remember well this UPDATE FROM syntax is coming from Microsoft SQL Server. I might be wrong because last time I was working on MS SQL Server was 12 years ago. After that I have only worked with Oracle.
And the Oracle syntax for the update is the one explained by Frank. Solomon also gave you another way to do your update.
I could not test this query but I think you could also use an inline view in this way:
UPDATE (SELECT subject_data.VALUE, site.country_id
FROM subject_data
INNER JOIN subject
ON subject_data.subject_id = subject.id
INNER JOIN site
ON site.id = subject.site_id
WHERE subject_data.datagroup_id = 445)
SET VALUE = CASE
WHEN country_id = 222 THEN 'USA'
WHEN country_id = 14 THEN 'Australia'
WHEN country_id = 23 THEN 'Belgium'
WHEN country_id = 40 THEN 'Canada'
WHEN country_id = 56 THEN 'Czech'
WHEN country_id = 79 THEN 'Germany'
WHEN country_id = 101 THEN 'Israel'
WHEN country_id = 151 THEN 'New Zealand'
WHEN country_id = 166 THEN 'Poland'
WHEN country_id = 173 THEN 'Russia'
END;
{code}
Regards.
Al -
What's wrong with this SQL?
what's wrong with this SQL?
Posted: Jan 16, 2007 9:35 AM Reply
Hi, everyone:
when I insert into table, i use the fellowing SQL:
INSERT INTO xhealthcall_script_data
(XHC_CALL_ENDED, XHC_SWITCH_PORT, XHC_SCRIPT_ID, XHC_FAX_SPECIFIED)
VALUES (SELECT TO_DATE(HH_END_DATE||' '||HH_END_TIME,'MM/DD/YY HH24:MI:SS'), HH_SWITCHPORT, HH_SCRIPT,'N'
FROM tmp_healthhit_load WHERE HH_SCRIPT !='BROCHURE' UNION
SELECT TO_DATE(HH_END_DATE||' '||HH_END_TIME,'MM/DD/YY HH24:MI:SS'), HH_SWITCHPORT, HH_SCRIPT,'N' FROM tmp_healthhit_load WHERE HH_SCRIPT !='BROCHURE');
I always got an error like;
VALUES (SELECT TO_DATE(HH_END_DATE||' '||HH_END_TIME,'MM/DD/YY HH24:MI:SS'), HH_SWITCHPORT,
ERROR at line 3:
ORA-00936: missing expression
but I can't find anything wrong, who can tell me why?
thank you so much in advance
mpowel01
Posts: 1,516
Registered: 12/7/98
Re: what's wrong with this SQL?
Posted: Jan 16, 2007 9:38 AM in response to: jerrygreat Reply
For starters, an insert select does not have a values clause.
HTH -- Mark D Powell --
PP
Posts: 41
From: q
Registered: 8/10/06
Re: what's wrong with this SQL?
Posted: Jan 16, 2007 9:48 AM in response to: mpowel01 Reply
Even I see "missing VALUES" as the only error
Eric H
Posts: 2,822
Registered: 10/15/98
Re: what's wrong with this SQL?
Posted: Jan 16, 2007 9:54 AM in response to: jerrygreat Reply
...and why are you doing a UNION on the exact same two queries?
(SELECT TO_DATE(HH_END_DATE||' '||HH_END_TIME,'MM/DD/YY HH24:MI:SS') ,HH_SWITCHPORT ,HH_SCRIPT ,'N' FROM tmp_healthhit_load WHERE HH_SCRIPT !='BROCHURE' UNION SELECT TO_DATE(HH_END_DATE||' '||HH_END_TIME,'MM/DD/YY HH24:MI:SS') ,HH_SWITCHPORT ,HH_SCRIPT ,'N' FROM tmp_healthhit_load WHERE HH_SCRIPT !='BROCHURE');
jerrygreat
Posts: 8
Registered: 1/3/07
Re: what's wrong with this SQL?
Posted: Jan 16, 2007 9:55 AM in response to: mpowel01 Reply
Hi,
thank you for your answer, but the problem is, if I deleted "values" as you pointed out, and then execute it again, I got error like "ERROR at line 3:
ORA-03113: end-of-file on communication channel", and I was then disconnected with server, I have to relogin SQLplus, and do everything from beganing.
so what 's wrong caused disconnection, I can't find any triggers related. it is so wired?
I wonder if anyone can help me about this.
thank you very much
jerry
yingkuan
Posts: 1,801
From: San Jose, CA
Registered: 10/8/98
Re: what's wrong with this SQL?
Posted: Jan 16, 2007 9:59 AM in response to: jerrygreat Reply
Dup Post
jerrygreat
Posts: 8
Registered: 1/3/07
Re: what's wrong with this SQL?
Posted: Jan 16, 2007 10:00 AM in response to: Eric H Reply
Hi,
acturlly what I do is debugging a previous developer's scipt for data loading, this script was called by Cron work, but it never can be successfully executed.
I think he use union for eliminating duplications of rows, I just guess.
thank you
jerry
mpowel01
Posts: 1,516
Registered: 12/7/98
Re: what's wrong with this SQL?
Posted: Jan 16, 2007 10:03 AM in response to: yingkuan Reply
Scratch the VALUES keyword then make sure that the select list matches the column list in number and type.
1 insert into marktest
2 (fld1, fld2, fld3, fld4, fld5)
3* select * from marktest
UT1 > /
16 rows created.
HTH -- Mark D Powell --
Jagan
Posts: 41
From: Hyderabad
Registered: 7/21/06
Re: what's wrong with this SQL?
Posted: Jan 16, 2007 10:07 AM in response to: jerrygreat Reply
try this - just paste the code and give me the error- i mean past the entire error as it is if error occurs
INSERT INTO xhealthcall_script_data
(xhc_call_ended, xhc_switch_port, xhc_script_id,
xhc_fax_specified)
SELECT TO_DATE (hh_end_date || ' ' || hh_end_time, 'MM/DD/YY HH24:MI:SS'),
hh_switchport, hh_script, 'N'
FROM tmp_healthhit_load
WHERE hh_script != 'BROCHURE'
UNION
SELECT TO_DATE (hh_end_date || ' ' || hh_end_time, 'MM/DD/YY HH24:MI:SS'),
hh_switchport, hh_script, 'N'
FROM tmp_healthhit_load
WHERE hh_script != 'BROCHURE';
Regards
Jagan
jerrygreat
Posts: 8
Registered: 1/3/07
Re: what's wrong with this SQL?
Posted: Jan 16, 2007 11:31 AM in response to: Jagan Reply
Hi, Jagan:
thank you very much for your answer.
but when I execute it, I still can get error like:
ERROR at line 1:
ORA-03113: end-of-file on communication channel
so wired, do you have any ideas?
thank you very muchAnd this one,
Aother question about SQL?
I thought I already told him to deal with
ORA-03113: end-of-file on communication channel
problem first.
There's nothing wrong (syntax wise) with the query. (of course when no "value" in the insert) -
What is wrong with my Data Guard system?
What is wrong with my Data Guard system(10g10.2.0 on OEL5.0)? What method should I take to diagnose it and repair it?
After shutting down last night, my Data Guard does not run normally today.
On the primary database I issue the following commands:
DGMGRL> show configuration verbose;
Configuration
Name: sdb10g
Enabled: YES
Protection Mode: MaxAvailability
Fast-Start Failover: ENABLED
Databases:
sdb10g - Primary database
stdby10g - Physical standby database
- Fast-Start Failover target
Fast-Start Failover
Threshold: 30 seconds
Observer: hostp
Current status for "sdb10g":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show fast_start failover;
show fast_start failover;
Syntax error before or at "fast_start"
SQL> startup
ORACLE instance started.
Database mounted.
ORA-16649: database will open after Data Guard broker has evaluated Fast-Start
Failover status
On the physical standby database I issue the commands:
SQL> startup mount
ORACLE instance started.
Database mounted.
SQL> recover managed standby database disconnect;
Media recovery complete.
DGMGRL> show configuration verbose;
Configuration
Name: sdb10g
Enabled: YES
Protection Mode: MaxAvailability
Fast-Start Failover: ENABLED
Databases:
sdb10g - Primary database
stdby10g - Physical standby database
- Fast-Start Failover target
Fast-Start Failover
Threshold: 30 seconds
Observer: hostp
Current status for "sdb10g":
Warning: ORA-16607: one or more databases have failed
DGMGRL> disable fast_start failover;
Error: ORA-01034: ORACLE not available
Failed.
Message was edited by:
frank.qian
null
nullThe primary database cannot be opened and the fast_start failover cannot be discabled:
SQL> SQL> ALTER DATABASE open
ERROR at line 1:
ORA-16649: database will open after Data Guard broker has evaluated Fast-Start
Failover status
DGMGRL> disable fast_start failover;
Error: ORA-01034: ORACLE not available -
What's wrong with my XPath statement using dom4j?
I'm pretty new to XML. However, I did pick up a book and I'm pretty much through it. I got a copy of dom4j and I created a sample XML file. I'm able to parse the data and find out the child elements of root but I'm having problems with using XPath no matter what I do. Here's my code:
import org.dom4j.*;
import org.dom4j.io.*;
import java.util.*;
import java.io.*;
public class XMLACL {
org.dom4j.Document doc;
org.dom4j.Element root;
XMLACL(String x) {
String tempFile = System.getProperty("user.dir") + "/winsudo.xml";
tempFile = tempFile.replace('\\', '/');
SAXReader xmlReader = new SAXReader();
try {
doc = xmlReader.read(tempFile);
catch (Exception e) {}
root = doc.getRootElement();
//treeWalk();
//iterateRootChildren("grant");
XPath xpathSelector = DocumentHelper.createXPath("/grant[@prompt='no']");
List results = xpathSelector.selectNodes(doc);
for (Iterator iter = results.iterator(); iter.hasNext(); ) {
Element element = (Element) iter.next();
System.out.println(element.getName());
}And here's my XML:
<?xml version="1.0" encoding="UTF-8"?>
<config>
<alias name="admin">
<user>geneanthony</user>
<user>mike</user>
<user>rob</user>
</alias>
<grant prompt="no" runas="root" service="no">
<user>geneanthony</user>
<command>!ALL</command>
</grant>
<grant>
<user>geneanthony</user>
<group>users</group>
<command>C:/Program Files/Mozilla Firefox/firefox.exe</command>
</grant>
<grant>
<alias>admin</alias>
<command>!Panels</command>
</grant>
</config>I'm currently getting this error:
C:\Borland\JBuilder2005\jdk1.4\bin\javaw -classpath "C:\code\java\WinSudo\classes;C:\Borland\JBuilder2005\jdk1.4\jre\javaws\javaws.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\charsets.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\dnsns.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\ldapsec.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\localedata.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\ext\sunjce_provider.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\im\indicim.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\im\thaiim.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\jce.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\jsse.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\plugin.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\rt.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\sunrsasign.jar;C:\Borland\JBuilder2005\jdk1.4\lib\dt.jar;C:\Borland\JBuilder2005\jdk1.4\lib\htmlconverter.jar;C:\Borland\JBuilder2005\jdk1.4\lib\tools.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\jRegistryKey.jar;C:\Borland\JBuilder2005\jdk1.4\lib\hsqldb.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\dom4j-1.6.1.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\syntax.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\IzPack-install-3.7.2.jar" winsudo.Main
java.lang.NoClassDefFoundError: org/jaxen/JaxenException
at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230)
at org.dom4j.DocumentHelper.createXPath(DocumentHelper.java:121)
at winsudo.XMLACL.<init>(XMLACL.java:26)
at winsudo.Main.main(Main.java:15)
Exception in thread "main"
Can someone tell me what's wrong with my code. None of the samples I've seen came with the XML files so I don't know if I when I start the XPATH I need to use / for the root element, or // or a forward slash and the root name. Can I please get some help!Thank you! I didn't haven Jaxen I thought everything was in the package and I must have missed it in the tutorials. That resolved the dropouts and I think I'm good know. I couldn't think for the life of me what I was doing wrong!
-
We are trying to create a proxy from the following wsdl file and getting an error message: illegal syntax: API:Parameter BINDING has initial value
The webservice that we are trying to consume is from TIBCO .
Can someone please help me to find out what's wrong with the wsdl.
<?xml version = "1.0" encoding = "UTF-8"?>
<!--Created by TIBCO WSDL-->
<wsdl:definitions name = "Untitled" targetNamespace = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns = "http://xmlns.example.com/1268018884234/OperationImpl" xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/" xmlns:xs = "http://www.w3.org/2001/XMLSchema">
<wsdl:types/>
<wsdl:service name = "TIBCO__ABAP">
<wsdl:port binding = "tns:SOAPEventSourceBinding" name = "SOAPEventSource">
<soap:address location = "http://192.168.9.58:10001/TIBCO_ABAP"/>
</wsdl:port>
</wsdl:service>
<wsdl:portType name = "PortType">
<wsdl:operation name = "Operation">
<wsdl:input message = "tns:Input"/>
<wsdl:output message = "tns:Output"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name = "SOAPEventSourceBinding" type = "tns:PortType">
<soap:binding style = "document" transport = "http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name = "Operation">
<soap:operation soapAction = "http://192.168.9.58:10001/TIBCO_ABAP" style = "document"/>
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:message name = "Input">
<wsdl:part name = "Param1" type = "xs:int"/>
<wsdl:part name = "Param2" type = "xs:int"/>
</wsdl:message>
<wsdl:message name = "Output">
<wsdl:part name = "Result" type = "xs:int"/>
</wsdl:message>
</wsdl:definitions>Léon Hoeneveld's response works for me. You will need to download a tool that allows you to edit the WSDL and reorder the values.
I've used a freeware tool like notepad++ collapsed all the levels and opened up the <wsdl:definitions xmlns:wsdl... segment and reordered the subgroups beneath it accordingly.
1. types
2. message
3. portType
4. binding
5. service
Thanks again Léon! -
What's wrong with my store procedure?
HI, I can't figure out what's wrong with my stored procedure. I believe i have a "commit;" where it's not supposed to be. What i really want to acheive is save the record once it finds those keywords. Maybe my syntax is all wrong.
I am getting the following error msg. PLS-00103
create or replace
procedure sp_diag is
DECLARE
v_setting_key NUMBER(18);
v_parent NUMBER(22);
v_name VARCHAR2(100);
v_class_key NUMBER(22);
CURSOR c1 IS
select setting_key, setting_class_key,name
from cms2wire.setting_list;
CURSOR c2 IS
select setting_class_key, parent_class_key,name
from cms2wire.setting_class
where setting_class_key = v_parent;
BEGIN
OPEN c1;
LOOP
FETCH c1 into v_setting_key, v_parent, v_name;
EXIT when c1%NOTFOUND;
WHILE v_parent != null
LOOP
OPEN c2;
FETCH c2 into v_class_key, v_parent, v_name;
CLOSE c2;
IF v_name='Diag.'or v_name='Settings.' THEN
COMMIT;
END IF;
END LOOP;
END LOOP;
CLOSE c1;
END;
-------------------------------------------------------------------------------------Now, the way I see it, if you want to save the information, then you need to put it some place, so your slow-by-slow stored procedure becomes something like
INSERT INTO some_table (column list)
SELECT a.setting_key,
a.setting_class_key,
a.name
b.setting_class_key,
b.parent_class_key,
b.name
FROM cms2wire.setting_list a,
cms2wire.setting_class b
WHERE a.setting_class_key = a.setting_class_key
AND b.name in ('Diag.', 'Settings.');
COMMIT;does it not? -
Anyone from ORACLE knows what's wrong with oidspadi.sh
Hi,
I downloaded the Cygwin and am trying to run oidspadi.sh it keeps giving the following error.
$ ./oidspadi.sh
: command not found 28:
: command not found 38:
: command not found 43:
: command not found 47:
: command not found 51:
: command not found 58:
: command not found 59:
: command not found 60: clear
OID Active Directory Plug-in Configuration
Please make sure Database and OID are up and running.
: command not found 67:
: command not found 70:
./oidspadi.sh: line 103: syntax error near unexpected token `fi'
'/oidspadi.sh: line 103: ` fi
[//code]
I did set my ORACLE_HOME and also am able to connect to OID but don't what's wrong with the script. I am using 10.1.2.0.2 on windows.
ThanksI found out the resolution please see Note:403469.1.
Thanks -
Can anybody see what is wrong with this SQL statement?
Hey guys, just a quick question. Can anybody tell me what is wrong with this line of SQL? I keep getting a syntax error message. I've been trying for ages and I can't see any problem at all!"
{code}prepStat = connection.prepareStatement("INSERT INTO WeatherHistory (Date, Location, Overview, Temperature, WindDirection, WindSpeed, Pressure) VALUES ('"+date+"','"+location+"','"+temp+"','"+windDir+"','"+windSpd+"','"+pressure+"')");{code}
All the field names and variables definitely exist so I can't see what the problem is!DHD wrote:
Thanks for the replies.
I've matched the correct number of column names and variables, but still no luck.
And how exactly am I misusing Prepared Statements here?As noted above, not according to the code you posted. I didn't just pluck something out of my @ss and throw it out there. There was a reason behind what I said. And, if you mean you changed it, and you still got an exception, then post that exception (completely), and your new code, which is, hopefully, using PreparedStatement, (properly). -
Can you see what's wrong with my sql clause?
Select afkogltri sum( afpowemng ) as yqty
from ( afpo inner join afko on afpoaufnr = afkoaufnr )
into ( d_gltri , d_wemng )
where afpo~matnr = wa_pir-matnr
and year( afko~gltri ) = year( sy-datum )
group by afko~gltri.
The above is my sql clause, when I do a syntax check, it said:"Comma without preceding colon (after SELECT ?)"
Can you tell me what's wrong with this sql clause?
Thank you very much!Hi,
Select Bgltri sum( Awemng ) <b>as yqty</b> (????)
into ( d_gltri , d_wemng )
from afpo as A inner join afko as B
on Aaufnr = Baufnr
where A~matnr = wa_pir-matnr
and year( B~gltri ) = year( sy-datum )
group by B~gltri.
ENDSELECT.
eg<b>:... INTO (f1, ..., fn</b>)
Places the result set in the target area (f1, ..., fn). The fields of the result set are transported to the target fields fi from left to right. INTO (f1, ..., fn) is allowed only if a list with n elements is also specified in the SELECT clause.
<b>If the result of a selection is a table, the data is retrieved in a processing loop introduced by SELECT and concluded by ENDSELECT. The processing passes through the loop once for each line read. If the result is a single record, the closing ENDSELECT is omitted.</b>
Example
Output a list of all airlines (with short description and name):
TABLES SCARR.
DATA: CARRID LIKE SCARR-CARRID,
CARRNAME LIKE SCARR-CARRNAME,
SELECT CARRID CARRNAME
INTO (CARRID, CARRNAME)
FROM SCARR.
WRITE: / CARRID, CARRNAME.
ENDSELECT
Thanks & Regards,
Judith. -
What's wrong with my browsers?
When i first got my macbook the internet was going really slow but then i changed the dns server to 4.2.2.2 and sometimes change it to 4.2.2.1 and the internet got better but now my browsers are acting funny.
One moment i'm surfing webpages with safari or firefox.... Chatting with AdiumX or MS Messenger... and suddenly it just stops... Msn is getting time-out's, Safari says I'm not connected.
But Airport sais it is still connected to my wireless network (with all the black bar's filled). It has valid IP adress etc, But everywhere I want to go on the internet it sais I'm not connected.
When I disconnect the airport en let it reconnect with my wireless network, the connection is fine.
how can i fix this?Most users shouldn't be manually entering DNS addresses, and those DNS addresses you mention probably aren't intended for end users. Is Level3 your ISP?
That doesn't answer 'what's wrong with my browsers?', but a good start would be to configure your network according to your ISP's instructions. If you have DNS problems then, you might try using OpenDNS. -
What's wrong with networking since Leopard?
Hi,
I'm with Mac since years. I was a PC User once and spent hours with all kinds of network troubles. What convinced me with Mac right in the beginning was easy networking: It just worked!
But since Leopard things got worse: I have several MBP's, iMacs, Airport Extreme's and Airport Express's at different places which I installed, and I face the same problems at EVERY place:
- I can't connect to AExtreme for several reasons: timeout, security incompatibility, ...
- Sometimes only two Macs are allowed to connect to one AExtreme
- Airport doesn't find Aiport or any other networks for minutes
- After connecting to the router, can't get an IP (self-assigned IP only) - other PCs get an IP.
- Aiport Extreme crashes (yellow blinking)
- connection loss (even when AExtreme is very close)
Now I know about networking, about configuration, I've done this for years. Whatever I do, problems disappear and appear again, at different times, at different places with different hardware.
What is wrong with Leopard? Such problems remind me of times with Windows98 and stuff like that.What's wrong with networking since Leopard?
on my network and many i have setup there have been no problems with leopard. However there are always teething problems with new operating systems. Thankfully with leopard only a tiny percentage of users experience technical difficulties.
can't connect to AExtreme for several reasons: timeout, security incompatibility,
is it set to use WPA/WPA2
Airport doesn't find Aiport or any other networks for minutes
sometimes my macbook pro takes a while to show up any networks if there are lots in the area this is because it is scanning them all.
After connecting to the router, can't get an IP (self-assigned IP only) - other PCs get an IP.
What kind of router are you using? What happens if you powercycle the router?
# Aiport Extreme crashes (yellow blinking)
# connection loss (even when AExtreme is very close)
Have you tried resetting your AE to default. reinstalling its firmware or checking for a firmware update?
Have you tried changing hte wireless channel your networ is broadcasting on?
What is wrong with Leopard? Such problems remind me of times with Windows98 and stuff like that.
Did you upgrade install your leopard installation or did you do clean (erase) installations?
Have you tried created new network locations?
Maybe you are looking for
-
Problems with Template JDeveloper 11g
Hi! I have problems with template in Jdeveloper 11g. I had created jspx page from templeate: <?xml version='1.0' encoding='windows-1257'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h
-
Hi, what is the use of "At selection screen on value request p_carrid". Plz explain me with the help of examples. Thanks a lot.
-
Deleting items which are cheked in CheckBox
Hi I am deleting some items which are checked by the user in the check box. If user checks 3 items and click delete, I should delete all the items which are checked. help me in solving this issue. Sample code will be very helpful. Thanks soori
-
Design Question: Creating One Object Type From Multiple Inputs
Hi, I'm attempting to expand my brain a bit and come up with a more elegant solution to a design I created a few years ago. In simple terms, I have a data object (Request) which can be created based on data in a text file or from data previously pers
-
Every time I go to my shopping cart to purchase music I keep getting this error "We could not complete your ITunes store request. An unknown error occured (5002). There was an error in the Itunes store. Please try again later." I have been trying for