Setting boolean type in registerOutParameter of a callablestatement.
Hi all..,
Plz..define how to set the registereOutParameter for boolean type....
My StoredProcedure is returning OUT the following parameters :
NUMBER,VARCHAR,BOOLEAN & CURSOR.
So, for the above OUT params i setting registerOutParameter as follow :-
CallableStatement cal_stmt;
......and after gettign the connection and calling the procedure using
cal_stmt...
NUMBER,VARCHAR,BOOLEAN & CURSOR.
cal_stmt.registerOutParameter(1,OracleTypes.NUMBER);//for number
cal_stmt.registerOutParameter(2,OracleTypes.VARCHAR);//for varchar
cal_stmt.registerOutParameter(3, ?(How to set for boolean)...)
cal_stmt.registerOutParameter(4,OracleTypes.CURSOR);//for cursor.
Plz..define how to set the registereOutParameter for boolean type....
very very..urgent...
Andrew,
I'm not clear on what you mean when you ask "try to load it ... doesn't
resove the classes to the subclass."
Can you post a code snip here and what you would expect to see?
Roger
"Andrew" <[email protected]> wrote in message news:3f4494e2$[email protected]..
>
I'm trying to create a schema with an abstract class and two subclasses.(see
below)
The xml saves fine, but when I try to load it the parser doesn't resolvethe classes
to the subclass. Is there a way of setting the xsi:type as an attribute sothat
when the file is loaded the classes are resolved to their correct type. Isthere
a better way of doing this?
Thanks in advance,
Andrew
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.books.org"
xmlns="http://www.books.org"
elementFormDefault="unqualified">
<xsd:complexType name="PublicationType" abstract="true">
<xsd:sequence>
<xsd:element name="Title" type="xsd:string"/>
<xsd:element name="Author" type="xsd:string"maxOccurs="unbounded"/>
<xsd:element name="Date" type="xsd:year"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BookType">
<xsd:complexContent>
<xsd:extension base="PublicationType">
<xsd:sequence>
<xsd:element name="ISBN" type="xsd:string"/>
<xsd:element name="Publisher" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="MagazineType">
<xsd:complexContent>
<xsd:extension base="PublicationType">
<xsd:sequence>
<xsd:element name="A" type="xsd:string"/>
<xsd:element name="B" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="BookStore">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Publication" maxOccurs="unbounded"type="PublicationType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Similar Messages
-
Problem with boolean type in Informix via ODBC
Hello,
I'm connecting to an Informix database from an Oracle database via the ODBC Gateway. The connection works fine.
However, when I select a boolean type column from a table in the Informix database, nothing is returned and I get the following error:
SQL> select "stat" from bt@informix;
ERROR:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Informix][Informix ODBC Driver]Restricted data type attribute violation.
{07006,NativeErr = -11013}
ORA-02063: preceding 2 lines from INFORMIX
no rows selected
Selecting a boolean type column with isql works fine. Other column types work from Oracle.
Can anyone help me resolve this issue? Please find configuration details and traces below.
Software stack:
Informix Database: Enterprise Edition 12.10 for Linux x86_64
Informix ODBC driver: Informix Client SDK Developer Edition 4.10 for Linux 64-bit
Oracle Database: Enterprise Edition 11.2.0.1.0 64-bit (Oracle Linux 6.6 64-bit)
UnixODBC: 2.3.2 x86_64
odbcinst.ini:
[Informix]
Driver=/opt/IBM/informix/lib/cli/libifcli.so
Setup=/opt/IBM/informix/lib/cli/libifcli.so
APILevel=1
ConnectFunctions=YYY
DriverODBCVer=03.51
FileUsage=0
SQLLevel=1
smProcessPerConnect=Y
[ODBC]
TraceFile=/tmp/odbc.log
Trace = Yes
odbc.ini:
[ol_informix1210]
Driver=Informix
Description=Test connection
Database=sysutils
LogonID=informix
pwd=informix
Servername=ol_informix1210
CursorBehavior=0
DB_LOCALE=en_us.8859-1
TRANSLATIONDLL=/opt/IBM/informix/lib/esql/igo4a304.so
[ODBC]
UNICODE=UCS-2
; Trace file Section
Trace=1
TraceFile=/tmp/odbctrace.out
InstallDir=/opt/IBM/informix
TRACEDLL=idmrs09a.so
Oracle Gateway init.ora:
HS_FDS_CONNECT_INFO=ol_informix1210
HS_FDS_SHAREABLE_NAME=/usr/local/lib/libodbc.so
HS_FDS_TRACE_LEVEL=debug
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
Oracle Gateway trace:
Entered hgoftch, cursor id 1 at 2015/04/14-12:22:03
hgoftch, line 130: Printing hoada @ 0x2007fe0
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-7 BIT Y 1 1 0/ 0 0 0 20 stat
Performing delayed open.
SQLBindCol: column 1, cdatatype: -28, bflsz: 1
Entered hgopoer at 2015/04/14-12:22:03
hgopoer, line 233: got native error -11013 and sqlstate 07006; message follows...
[Informix][Informix ODBC Driver]Restricted data type attribute violation. {07006,NativeErr = -11013}
Exiting hgopoer, rc=0 at 2015/04/14-12:22:03
hgoftch, line 730: calling SQLFetch got sqlstate 07006
0 rows fetched
Exiting hgoftch, rc=28500 at 2015/04/14-12:22:03 with error ptr FILE:hgoftch.c LINE:730 FUNCTION:hgoftch() ID:Fetch resultset data
ODBC trace:
[ODBC][11041][1429005970.973443][SQLPrepare.c][196]
Entry:
Statement = 0x276ecb0
SQL = [SELECT A1. stat FROM BT A1][length = 29]
[ODBC][11041][1429005970.973914][SQLPrepare.c][371]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.973940][SQLNumResultCols.c][156]
Entry:
Statement = 0x276ecb0
Column Count = 0x26f5868
[ODBC][11041][1429005970.973970][SQLNumResultCols.c][248]
Exit:[SQL_SUCCESS]
Count = 0x26f5868 -> 1
[ODBC][11041][1429005970.974097][SQLDescribeCol.c][247]
Entry:
Statement = 0x276ecb0
Column Number = 1
Column Name = 0x7fffc3ff2d90
Buffer Length = 31
Name Length = 0x7fffc3ff2ed4
Data Type = 0x7fffc3ff2ed8
Column Size = 0x7fffc3ff2e70
Decimal Digits = 0x7fffc3ff2edc
Nullable = 0x7fffc3ff2ee0
[ODBC][11041][1429005970.974140][SQLDescribeCol.c][501]
Exit:[SQL_SUCCESS]
Column Name = [stat]
Data Type = 0x7fffc3ff2ed8 -> -7
Column Size = 0x7fffc3ff2e70 -> 1
Decimal Digits = 0x7fffc3ff2edc -> 0
Nullable = 0x7fffc3ff2ee0 -> 1
[ODBC][11041][1429005970.974192][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x276ecb0
Attribute = SQL_ATTR_ROW_ARRAY_SIZE
Value = 0x64
StrLen = 0
[ODBC][11041][1429005970.974218][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.974230][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x276ecb0
Attribute = SQL_ATTR_ROW_BIND_TYPE
Value = (nil)
StrLen = -5
[ODBC][11041][1429005970.974249][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.974837][SQLExecute.c][187]
Entry:
Statement = 0x276ecb0
[ODBC][11041][1429005970.975231][SQLExecute.c][348]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975255][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x276ecb0
Attribute = SQL_ATTR_ROW_STATUS_PTR
Value = 0x27f5b78
StrLen = -4
[ODBC][11041][1429005970.975280][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975291][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x276ecb0
Attribute = SQL_ATTR_ROWS_FETCHED_PTR
Value = 0x26f5850
StrLen = -4
[ODBC][11041][1429005970.975311][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975326][SQLBindCol.c][236]
Entry:
Statement = 0x276ecb0
Column Number = 1
Target Type = -28 SQL_C_UTINYINT
Target Value = 0x27f5af8
Buffer Length = 1
StrLen Or Ind = 0x27f5eb8
[ODBC][11041][1429005970.975349][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975367][SQLFetch.c][162]
Entry:
Statement = 0x276ecb0
[ODBC][11041][1429005970.975455][SQLFetch.c][348]
Exit:[SQL_ERROR]
DIAG [07006] [Informix][Informix ODBC Driver]Restricted data type attribute violation.
[ODBC][11041][1429005970.975574][SQLGetDiagRec.c][758]
Entry:
Statement = 0x276ecb0
Rec Number = 1
SQLState = 0x7fffc3ff2e20
Native = 0x7fffc3ff2c14
Message Text = 0x7fffc3ff2c20
Buffer Length = 510
Text Len Ptr = 0x7fffc3ff2e70
[ODBC][11041][1429005970.975615][SQLGetDiagRec.c][795]
Exit:[SQL_SUCCESS]
SQLState = 07006
Native = 0x7fffc3ff2c14 -> -11013
Message Text = [[Informix][Informix ODBC Driver]Restricted data type attribute violation.]
[ODBC][11041][1429005970.975642][SQLGetDiagRec.c][758]
Entry:
Statement = 0x276ecb0
Rec Number = 2
SQLState = 0x7fffc3ff2e20
Native = 0x7fffc3ff2c14
Message Text = 0x7fffc3ff2c20
Message Text = 0x7fffc3ff2c20
Buffer Length = 510
Text Len Ptr = 0x7fffc3ff2e70
[ODBC][11041][1429005970.975667][SQLGetDiagRec.c][795]
Exit:[SQL_NO_DATA]Here are my findings after consulting the unixODBC mailing list and the IBM documentation.
There are several levels of data types at play here: native Informix SQL types, Informix ODBC driver SQL types and Informix ODBC driver C types (as well as standard C types).
According to the Informix documentation (http://www-01.ibm.com/support/knowledgecenter/SSGU8G_11.70.0/com.ibm.odbc.doc/ids_odbc_108.htm), the ODBC driver SQL type for the native boolean type is SQL_BIT.
The traces show that the ODBC SQL type is SQL_BIT (type code -7) and that this should be converted into the SQL_C_UTINYINT ODBC C type (type code -28).
Oracle ODBC Gateway trace:
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-7 BIT Y 1 1 0/ 0 0 0 20 stat
Performing delayed open.
SQLBindCol: column 1, cdatatype: -28, bflsz: 1
unixODBC trace:
ODBC][11041][1429005970.975326][SQLBindCol.c][236]
Entry:
Statement = 0x276ecb0
Column Number = 1
Target Type = -28 SQL_C_UTINYINT
Target Value = 0x27f5af8
Buffer Length = 1
StrLen Or Ind = 0x27f5eb8
[ODBC][11041][1429005970.975349][SQLBindCol.c][341]
Oracle tries to bind the SQL_BIT type column to a buffer of SQL_C_UTINYINT type, which requires a conversion from SQL_BIT to SQL_C_UTINYINT that is apparently not supported by the Informix ODBC Driver.
According to the documentation (http://www-01.ibm.com/support/knowledgecenter/SSGU8G_11.70.0/com.ibm.odbc.doc/ids_odbc_108.htm) the Informix ODBC driver can only convert the SQL_BIT ODBC SQL type into SQL_C_BINARY, SQL_C_BIT and SQL_C_CHAR ODBC C types. (The ODBC C types are in turn converted into standard C types, for example the SQL_C_BIT type is converted into UCHAR which is a typedef for the standard C type unsigned char.)
A possible workaround could be to tell Informix to present boolean as a different ODBC SQL type, for example SQL_CHAR (as it would be possible with PostgreSQL by setting BoolAsCharater=1 in odbc.ini), but Informix only seems to supports the SQL_BIT ODBC SQL type.
A cumbersome workaround is to use the Gateway's pass-through feature that allows a query to be passed to Informix as is, which in turn allows us to cast the boolean field into a character field:
SQL> set serveroutput on
SQL> r
1 DECLARE
2 val VARCHAR2(1);
3 c INTEGER;
4 nr INTEGER;
5 BEGIN
6 c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@informix;
7 DBMS_HS_PASSTHROUGH.PARSE@informix(c,'select cast (stat as character) from bt');
8 LOOP
9 nr := DBMS_HS_PASSTHROUGH.FETCH_ROW@informix(c);
10 EXIT WHEN nr = 0;
11 DBMS_HS_PASSTHROUGH.GET_VALUE@informix(c, 1, val);
12 DBMS_OUTPUT.PUT_LINE(val);
13 END LOOP;
14 DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@informix(c);
15 END;
16*
t
f
PL/SQL procedure successfully completed
Easier solutions are still welcome. -
"An expression of non-boolean type specified in a context where a condition
I have below query and its respective result set "0 and NoofRows" in Execute SQL task
select count(*) from TEMP_InterfaceSAP_LoadFile
where (timeid = '20110100' and ([ENTITY_AFF] in (N'6050')))
When I run the task individually, there is no issue at all, but when I tried run it as whole, I'm getting below error.
"[Execute SQL Task] Error: Executing the query "select count(*) from TEMP_PM_InterfaceSAP_LoadFile..." failed with the following error: "An expression of non-boolean type specified in a context where a condition is expected, near ')'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly."I have below query and its respective result set "0 and NoofRows" in Execute SQL task
select count(*) from TEMP_InterfaceSAP_LoadFile
where (timeid = '20110100' and (ENTITY_AFF in (N'6050')))
When I run the task individually, there is no issue at all, but when I tried run it as whole, I'm getting below error.
"Execute SQL Task Error: Executing the query "select count(*) from TEMP_PM_InterfaceSAP_LoadFile..." failed with the following error: "An expression of non-boolean type specified in a context where a condition is expected, near ')'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly."
======================================================================
Hi Prabhu0505,
You may enclose the string with ' ' in SQL task if you use SQL command, then you need to adjust your delimeter to avoid wrong interepretation. I cannot say how you can fix the problem, but I remember there was more ' such as '''6050''' and so on, please find out correct SQL expression in an eclosed string.
This is one of thing I remember, I used ADO connection in SQL script task in SSIS and there were lots of SQL in command, the ' quatation is tricky one.
Regards,
YH Seo -
What is the default value of boolean type transient attribute in VO?
Hi All,.
jdev version-11.1.2.1.0
i have created one vo based on eo where i add one boolean type transient attribute Marked(uihint checkbox).
now i have apply view criteria on this vo.
like---
ViewObject vo=getView(iterator);
vo.setQueryMode(ViewObject.QUERY_MODE_SCAN_VIEW_ROWS);
ViewCriteria vc=vo.createViewCriteria();
ViewCriteriaRow vcr=vc.createViewCriteriaRow();
vcr.setAttribute("Marked", "true");//Setting attribute on view criteria.
vcr.setConjunction(ViewCriteriaRow.VCROW_CONJ_AND);
vc.setCriteriaMode(ViewCriteria.CRITERIA_MODE_CACHE);
vo.applyViewCriteria(vc);//Apply view criteria on vo.
vo.executeQuery();
vc.add(vcr);
vo.executeQuery();this code running fine and that is selected only those row which i have cheked.
but now i want to apply view criteria that select select those rows that are not checked.
like-
vcr.setAttribute("Marked", "false");but it is not return any row.
if select checked any row and then uncheked that row so marked attribute for this row set false. but rows that are unchecked by default not return.
so my question is that what is default value of Marked attribute when user not take any action i will try
vcr.setAttribute("Marked","null");
but not working.i have tried this but this is not working.
follwing code working for Null case not for False
vcr.setAttribute("Marked","is null"); this code display all rows who has null but when i checked any row and then unchecked so that row get value "false" also not display. -
How to map Boolean Types in Import Manager
Hi,
I have a issue in Import Manager for mapping Boolean Types.
I have a field which has a single KEY and multilple values(for different languages).
I want to map it to a field in a Tuple.
I can map the Key to field name.
But the values, I am not able to map. Could you help me here please.
Thanks a lot in advance.
Regards,
RashmiHi Anton
Format your GM Time source as YYYY:MM:DD:HH:NN:SS:TTT (e.g. 2010:02:19:14:34:28:000). Deviations from this format seem to confuse the IM.
HTH,
Mark -
Document types displayed as folders when arranged by set to type
Hello everyone,
I have an issue with the finder since upgraded to Lion.
I use to open finder in column view with "Arranged by" set to "Type" and "Sort by" set to name. But the thing is that the titles/names of the document types are sometimes diplayed or behave as ordinary folders.
Look at the snapshot below (sorry it's a french one): in the left column, display is fine. But in the middle one, "Dossiers", "Contacts", "Documents PDF" and "Documents" are displayed as ordinary folders.
Note that the issue does not limit to the display. These non existing folders can be selected with my mouse.
Moreover, it happens randomly and I checked on a new Account: issue is still there.
So, as anyone observed that ?
Thanks a lot,
Nicolas.Sorry for the late reply, but yes this happens to me quite often.
I have no solution to the problem, but it is rather annoying. Especially if you navigate from one column to another. The first file or folder does not get selected instead it is the "headline with the folder icon" that gets selected. Irritating and it looks terrible when highlighted. -
Mapping with Scd operator set to type 2 reading source records two times
Mapping with Scd operator set to type 2 reading source records two times.Records selected count being displayed at the end of execution is double the source record count.This possibly is affecting the performance of the mapping.
Is this a bug in scd type 2 operagtor in OWB 11gR2.How to rectify this umwamted double loop through the source data selectiom?Hi Roelant,
I think it is important to be aware that although Paris - 10gR2 - is not actually buggy (in this respect!), it is really quite idiosyncratic in exactly how it processes SCDs.
I followed up on your and Mark's comments, and did an in depth analysis of this topic. It is at http://www.donnapkelly.pwp.blueyonder.co.uk/documents/OWB_10gR2_SCD.pdf
My conclusions are perhaps of interest to anyone considering doing SCD processing with Paris.
I'll be doing a follow-up this weekend, and publishing a sort of 'how-to-do-it' guide.
Cheers,
Donna
Message was edited to add the words: "in this respect" -
How to set field type choice using csom (c#)
I have a field type: Choice (menu to choose from) which is not multichoice. How do I set a value?
I have found code for multiple choice but it doesn't seem to work for single choice.Hi,
The following code snippet for your reference:
newListItem["ChoiceFieldName"] = "ChoiceValue";
newListItem.Update();
clientContext.Load(newListItem);
clientContext.ExecuteQuery();
If you are assigning a Value which is not in the Choice Column, You need to create a choice value then assign it to the item.
More information is here:
http://sharepoint.stackexchange.com/questions/124999/how-to-set-field-type-choice-using-csom-c
Best Regards
Dennis Guo
TechNet Community Support -
I am getting the error message, "An expression of non-boolean type specified in a context where a condition is expected, near ',' " when running an ssrs 2008 r2 report.
The sql embedded in the dataset is:
IF @reportID <> 0
BEGIN
SELECT 'Students report 1' AS selectRptName, 1 AS rptNumValue
UNION
SELECT 'Students report 2', 2
UNION
SELECT 'Students report 3', 3
UNION
SELECT 'Students report 4', 4
UNION
SELECT 'Students report 5', 5
ORDER BY selectRptName
END
The sql runs fine in managment studio when I declare @reportID.
The sql runs fine with I comment out 'IF @reportID <> 0'.
The @reportID is a parmeter value that is passed to the applicable dataset.
The @reportID can have more than one value.
Thus can you show me sql and/or tell me what I need to do to solve the issue for me?Hi wendy,
After testing the issue in my environment, I can reproduce it when I select more than one values in the @reportID parameter drop-down list. As per my understanding, it seems that you are trying to filter the dataset with the @reportID parameter. When it
doesn’t contain value ‘0’, the dataset returns values. Otherwise, no value is returned in the dataset.
If in this scenario, we can achieve this requirement with filters in the dataset. For more details, please refer to the following steps:
Modify the dataset with the below query:
SELECT 'Students report 1' AS selectRptName, 1 AS rptNumValue
UNION
SELECT 'Students report 2', 2
UNION
SELECT 'Students report 3', 3
UNION
SELECT 'Students report 4', 4
UNION
SELECT 'Students report 5', 5
ORDER BY selectRptName
Click the Filters in the left pane of Dataset Properties dialog box.
Add a filter as below:
Expression: =INSTR(JOIN(Parameters!reportID.Value,","),"0")>0
Type: Boolean
Operator: =
Value: false
The following screenshot is for your reference:
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
An expression of non boolean type specified in context near id
Hi
Sorry for duplicate posting. I am desperately looking to solve the issue for display image tif format using datawindow inkpict. I am little bit going progress .
My Sqlserver table <mpdoc>
id <int>, empdoc <image>
In datawindow object I have given id as id and large binary column as empdoc. But after when I retrieve the datawindow it is showing the error
'an expression of non Boolean type specified in context near id' how can I fix this error.Please help
dw_1.settransobject(sqlca)
dw_1.retrieve()
I am very desperate at the moment with the powerbuilder to display tif image and also I can only get the help from this site.
if it is not working in PB, I have to use C#.
With Many Thanks
PolHi wendy,
After testing the issue in my environment, I can reproduce it when I select more than one values in the @reportID parameter drop-down list. As per my understanding, it seems that you are trying to filter the dataset with the @reportID parameter. When it
doesn’t contain value ‘0’, the dataset returns values. Otherwise, no value is returned in the dataset.
If in this scenario, we can achieve this requirement with filters in the dataset. For more details, please refer to the following steps:
Modify the dataset with the below query:
SELECT 'Students report 1' AS selectRptName, 1 AS rptNumValue
UNION
SELECT 'Students report 2', 2
UNION
SELECT 'Students report 3', 3
UNION
SELECT 'Students report 4', 4
UNION
SELECT 'Students report 5', 5
ORDER BY selectRptName
Click the Filters in the left pane of Dataset Properties dialog box.
Add a filter as below:
Expression: =INSTR(JOIN(Parameters!reportID.Value,","),"0")>0
Type: Boolean
Operator: =
Value: false
The following screenshot is for your reference:
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Can my iMac be set to type with French characters?
Hello all! Can my iMac be set to type with French characters? If so, what is the path? And, is there a keyboard overlay to see where the French language characters are located on the keyboard? Thanks!
Hey Steve,
Thanks again for the thoughts... Unfortunately, the only characters that I can use keyboard shortcuts for French are the é, ç and the á (it's better than nothing).
Outside of that, I have to switch keyboard layouts. I know of the accent grave ( `e ) that's nextdoor to the number one key... But it don't work... my translator thinks it's a typo... because it takes up a whole characters worth of space instead of sharing the space with the actual letter (vowel), like the other accents.
So I need keyboard shortcuts for:
ê Ê Ë ë è È
Ô ô Ö ö
à À Û û
I use these letters just enough to make switching keyboards back and forth a little irksome. Since the two keyboards have pretty distinctively different layouts and then we have the position of the A and M keys and.. well... see where this could lead??? LOL
Thanks...
I appreciate your thoughts, as always...
Yvonne -
Hi i want to use boolean type in a procedure as out parameter !!
Hi
I need to use Boolean type as out parameter in my procedure which return true if the SELECT query in procedure returns any row otherwise it should return false
please HELP !!I need to use Boolean type as out parameter in my procedure which return true if the SELECT query in procedure returns any row otherwise it should return false
Sounds like basic PL/SQL stuff.
What problem are you experiencing?
Are you looking for something like this?
create or replace procedure check_emp (p_empno in number, p_result out boolean) is
dummy pls_integer;
begin
select 1
into dummy
from scott.emp
where empno = p_empno;
p_result := true;
exception
when no_data_found then
p_result := false;
end;
SQL> declare
2 emp_exists boolean;
3 begin
4 check_emp(7839, emp_exists);
5 if emp_exists then
6 dbms_output.put_line('Employee exists');
7 else
8 dbms_output.put_line('Employee does not exist');
9 end if;
10 end;
11 /
Employee exists
PL/SQL procedure successfully completed -
Setting thermocouple type in scan engine
I am using cRIO 9211 to acquire thermocouple data using NI Scan Engine. I don't see any option to specify the type of thermocouple other than by right clicking on the module (in project) and selecting Properties.
Is there a way to programmatically set the type of thermocouple?
If this is not possible, can I can read the cjc and offset channels, so that I can convert the raw voltage to temperature in my RT code?
Will I be able to read the cjc and offset channels if I use NI Scan Engine Advance I/O Access?
"A VI inside a Class is worth hundreds in the bush"
യവന് പുലിയാണു കേട്ടാ!!!Cross posted here.
"A VI inside a Class is worth hundreds in the bush"
യവന് പുലിയാണു കേട്ടാ!!! -
Set Aggregation type of Count Distinct to use correct table aggregation in
Hi there,
Currently I use OBIEE 10.1.3.4.1 , and there is a case where a fact table consist of 2 logical table source: detail and aggregate table, which has some measure using count distinct as aggregation type. The problem is everytime I browse the measure with no dimension at all , it always use detail table not aggegation one..
Really appreciate for any suggestion ..
thanks a lotHi,
I don't think it's the same case as mine. Let say I have 2 table : detail and aggegate
Detail Table consists 4 fields:
*) Period
*) Market
*) Region
*) Measure : Customer ID, Sales
Aggregate Table consists 3 fields :
*) Period
*) Region
*) Measure : Customer ID, Sales
in the measure I set aggregation type for each field:
*) Sales >> set as Sum
*) Customer ID >> copy as "Number of Customer" and set as Count Distinct
In each LTS' contents I set the level of aggregation using "Get Levels" feature..
Then I try to browse via Presentation and do some querys belows:
a) only choose single field of measure : Sales, the session shows that the value is taken from aggregation table and just as I expected.
b) choose period and sales, the session shows that the values are taken from aggregation table, and still just as I expected.
c) choose period, sales , and market, the session shows that the values are taken from detail table, just as I expected.
d) only choose single field of measure : "Number of Customer", the session shows that the value is taken from detail table , this is NOT as I expected. It suppose to take the value from aggregation table..
e) choose period and "Number of Customer", the session shows that the value is taken from detail table , this is also NOT as I expected. It suppose to take the value from aggregation table..
I've tried to override the aggregation , but still confuse how to apply in measure "Number of Customer" and did not work at all..
any idea ?
thanks a lot -
How to set task type of a task in MS Project using excel vba code.
Hello Gurus,
I am generating MS Project files(.mpp) files form excel data. An excel macro in the excel file will read the excel data and will generate the .mpp file. It is working fine. now i want to set the task type of all the tasks to "Fixed work" from excel
vba code.
How to use the property PjTaskFixedType in setting the task type??
refer below links
http://msdn.microsoft.com/en-us/library/office/ff861713.aspx
http://msdn.microsoft.com/en-us/library/office/ff864157.aspx
Can someone help me in setting task type property from excel vba.
I have attached my sample code used to generate the mpp file. It is not the complete code but you will get an idea from it.
Set pjApp = CreateObject("MSProject.Application")
pjApp.FileNew
Set newproj = pjApp.ActiveProject
newproj.Tasks.Add (task_name)
newproj.Tasks(mpp_row_number).Start = task_start_date
newproj.Tasks(mpp_row_number).Finish = task_end_date
newproj.Tasks(mpp_row_number).ResourceNames = resource_name
pjApp.FileSaveAs mpp_file_save_path & mpp_file_name & ".mpp"
pjApp.FileClose
pjApp.Quit
Any help is appreciated.Hi Syamku,
A simple example that sets the task type:
ActiveProject.Tasks(2).Type = pjFixedDuration
ActiveProject.Tasks(3).Type = pjFixedUnits
ActiveProject.Tasks(4).Type = pjFixedWork
http://msdn.microsoft.com/en-us/library/office/ff860469(v=office.15).aspx
Hope this helps
Maybe you are looking for
-
Single migo for multiple vendors and multiple material
Dear MM Experts, I have 2 open purchase orders as per below PO no 01 :- Material : A , Vendor : X PO no 02 :- Material : B , Vendor : Y Can we make the single goods receipt for both purchase orders even having different vendor and material. If yes th
-
Hi I tried to use graphic styles to save the states of an menu-enty or a input field - and failed. So it's not possible to safe different states in one graphic style?
-
Team Calendar UI element in WebDynpro for java
Hello Experts. We need to create an application like TeamCalendar.While searching sdn i found this pdf https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e012e6a2-8d21-2a10-1bb8-d9b606f3474c which says there is some ui called TeamCal
-
Internet explorer works perfectly and firefox will not load any websites
-
Yup my first generation G5 shut down twice on Saturday. Couldn't sleep so I got up and turned it on and came to this forum. Saw that I'm not the only one; got directed to the extension repair program page http://www.apple.com/support/imac/repairexten