Crash of Oracle XE when check constraint uses in-operator with desc. values
ORA-03113 and other errors in conjunction with lost of connection occur in Oracle XE under the following conditions:
/* Crash (values of check constraint in descending order) */
DROP TABLE CRASHTEST CASCADE CONSTRAINTS;
CREATE TABLE CRASHTEST
CRASHTEST_ID NUMBER(9),
CRASHTEST_OK NUMBER(1) DEFAULT 0
ALTER TABLE CRASHTEST ADD (CONSTRAINT CRASHTEST_CK CHECK (CRASHTEST_OK IN (0,-1)));
INSERT INTO CRASHTEST (CRASHTEST_ID, CRASHTEST_OK) VALUES (1, 0);
INSERT INTO CRASHTEST (CRASHTEST_ID, CRASHTEST_OK) VALUES (2, -1);
COMMIT;
SELECT * FROM CRASHTEST WHERE CRASHTEST_OK = 0;
If all values of the in-clause within the check constraint are entered in ascending order, no error occurs:
/* No Crash (values of check constraint in ascending order) */
DROP TABLE CRASHTEST CASCADE CONSTRAINTS;
CREATE TABLE CRASHTEST
CRASHTEST_ID NUMBER(9),
CRASHTEST_OK NUMBER(1) DEFAULT 0
ALTER TABLE CRASHTEST ADD (CONSTRAINT CRASHTEST_CK CHECK (CRASHTEST_OK IN (-1,0)));
INSERT INTO CRASHTEST (CRASHTEST_ID, CRASHTEST_OK) VALUES (1, 0);
INSERT INTO CRASHTEST (CRASHTEST_ID, CRASHTEST_OK) VALUES (2, -1);
COMMIT;
SELECT * FROM CRASHTEST WHERE CRASHTEST_OK = 0;
Especially interesting is the fact, that the error is caused by a check constraint in conjunction with a select statement!
Hopefully, there are no other hidden bombs stealing my time...
Have a nice day,
Sven
It might be interesting to post that in the XE forum to notify Oracle developers and XE users.
Oracle Database Express Edition (XE)
C.
Similar Messages
-
How to configure Oracle 10g Advanced Security to use SSL concurrently with
How to configure Oracle 10g Advanced Security to use SSL concurrently with database User names and passwords
In Oracle Advanced Security Documentation it is mentioned that i can use SSL concurrently with DB user names and passwords. But when i configure the client certificate on the client my DB connection is getting authenticated using the certificate, which out passing user id or password.
We want to connect to Oracle DB over SSL channel so that the data packets are not in clear text. Also we want the user to make a connection using user id and password.
Basically we want SSL with out authentication.
Need your expert adviceRead the documentation (I have given following links assuming you are running a 32 bit architecture)
Server installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14316%2Ftoc.htm&remark=portal+%28Books%29
Client installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14312%2Ftoc.htm&remark=portal+%28Books%29
You can find the required books (if not using 32 bit architecture) from
http://www.oracle.com/pls/db102/portal.portal_db?selected=3 -
Error while using between operator with sql stmts in obiee 11g analytics
Hi All,
when I try to use between operator with two select queries in OBIEE 11g analytics, I'm getting the below error:
Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
Odbc driver returned an error (SQLExecDirectW).
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <select>: Syntax error [nQSError: 26012] . (HY000)
can anyone help me out in resolving this issue.Hi All,
Thank u all for ur replies, but I dint the exact solution for what I'm searching for.
If I use the condition as
"WHERE "Workforce Budget"."Used Budget Amount" BETWEEN MAX("Workforce Budget"."Total Eligible Salaries") AND MAX("Workforce Budget"."Published Worksheet Budget Amount"",
all the data will be grouped with the two columns which I'm considering in the condition.
my actual requirement with this query is to get the required date from a table to generate the report either as daily or weekly or monthly report. If I use repository variables, variables are not getting refreshed until I regenerate the server(which I should not do in my project). Hence I have created a table to hold weekly start and end dates and monthly start and end dates to pass the value to the actual report using between operator.
please could anyone help me on this, my release date is fast approaching. -
How we can use OR operator with string in java??
Gaurav1 wrote:
its logical OR operator;how can we use it with matcher classLike its been said already. The "logical OR" is used the same everywhere.
Why don't you post the code you're having problems with. (Only the relevant areas, please. And use code tags.) -
Domain check constraint using column name
Hello,
in the domain administration of Data Modeler, I defined a domain "age",
and set it to logical type "Integer". Now I want to define a check constraint
for that domain, saying, that every attribute of domain "age" must have
values greater than 18.
But how should I specify the column name for that check-constraint, since
I cannot know now, to which columns this domain will be applied to, and
these columns could have different names!
I tried {column} > 18 and hoped that {column} might be substituted by
the appropriate column name when generating DDL but it was not,
the DDL contained "check ( {column} > 18 ) which did of course not work.
Does anybody have an idea?Thanks a lot, that solved the problem. I noticed additionally, that %COLUMN% is case sensitive, so %COLUMN% gets substituted by the column name in the DDL, while %column% does not.
-
All I could come up with is this:
check (column_name like '____');
But That doesn't enforce the first character to be a letter and the other three to be numbers.Hi,
"PS: Why the f***you have so many subforums here?"
Because it is much easier to seperate and let experts answer to specific details of SQL Server. SQL Server is not a small product as many people think ;-)
Here is the solution:
CREATe table SampleA (A INT, B VARCHAR(MAX) CHECK (B LIKE '[A-Z][0-9][0-9][0-9]'))
INSERT INTO SampleA VALUES (1,'0000')
Msg 547, Level 16, State 0, Line 2
The INSERT statement conflicted with the CHECK constraint "CK__SampleA__B__38B96646". The conflict occurred in database "master", table "dbo.SampleA", column 'B'.
The statement has been terminated.
INSERT INTO SampleA VALUES (1,'L000')
--(1 row(s) affected)
INSERT INTO SampleA VALUES (1,'L0001')
Msg 547, Level 16, State 0, Line 2
The INSERT statement conflicted with the CHECK constraint "CK__SampleA__B__38B96646". The conflict occurred in database "master", table "dbo.SampleA", column 'B'.
The statement has been terminated.
-Jens
Jens K. Suessmeyer http://blogs.msdn.com/Jenss -
How to make VM to suspend when it not use , VDI3.0 with SGD 4.5
Hi All,
We are using SunVDI3.0 with VBox 2.0.10 and connecting via SGD 4.5.
i konw that we can do suspending vm on vmware esx, however i couldn't find it in VirtualBox provider.
how to make VM to suspend when vm is not using for some period time.
thanks in advance
-kevin-
Edited by: kevin on Sep 27, 2009 5:44 PMHi All,
We are using SunVDI3.0 with VBox 2.0.10 and connecting via SGD 4.5.
i konw that we can do suspending vm on vmware esx, however i couldn't find it in VirtualBox provider.
how to make VM to suspend when vm is not using for some period time.
thanks in advance
-kevin-
Edited by: kevin on Sep 27, 2009 5:44 PM -
Using in operator with bindveriable
Dear All,
i facing proplem when i try to make SQL query using "in" operator but i send value as bind virable
example
Select emp.emp_id
from emp
where emp.emp_id in (:pEmpId)
but when i execute it and enter value for the bind i didn't get the result .
any idea how to solve this problem
Best RegardsSomething like this will work (10g onwards)
SQL> ed
Wrote file afiedt.buf
1 with req as (select '&required_empnos' as empno from dual)
2 --
3 select *
4 from emp
5 where empno in
6 (select regexp_substr(empno, '[^,]+', 1, rownum)
7 from req
8* connect by rownum <= length(regexp_replace(empno, '[^,]'))+1)
SQL> /
Enter value for required_empnos: 7839,7499,7934
old 1: with req as (select '&required_empnos' as empno from dual)
new 1: with req as (select '7839,7499,7934' as empno from dual)
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7839 KING PRESIDENT 17-NOV-81 5000 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
SQL> -
Why not use "new" operator with strings
why we not use new when declaring a String .because in java String are treated as objects. we use new operator for creating an object in java .
and same problem wiht array when we declare array as well as initialize .here we are alse not using new for array
whyStrings aren't just treated as objects, Strings are Objects.
As for why not using new for Strings, you can, if you want.:
String str = "this is a string";
and
String str = new String("this is a string");
do the same thing (nitty-gritty low level details about literals aside). Use whatever you like, but isn't it simpler not to type new String(...) since you still need to type the actual string?
As for arrays, you can use new:
int[] ints = new int[10];
or
int[] ints = { 0, 1, 2, 3, ..., 9 };
But the difference here is you are creating an empty array in the first one, the second creates and fills the array with the specified values. But which to you often depends on what you are doing. -
Cant' constraint DOM editing operations with a schema
Hi,
I use the DOM for editing an XML document. I want to control editing operations with a schema. I use something like that:
DOMParser domParser = new DOMParser();
domParser.setValidationMode(XMLParser.SCHEMA_VALIDATION);
XSDBuilder builder = new XSDBuilder();
URL url = new URL(SchemaUrl);
XMLSchema schemadoc = (XMLSchema) builder.build(url);
domParser.setXMLSchema(schemadoc);
domParser.parse(XmlDocumentUrl);
// here i want to remove an empty node
if ((node.getNodeType() == Node.ELEMENT_NODE) && (!node.hasChildNodes())) {
NodeEditVAL node2edit = (NodeEditVAL)node.getParentNode();
if ( (node2edit.canRemoveChild(nodet) == XMLNode.VAL_TRUE )) {
node.getParentNode().removeChild(node);
canRemoveChild() always returns VAL_TRUE even if the node is mandatory according the schema.
Thanks for your help,
PhilippeHi Philippe,
I wrote a test case and I am observing the same behaviour as you. I have logged an internal bug against the XML parser team. I will post a reply when I get more information from them.
-Blaise -
Report script - using substitution variable with multiple values
Hi All,
Substitution variable with multiple values is not working correctly with Report scripts. Can you please let me know what is the syntax to assign multiple values to a sub variable using maxl:
alter database samp.samp set variable 'ExtractQuarter' 'Q1,Q2,Q3,Q4';
alter database Samp.Samp set variable 'ExtractQuarter' 'Q1:Q4';
I tried both of the above but they are errored out with the below error:
Error: 1001005 - Unknown Member [Q1:Q4] in Report.
my requirement is different for both Actual and forecast data extract so i would like to make use of this variable to extract whole year data for Forecast and current quarter data for Actual with out duplicating the report scripts for both processes.
Thanks,
PRaveenHi,
Please refer following thread,
range of months in report script?
Hope it helps.
Regards -
Despite having uninstalled, reinstalled, change compatibility, run as admin and a host of other "fixes", LC keeps crashing, closing out and otherwise failing to operate. At this point the most I have been able to accomplish has been inserting 3 text boxes and then naming them. As soon as I change the caption name on the 3rd box (or sooner) the program stops working and I get the wonderful message from windows telling me, the program has stopped. I needed the extra input from Windows because, you know, when the program crashes I was just thinking it was naptime. 2.5 hours I have spent so far trying to fix this. Someone please help me!!
I am not sure what you mean by "Flash Player for steam"; the only Flash Player installers I know is the ActiveX (for Internet Explorer) and the plugin (for other browsers); you can find both at http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
[topic moved to Flash Player forum] -
Oracle 9i/10G DB authentication using Active Directory (with out OID)
Hello All,
We want to use a Single-Password authentication scheme using the Active
Directory as the primary source for userId/Password.
We don't want to use the Active Directory and OID bridge.
As we have many databases and would like to configure all Databases to use Active
Directory for Authentication. Our goal is to have single id/password across all
the databases and any user should be able to login from any computer using their
windows id/password, note that we don't want to use the OSAuthentication.
We have read the documents provided by oracle for authentication using Active
Directory, we were able to create Oracle Schema in Active Directory and were
also able to register a DB with Active Directory and then created user as global
user in Oracle Database and provided the DN of the user. When we tried
authenticate with all this setup it comes back and says invalid ID/Password !!!
And with 10G database we get the Oracle Error ORA-03113: end-of-file on communication channel !!
Has any one tried or have information on Integrating Oracle to Auth against Active Directory?
Envoirnment:
Oracle DB Version: 9.2.0 and also tried on 10.0.1 with same results
Operating System: Windows 2000/ Windows 2000 Server
Constraint: We don't want to user OID ( as we don't have license for this
product ! )I have a thread started similar to your request.
OS Authenication on Windows
Somewhere I read this. It works on Oracle 9i on Linux, but I have not tried it with Oracle 9i on Windows.
SHOW PARAMETER OS_AUTHENT_PREFIX;
SHOW PARAMETER REMOTE_OS_AUTHENT;
CREATE USER OPS$SOMEUSER IDENTIFIED EXTERNALLY;
GRANT CREATE SESSION TO OPS$SOMEUSER;
For the username, I wonder if we are supposed to put the Windows Domain name as part of the username? Such as, for a Windows domain user MyDomain\SomeUser
CREATE USER OPS$MYDOMAIN\SOMEUSER IDENTIFIED EXTERNALLY;
I really wish Oracle or somebody created a guide or book on how to do this. -
Oracle Data Mining - How to use PREDICTION function with a regression model
I've been searching this site for Data Mining Q&A specifically related to prediction function and I wasn't able to find something useful on this topic. So I hope that posting it as a new thread will get useful answers for a beginner in oracle data mining.
So here is my issue with prediction function:
Given a table with 17 weeks of sales for a given product, I would like to do a forecast to predict the sales for the week 18th.
For that let's start preparing the necessary objects and data:
CREATE TABLE T_SALES
PURCHASE_WEEK DATE,
WEEK NUMBER,
SALES NUMBER
SET DEFINE OFF;
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('11/27/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 1, 55488);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('12/04/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 2, 78336);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('12/11/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 3, 77248);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('12/18/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 4, 106624);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('12/25/2010 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 5, 104448);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('01/01/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 6, 90304);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('01/08/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 7, 44608);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('01/15/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 8, 95744);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('01/22/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 9, 129472);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('01/29/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 10, 110976);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('02/05/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 11, 139264);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('02/12/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 12, 87040);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('02/19/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 13, 47872);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('02/26/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 14, 120768);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('03/05/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 15, 98463.65);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('03/12/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 16, 67455.84);
Insert into T_SALES
(PURCHASE_WEEK, WEEK, SALES)
Values
(TO_DATE('3/19/2011 23:59:59', 'MM/DD/YYYY HH24:MI:SS'), 17, 100095.66);
COMMIT;
There are a lot of linear regression models and approaches for sales forecast out on the market, however I will focus on what oracle 11g offers i.e. package SYS.DBMS_DATA_MINING to create a model using regression as mining function and then, once the model is created, to apply prediction function on the model.
Therefore I'll have to go through few steps:
i) normalization of data
CREATE OR REPLACE VIEW t_sales_norm AS
SELECT week,
sales,
(sales - 91423.95)/27238.3693126778 sales_norm
FROM t_sales;
whereas the numerical values are the mean and the standard deviation:
select avg(sales) from t_sales;
91423.95
select stddev(sales) from t_sales;
27238.3693126778
ii) auto-correlation. For the sake of simplicity, I will safely assume that there is no auto-correlation (no repetitive pattern in sales among the weeks). Therefore to define the lag data I will consider the whole set:
CREATE OR REPLACE VIEW t_sales_lag AS
SELECT a.*
FROM (SELECT week,
sales,
LAG(sales_norm, 1) OVER (ORDER BY week) L1,
LAG(sales_norm, 2) OVER (ORDER BY week) L2,
LAG(sales_norm, 3) OVER (ORDER BY week) L3,
LAG(sales_norm, 4) OVER (ORDER BY week) L4,
LAG(sales_norm, 5) OVER (ORDER BY week) L5,
LAG(sales_norm, 6) OVER (ORDER BY week) L6,
LAG(sales_norm, 7) OVER (ORDER BY week) L7,
LAG(sales_norm, 8) OVER (ORDER BY week) L8,
LAG(sales_norm, 9) OVER (ORDER BY week) L9,
LAG(sales_norm, 10) OVER (ORDER BY week) L10,
LAG(sales_norm, 11) OVER (ORDER BY week) L11,
LAG(sales_norm, 12) OVER (ORDER BY week) L12,
LAG(sales_norm, 13) OVER (ORDER BY week) L13,
LAG(sales_norm, 14) OVER (ORDER BY week) L14,
LAG(sales_norm, 15) OVER (ORDER BY week) L15,
LAG(sales_norm, 16) OVER (ORDER BY week) L16,
LAG(sales_norm, 17) OVER (ORDER BY week) L17
FROM t_sales_norm) a;
iii) choosing the training data. Again, I will choose the whole set of 17 weeks, as for this discussion in not relevant how big should be the set of training data.
CREATE OR REPLACE VIEW t_sales_train AS
SELECT week, sales,
L1, L2, L3, L4, L5, L6, L7, L8, L9, L10,
L11, L12, L13, L14, L15, L16, L17
FROM t_sales_lag a
WHERE week >= 1 AND week <= 17;
iv) build the model
-- exec SYS.DBMS_DATA_MINING.DROP_MODEL('t_SVM');
BEGIN
sys.DBMS_DATA_MINING.CREATE_MODEL( model_name => 't_SVM',
mining_function => dbms_data_mining.regression,
data_table_name => 't_sales_train',
case_id_column_name => 'week',
target_column_name => 'sales');
END;
v) finally, where I am confused is applying the prediction function against this model and making sense of the results.
On a search on Google I found 2 ways of applying this function to my case.
One way is the following:
SELECT week, sales,
PREDICTION(t_SVM USING
LAG(sales,1) OVER (ORDER BY week) as l1,
LAG(sales,2) OVER (ORDER BY week) as l2,
LAG(sales,3) OVER (ORDER BY week) as l3,
LAG(sales,4) OVER (ORDER BY week) as l4,
LAG(sales,5) OVER (ORDER BY week) as l5,
LAG(sales,6) OVER (ORDER BY week) as l6,
LAG(sales,7) OVER (ORDER BY week) as l7,
LAG(sales,8) OVER (ORDER BY week) as l8,
LAG(sales,9) OVER (ORDER BY week) as l9,
LAG(sales,10) OVER (ORDER BY week) as l10,
LAG(sales,11) OVER (ORDER BY week) as l11,
LAG(sales,12) OVER (ORDER BY week) as l12,
LAG(sales,13) OVER (ORDER BY week) as l13,
LAG(sales,14) OVER (ORDER BY week) as l14,
LAG(sales,15) OVER (ORDER BY week) as l15,
LAG(sales,16) OVER (ORDER BY week) as l16,
LAG(sales,17) OVER (ORDER BY week) as l17
) pred
FROM t_sales a;
WEEK, SALES, PREDICTION
1, 55488, 68861.084076412
2, 78336, 104816.995823913
3, 77248, 104816.995823913
4, 106624, 104816.995823913
As you can see for the first row there is a value of 68861.084 and for the rest of 16 values is always one and the same 104816.995.
Question: where is my week 18 prediction ? or maybe I should say which one is it ?
Another way of using prediction even more confusing is against the lag table:
SELECT week, sales,
PREDICTION(t_svm USING a.*) pred
FROM t_sales_lag a;
WEEK, SALES, PREDICTION
1, 55488, 68861.084076412
2, 78336, 75512.3642096908
3, 77248, 85711.5003385927
4, 106624, 98160.5009687461
Each row out of 17, its own 'prediction' result.
Same question: which one is my week 18th prediction ?
Thank you very much for all help that you can provide on this matter.
It is as always highly appreciated.
Serge F.Kindly let me know how to give input to predict the values for example script to create model is as follows
drop table data_4svm
drop table svm_settings
begin
dbms_data_mining.drop_model('MODEL_SVMR1');
CREATE TABLE data_4svm (
id NUMBER,
a NUMBER,
b NUMBER
INSERT INTO data_4svm VALUES (1,0,0);
INSERT INTO data_4svm VALUES (2,1,1);
INSERT INTO data_4svm VALUES (3,2,4);
INSERT INTO data_4svm VALUES (4,3,9);
commit;
--setting table
CREATE TABLE svm_settings
setting_name VARCHAR2(30),
setting_value VARCHAR2(30)
--settings
BEGIN
INSERT INTO svm_settings (setting_name, setting_value) VALUES
(dbms_data_mining.algo_name, dbms_data_mining.algo_support_vector_machines);
INSERT INTO svm_settings (setting_name, setting_value) VALUES
(dbms_data_mining.svms_kernel_function, dbms_data_mining.svms_linear);
INSERT INTO svm_settings (setting_name, setting_value) VALUES
(dbms_data_mining.svms_active_learning, dbms_data_mining.svms_al_enable);
COMMIT;
END;
--create model
BEGIN
DBMS_DATA_MINING.CREATE_MODEL(
model_name => 'Model_SVMR1',
mining_function => dbms_data_mining.regression,
data_table_name => 'data_4svm',
case_id_column_name => 'ID',
target_column_name => 'B',
settings_table_name => 'svm_settings');
END;
--to show the out put
select class, attribute_name, attribute_value, coefficient
from table(dbms_data_mining.get_model_details_svm('MODEL_SVMR1')) a, table(a.attribute_set) b
order by abs(coefficient) desc
-- to get predicted values (Q1)
SELECT PREDICTION(MODEL_SVMR1 USING *
) pred
FROM data_4svm a;
Here i am not sure how to predict B values . Please suggest the proper usage . Moreover In GUI (.NET windows form ) how user can give input and system can respond using the Q1 -
In my 2013 Honda Civic Si, I'm trying to use the SMS Text Message Function, but keep getting the error message, "Unsupported Device".
I use an iPhone 5 with latest iOS 6.1.4.
HandsFreeLink works perfectly fine with my iPhone for voice calls and for streaming Bluetooth Audio. Does text messaging not work because of iMessage? Does anyone have any suggestions for this issue?
Thanks in advance!In looking for a 2013 Honda Civic (LX model, no Navi), the text feature was very interesting and important to me. Why not have my texts available on the dash and read to me rather than messing with my phone. Anyway I won't go into the whole thing about safety while you're in your driving and all that. We all know what we should and shouldn't do. Anyways...
I spoke to a salesman who said that this feature was not compatible with the iPhone, only BBs. Of course this didn't impress me and I found it hard to believe that Honda would restrict themselves like that. Anyway, a few searches on the web later and Honda shows that the iPhone 4, 4S and 5 are compatible for receiving texts through the car, just not sending them. I believe you need a minimum of iOS 5+ for it to work though.
Once I found this the salesman and I did some testing with our phones. He has a 4S with iOS 6.1.3 and mine is a 4 with iOS 6.1.3. Initially we setup the phone using the Bluetooth config on the Civic's iMID display. It was setup and hands-free calling tested o.k. Next the texting was tested. Both of us have iMessage turned on. Neither of us could get the messages we would send each other (1 of us had our phone setup with the car, the other sent the text and vice versa). The messages were received by the phones, just not the car). When we would go under the Text Message section, it would say "Unsupported Device". I knew that couldn't be as Honda said it was compatible. After more web searches and a phone call to Honda by the salesman, I found the following.
1) It seems like the person who had their phone paired with the Civic had to disable iMessage to start getting texts. The salesman still had it enabled on his though when he sent me texts (as SMS) and the Civic got them so both people aren't necessarily required to disable it. Now under the Text Message section, it would list the messages received.
2) I changed the Notifications on my phone for Messages from Banner to Alerts. Once I did this it started to work. The texts were showing up on the car. I had read where another person had tried this successfully but then changed it back to Banner and it continued to work. I experienced the same thing.
Granted this wasn't extensive testing but I was able to get it to do something closer to what I wanted. I'm not sure why Apple and Honda can't put their heads together to make sending texts work on the car but maybe someday it will work when enough people complain. It's kind of a disappointment that I couldn't get iMessage to work but I haven't given up hope yet. As it's a proprietary protocol, I can see Honda not supporting it though.
Hope this helps someone out!
FYI I bought car!
Maybe you are looking for
-
What hard drive should i use in my iMac G5
Hi, I have a first Gen. iMac G5 which the hard drive gave out. Is there a specific apple certified brand of SATA hard drives to replace the original or does any SATA hard drive work? thanks, Nick
-
Automatic Export with SDK 3.0
Does anyone know how via a SDK 3.0 plugin to automatically export a photo that is in the catalog. For example I have a plugin to automatically import raw images as they are written to disk and I would then like to export them automatically. Any ideas
-
My officejet 6500 has an error msg of jam/misfee​d when there is none.
My officejet 6500 had some water fall onto it. Luckily some paper was piled on top and blocked most of it. But some of the water seeped in where the copier rollers are. I let it dry completely and nothing was affected, re: printing. About a week late
-
I can't log in to my GoPhone account to refill my balance
I repeatedly tried to log in to my GoPhone account starting at about 11:45pm 7/27/15 and kept getting a 'This webpage is not available' message. I also dialed 611 and your 800 number from my phone, entered my phone number, and was told there was no a
-
RECOVER DATABASE AUTOMATIC UNTIL SCN
Hi, in 10gR2 on Win 2003, I receive the following error : RECOVER DATABASE AUTOMATIC UNTIL SCN 584413; ORA-00905Unfortunately documentation site is not available : Gateway Timeout The proxy server did not receive a timely response from the upstream s