Matrix Add Row and Duplicate Row
Hi All,
Can anybody suggest me how to work on Add row and duplicate row in any document table.
Lets take one example
Sales order document
In this doc we have table format where we specify item no, item description etc. In this table when we right click on particluar row we have option for add, delete, duplicate rows..etc.
wht i would like to know is that when we click add row .....one row is added and number is incremented under # column. Hw to perform and display this auto increment/ decrement of number for these rows under this # column
thanks
harish
Hi,
I tried following both code, but in that i am geting value. Means i am getting .Value Why i not getting value.
matrix.Columns.Item("V_-1").Cells.Item(pVal.Row).Specific.value = matrix.RowCount
and i also tried for "AddRow",
If pVal.BeforeAction = False Then
Select Case pVal.ItemUID
Case "AddRow"
matrix = form.Items.Item("mtr").Specific
If matrix.RowCount > 0 Then
If Trim(matrix.Columns.Item("V_-1").Cells.Item(matrix.RowCount).Specific.value) = "" Then
End If
End If
End Select
End If
In both example i not getting .Value.
Plz tell y ?
Thanks
Similar Messages
-
Ignore 2nd row and 4th row in Excel Sheet in SSIS Package
Hi All,
I have an SSIS package that imports an Excel sheet in which i have to ignore 2nd row and 4th row.
Please help me on this issue.Hi ShyamReddy,
Based on my test, if second and fourth rows need to be skipped is based on some conditions, we can directly add where conditions in only one Excel Source with Edit Option. Otherwise, we can try to union three Excel sources to work around this issue. For
more details, please refer to the following steps:
Set the FirstRowHasColumnName property to False, so the first row stores the column names in the sheet.
Drag three Excel Sources to the Data Flow Task.
In the Excel Source, use the SQL command below to replace the former(supposing there are three columns in the Excel sheet: col1, col2 and col3):
SELECT F1 AS col1,F2 AS col2, F3 AS col3 FROM
[sheet$A2:C2]
In the Excel Source 1, please type the SQL command below:
SELECT F1 AS col1,F2 AS col2, F3 AS col3 FROM
[sheet$A4:C4]
In the Excel Source 2, please type the SQL command below (note that the ‘n’ means the number of rows in the sheet):
SELECT F1 AS col1,F2 AS col2, F3 AS col3 FROM
[sheet$A6:Cn]
Drag a Union All component to the same task, then union those three Excel Sources.
References:
SSIS Excel import skip first rows
sql command for reading a particular sheet, column
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Difference between current row and previous row in a table
Hi All,
I am having a problem with the query. Can some of please help me?
I need to get difference between current row and previous row in a table. I have a table, which have data like bellow.
TABLEX
================
Name Date Items
AAA 01-SEP-09 100
BBB 02-SEP-09 101
CCC 03-SEP-09 200
DDD 04-SEP-09 200
EEE 05-SEP-09 400
Now I need to get output like bellow...
Name Date Items Diff-Items
AAA 01-SEP-09 100 0
BBB 02-SEP-09 101 1
CCC 03-SEP-09 200 99
DDD 04-SEP-09 200 0
EEE 05-SEP-09 400 200
Can some one help me to write a query to get above results?
Please let me know if you need more information.
Thanks a lot in advance.
We are using Oracle10G(10.2.0.1.0).
Thanks
Asif, nvl (items - lag (items) over (order by dt), 0)like in
SQL> with test as
2 (
3 select 'AAA' name, to_date('01-SEP-09', 'dd-MON-rr') dt, 100 items from dual union all
4 select 'BBB' name, to_date('02-SEP-09', 'dd-MON-rr') dt, 101 items from dual union all
5 select 'CCC' name, to_date('03-SEP-09', 'dd-MON-rr') dt, 200 items from dual union all
6 select 'DDD' name, to_date('04-SEP-09', 'dd-MON-rr') dt, 200 items from dual union all
7 select 'EEE' name, to_date('05-SEP-09', 'dd-MON-rr') dt, 400 items from dual
8 )
9 select name
10 , dt
11 , items
12 , nvl (items - lag (items) over (order by dt), 0)
13 from test
14 ;
NAM DT ITEMS NVL(ITEMS-LAG(ITEMS)OVER(ORDERBYDT),0)
AAA 01-SEP-09 100 0
BBB 02-SEP-09 101 1
CCC 03-SEP-09 200 99
DDD 04-SEP-09 200 0
EEE 05-SEP-09 400 200
SQL> -
Insert row and delete row in a table control
Hi Experts,
I am using a table control in module pool programming, How can I Insert row and delete row in a table control?
Thanks in Advance....Santhosh,
Iam using this code..
FORM fcode_delete_row
USING p_tc_name TYPE dynfnam
p_table_name
p_mark_name .
-BEGIN OF LOCAL DATA----
DATA l_table_name LIKE feld-name.
data: p_mark_name type c.
FIELD-SYMBOLS <tc> TYPE cxtab_control.
FIELD-SYMBOLS <table> TYPE STANDARD TABLE.
FIELD-SYMBOLS <wa>.
FIELD-SYMBOLS <mark_field>.
-END OF LOCAL DATA----
ASSIGN (p_tc_name) TO <tc>.
get the table, which belongs to the tc *
CONCATENATE p_table_name '[]' INTO l_table_name. "table body
ASSIGN (l_table_name) TO <table>. "not headerline
delete marked lines *
DESCRIBE TABLE <table> LINES <tc>-lines.
LOOP AT <table> ASSIGNING <wa>.
access to the component 'FLAG' of the table header *
ASSIGN COMPONENT p_mark_name OF STRUCTURE <wa> TO <mark_field>.
if <MARK_FIELD> = 'X'.
PERFORM f_save_confirmation_9101.
IF gv_answer EQ '1'.
DELETE <table> INDEX syst-tabix.
IF sy-subrc = 0.
<tc>-lines = <tc>-lines - 1.
ENDIF.
ELSE.
ENDIF.
ENDIF.
ENDLOOP.
in this code ASSIGN COMPONENT p_mark_name OF STRUCTURE <wa> TO <mark_field>.
if <MARK_FIELD> = 'X'.
this code is not working... -
Update Failed for Sum of previous row and current row
Hi i need to update the column length of the previous row and current row so i followed this method but i'm unable to update what is problem in my syntax
SQL> begin
2 DECLARE Total number = 0;
3 UPDATE StringOutput set Total = SumOfLength = Total + ColLength;
4 end;
5 /
DECLARE Total number = 0;
ERROR at line 2:
ORA-06550: line 2, column 22:
PLS-00103: Encountered the symbol "=" when expecting one of the following:
:= . ( @ % ; not null range default character
if i update without the variable total then my command is succeeded
UPDATE StringOutput set SumOfLength = ColLength;
but i need the previous row+current row count in SumOfLength
Thanks!Getting this error now
SQL> begin
2 DECLARE Total number := 0;
3 UPDATE StringOutput set Total = SumOfLength = Total + ColLength;
4 end;
5 /
UPDATE StringOutput set Total = SumOfLength = Total + ColLength;
ERROR at line 3:
ORA-06550: line 3, column 1:
PLS-00103: Encountered the symbol "UPDATE" when expecting one of the following:
begin function pragma procedure subtype type <an identifier>
<a double-quoted delimited-identifier> current cursor delete
exists prior
The symbol "begin" was substituted for "UPDATE" to continue.
ORA-06550: line 3, column 46:
PLS-00103: Encountered the symbol "=" when expecting one of the following:
. ( , * @ % & - + ; / at mod remainder rem return returning
<an exponent (**)> where || multiset
The symbol ". was inserted before "=" to continue.
ORA-06550: line 4, column 4:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the
following:
( begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<an identifier> <a double-quoted -
PLS-00497: cannot mix between single row and multi-row (BULK) in INTO list
Hi,
I have a requirement to send a table data through mail,
so am using execute statement after opening the connection and am using the following PLSQL code, which am failing to execute successfully.
My code goes like this.
0 10 20 30 40 50
1 CREATE OR REPLACE PROCEDURE SEND_TABLE_DATA( FROMAD IN VARCHAR2,
2 TOAD IN VARCHAR2,
3 SUBJECT IN VARCHAR2,
4 MESSAGE IN VARCHAR2,
5 DOCID IN VARCHAR2,
6 DOCDT IN DATE,
7 PRODOAID IN NUMBER )
8 AS
9 BATCHNO VARCHAR2(32767);
10 PCSBOX NUMBER;
11 AMOUNT NUMBER;
12 SMTPHOST VARCHAR2(255) := 'XXX.XXX.X.XXX' ;
13 A UTL_SMTP.CONNECTION ;
14 BEGIN
15 A :=UTL_SMTP.OPEN_CONNECTION(SMTPHOST,25);
16 UTL_SMTP.HELO(A,SMTPHOST);
17 UTL_SMTP.MAIL(A,FROMAD);
18 UTL_SMTP.RCPT(A,TOAD);
19 UTL_SMTP.OPEN_DATA(A);
20 UTL_SMTP.WRITE_DATA(A, CHR(13) ||CHR(13) || CHR(13) );
21 UTL_SMTP.WRITE_DATA (A,'Date: '|| TO_CHAR(SYSDATE,'DD/MM/YYYY HH24:MI:SS') || CHR(13) );
22 UTL_SMTP.WRITE_DATA(A,'From: '||FROMAD|| CHR(13) );
23 UTL_SMTP.WRITE_DATA(A, 'To: '||TOAD|| CHR(13) );
24 UTL_SMTP.WRITE_DATA(A, 'Subject: '|| SUBJECT || CHR(13) );
25 UTL_SMTP.WRITE_DATA(A,MESSAGE||DOCID||' Documented on '||DOCDT||CHR(13) );
26 UTL_SMTP.WRITE_DATA(A,CHR(13) || CHR(13) || CHR(13) );
27 UTL_SMTP.WRITE_DATA(A,'This is for your information'||CHR(13) );
28 UTL_SMTP.WRITE_DATA (A,' BATCHNO '|| ' -- '||' PCSBOX '||' -- '||' AMOUNT '||CHR(13) );
29 EXECUTE IMMEDIATE
30 'SELECT
31 A.BATCHNO,B.PCSBOX,B.AMOUNT
32 FROM
33 SCHEMA1.TABLEX A,SCHEMA2.TABLEY B
34 WHERE
35 A.BATCHID=B.BATCHNO AND B.PRODOAID='|| PRODOAID
36 BULK COLLECT INTO BATCHNO,PCSBOX,AMOUNT;
37 FOR indx IN 1..BATCHNO.COUNT
38 LOOP
39 UTL_SMTP.WRITE_DATA (A,BATCHNO(indx)|| ' -- '||PCSBOX(indx)||' -- '||AMOUNT(indx)||CHR(13) );
40 END LOOP;
41 UTL_SMTP.WRITE_DATA( A,CHR(13) || CHR(13) || CHR(13) );
42 UTL_SMTP.CLOSE_DATA(A);
43 UTL_SMTP.QUIT(A);
44 EXCEPTION
45 WHEN OTHERS THEN
46 UTL_SMTP.QUIT(A);
47 RAISE;
48 END;
49 /
SELECT * FROM USER_ERRORS
NAME TYPE SEQUENCE LINE POSITION TEXT ATTRIBUTE MESSAGE_NUMBER
SEND_TABLE_DATA
PROCEDURE
3
37
1
PL/SQL: Statement ignored
ERROR
0
SEND_TABLE_DATA
PROCEDURE
2
37
24
PLS-00487: Invalid reference to variable 'BATCHNO'
ERROR
487
SEND_TABLE_DATA
PROCEDURE
1
36
25
PLS-00497: cannot mix between single row and multi-row (BULK) in INTO list
ERROR
497
Thanks In Advance
Regards
Pradeep.> 29 EXECUTE IMMEDIATE
> 30 'SELECT
> 31 A.BATCHNO,B.PCSBOX,B.AMOUNT
> 32 FROM
> 33 SCHEMA1.TABLEX A,SCHEMA2.TABLEY B
> 34 WHERE
> 35 A.BATCHID=B.BATCHNO AND B.PRODOAID='|| PRODOAID
> 36 BULK COLLECT INTO BATCHNO,PCSBOX,AMOUNT;
The variables BATCHNO, PCSBOX and AMOUNT are defined as scalar variables. Check there definition
> 9 BATCHNO VARCHAR2(32767);
> 10 PCSBOX NUMBER;
> 11 AMOUNT NUMBER;
You cannot use BULK COLLECT on scalar variables. The variables must be defined as a COLLECTION TYPE in order to perform bulk collect. -
Monitor chained rows and migrated rows of tables
hai all,
How to monitor the chained rows and migrated rows of tables....I think some big tables have the chained rows or migrated rows..what is the benchmark for recreate the tables.? any script for identify chained rows and migrated rows?
Please help?Sorry i forget to post the query and here there is
select
owner c1,
table_name c2,
pct_free c3,
pct_used c4,
avg_row_len c5,
num_rows c6,
chain_cnt c7,
chain_cnt/num_rows c8
from dba_tables
where
owner not in ('SYS','SYSTEM')
and
table_name not in
(select table_name from dba_tab_columns
where
data_type in ('RAW','LONG RAW')
and
chain_cnt > 0
order by chain_cnt desc
Regards
jafar -
Getting Blank Rows and Good Rows in the same bound table
Hi, a little brief here I am a developer at Oracle and am trying to use ADF and Oracle BC's on my webpages.
I am using Oracle TopLink and ADF to display the contents of several tables. The issue I encounter is that TopLink for some reason (I hypothesize memory constraints) does not return the actual contents of the rows but instead nulls to the front end for my ADF Read-Only Table on the page. The number of rows is correct but only the first 11 rows are displayed and after that the rows are completely blank, I cannot navigate to the third set of rows (the second set of rows I can navigate to because there is one good row there) and when I select one of the blank rows and try to perform an action it gives null for the contents of the actual row and throws an exception. How can I resolve this issue?
I have tested that I can see the full contents of the table correctly on another page with less content, but when I put the table on the page that has multiple iterators and also BC's on it only the first 11 rows are visible. Is there an easy solution to this issue, why does it occur, and why is there no error thrown when the null rows are given to the page? Does anyone know of a solution to this issue?Resolved the issue, the problem was that I had a refresh that was on ALWAYS on the component, I change the refresh to a RENDER MODEL refresh and now can see the whole table.
-
Sum of current row and remaining rows
Hi Experts,
I have a requirement to pull the data like below.
ename salary expected_salary
ravi 10 250
kiran 20 240
uday 30 220
joe 70 190
anil 120 120
can you please help me.
i wrote a query like below
select ename, sal, sum(sal) over (ORDER BY sal desc ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) expected_sal
from emp;Hi,
ravt261 wrote:
Hi Experts,
I have a requirement to pull the data like below.
ename salary expected_salary
ravi 10 250
kiran 20 240
uday 30 220
joe 70 190
anil 120 120
can you please help me.
i wrote a query like below
select ename, sal, sum(sal) over (ORDER BY sal desc ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) expected_sal
from emp;What's wrong with the query you wrote?
When I run it usin the scott.emp table, I get thse results:
ENAME SAL EXPECTED_SAL
SMITH 800 29025
JAMES 950 28225
ADAMS 1100 27275
MARTIN 1250 26175
WARD 1250 24925
MILLER 1300 23675
TURNER 1500 22375
ALLEN 1600 20875
CLARK 2450 19275
BLAKE 2850 16825
JONES 2975 13975
SCOTT 3000 11000
FORD 3000 8000
KING 5000 5000Post the reults you want.
Point out where the results above are wrong, and explain how you get the right results in those places.
***** The part below isn;t quite right. See {message:id=10946897} *****
You don't need the windowing clause (that is, ROWS BETWEEN ...):
SELECT ename
, sal
, SUM (sal) OVER ( ORDER BY sal DESC
-- ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW
) AS expected_sal
from scott.emp
ORDER BY sal
;will get the same results. If you like the windowing clause (e.g., if you think it makes the code clearer) then keep on using it; it won't change the results whether you use it or not.
Edited by: Frank Kulash on Apr 4, 2013 9:31 AM
Edited by: Frank Kulash on Apr 4, 2013 11:00 AM -
Days difference between current row and previous row
I was able to obtain the date in the previous row and put it in the current row as below,
EVALUATE('LAG(%1,1) OVER (ORDER BY %1)', "- Response Date".Date)
but, when I try to calculate the difference between the two dates as below, I got the error message..
TIMESTAMPDIFF(SQL_TSI_DAY, EVALUATE('LAG(%1,1) over (order by %1)',"- Response Date".Date),"- Response Date".Date)
Error message says;
_State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 30483, message: ORA-30483: window functions are not allowed here at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)_
Please help~ Thanks in advance, gurus~~~http://obieeone.com/2010/04/27/use-of-evaluate-function-for-analytics-function-oracle/
the link might provide you with some additional insight into the error.
Let me know if that was helpful
-bifacts
http://www.obinotes.com -
Oracle Answers and duplicate rows
Hello,
I have a SQL view called "dups" that shows all rows that are same
for 4 key fields INCNUM,TAKE,SAMP,CORR.
Now there are a few rows that are indeed duplicates considering those 4 key column BUT
there are also rows that are 100% duplicates.
Oracle Answers seems to hide rows that are 100% (every column, not just 4) duplicates. (there is no DISTINCT in the SQL).
How can I avoid this behaviour?
Moreover how can I create complete new second report that shows 100% duplicates i.e. rows
that are the same for every single column ?
Thanks,
metalrayIf you need the BI server to fire the Distinct in the SQL go to the "Advanced tab" and check on "Check this box to issue an explicit Select Distinct" and distinct will be fired for your report.
If you want this generally across all the reports then in the rpd physical layer. Go to the data base features tab(double click on the physical catalog) and check the value for "Distinct Supported" and you are good to go
Hope it helps
Thanks
Prash -
How to make use of tbody and duplicate rows
I want to ask if anyone would help me overcome this problem.
I decided that the best use for my problem is using a tbody. Quote me if i am wrong. I have table with the following rows
item name & text field
carton size & text field cm
number of layers text field
pallet size <radio button> American, European, custom
pallet pattern text field
carton weight text field kg
carton quantity text field
So far i have produce the function through javaScript to show the item name for example the item is a Samsung Laptop with code of SVOP80
Function addRow(i){
var tbody=document.getElementById("abc").getElementsByTagName("TBODY")[0];
var row=document.createElement("TR");
row.setAttribute("id"; "inputRow_" +1);
var partNumCell=document.createElement("TD");
partNumCell.InnerHTML= <b>Laptop Code<b>;
row.appendChild(partNumCell);
tbody.appendChild(row);
}the output is that is displays Laptop Code when add item button is clicked not including the text field for entering the samsung code. But the requirement to capture all them rows. If you produce some code in order to display this, it would excellent. If you could post it for one row i can make my way applying to the other items in the list to lessen the work.
Kind Regards
AceI want to ask if anyone would help me overcome this problem.
I decided that the best use for my problem is using a tbody. Quote me if i am wrong. I have table with the following rows
item name & text field
carton size & text field cm
number of layers text field
pallet size <radio button> American, European, custom
pallet pattern text field
carton weight text field kg
carton quantity text field
So far i have produce the function through javaScript to show the item name for example the item is a Samsung Laptop with code of SVOP80
Function addRow(i){
var tbody=document.getElementById("abc").getElementsByTagName("TBODY")[0];
var row=document.createElement("TR");
row.setAttribute("id"; "inputRow_" +1);
var partNumCell=document.createElement("TD");
partNumCell.InnerHTML= <b>Laptop Code<b>;
row.appendChild(partNumCell);
tbody.appendChild(row);
}the output is that is displays Laptop Code when add item button is clicked not including the text field for entering the samsung code. But the requirement to capture all them rows. If you produce some code in order to display this, it would excellent. If you could post it for one row i can make my way applying to the other items in the list to lessen the work.
Kind Regards
Ace -
Possible bug: validation errors raise at table row and current row is lost
Hi everybody,
I've just implemented a simple test case against the HR schema:
1. Create Business Components from Tables: choose only Employees. That will generate Employees EO, EmployeesView VO, associations, viewlinks and AppModule with the following hierarchy: EmployeesView1 > EmployeesView2
2. Create a simple page with an ADF Table based on EmployeesView1.
3. Surround af:table with af:panelCollection
4. Add toolbar buttons to the af:panelCollection "toolbar" facet:
<f:facet name="toolbar">
<af:toolbar id="t2">
<af:commandToolbarButton actionListener="#{bindings.CreateInsert.execute}" text="CreateInsert" disabled="#{!bindings.CreateInsert.enabled}" id="ctb1" partialTriggers="t1"/>
<af:commandToolbarButton actionListener="#{bindings.Delete.execute}" text="Delete" disabled="#{!bindings.Delete.enabled}" id="ctb2" partialTriggers="t1"/>
</af:toolbar>
</f:facet>5. Create a af:panelGroupLayout that encloses everything under af:form
<af:document id="d1" title="Employees">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelGroupLayout id="pgl1" partialTriggers="pc1:ctb1 pc1:ctb2">
...6. Delete the LastName field for any row in the table and click anywhere on the next row in the table. This will raise a mandatory field validation error. At this point, the selected row is the one you've just clicked on, but the focus (mouse cursor) is in the LastName field that raised the error.
7. Fill in the LastName field. Don't click on it; just write something, as the field is already focused.
8. Click the CreateInsert button
Result: The current row is still the one you clicked on before, not the newly created row. If you click on this new row to fill in its fields, validation errors raise for every mandatory field.
I'd appreciate any help on this. I can send you the test case if necessary.
Thanks in advance,
Barbara
Version
ADF Business Components 11.1.1.56.60
Java(TM) Platform 1.6.0_18
Oracle IDE 11.1.1.3.37.56.60Hi,
if you
1. Select (click) a row to edit last name (don't edit last name though)
2 Press "CreateInsert"
Does this then make the new row becoming the current if nor errors are shown ?
Frank
Ps.: If so, please send me the test case. My mail address is in my OTN profile. Just zip the workspace and change the ".zip" extension to something like ".unzpme" because the Oracle firewall bounces all mails with zip attachements -
Facing problem While deleting rows and adding rows
Hi,
In my form i have pass values to table rows by selecting values from Dropdown list.
i have taken 3 hidden obj and passing the dropdown values to hidden objects and then from hidden objects to table rows.
h1,h2,h2 are hidden obj
EMPNO,EMPNAME, DESIGNATION are drop downlist
i have add button with the following code
if(form1.P1.ItemSet.EMPNO.rawValue != null){
form1.P1.ItemSet.instanceManager.addInstance();
form1.P1.execInitialize();
var dynamicArray = form1.P1.resolveNode("ItemSet[" + arrayIncri + "]");
dynamicArray .EMPNO.rawValue = form1.P1.hidden.h1.rawValue;
dynamicArray .EMPNAME.rawValue = form1.P1.hidden.h2.rawValue;
dynamicArray .DESIGNATION.rawValue = form1.P1.hidden.h3.rawValue;
arrayIncri++;
form1.P1.SF1.EmpID.rawValue = null;
form1.P1.SF1.EmpName.rawValue = null;
form1.P1.SF1.Designation.rawValue = null;
My delete button code is
_ItemSet.removeInstance(this.parent.index);
form1.P1.execInitialize();
My problem is adding is happening while click and deleting is happening to the perticular row but once i delete paricular row then again if i want to add new row then it is taking null values . and agian if i click add then the values are passing to the next row
means i am getting null row if i do add funtionality after delete funtionality....
Please help me out in this..
Subba reddyHi,
I got the answer for this query, but when i do download and upload of the files from R/3 to GRC. Still it is not showing me the new transactions which were developed in R/3.
it means when i try to add the transaction in a function, under search mode with respective of the r/3 system, it is not showing me the search results.
What i did was, i run the reports /VIRSA/ZCC_DOWNLOAD_DESC & /VIRSA/ZCC_DOWNLOAD_SAPOBJ and uploaded them as below in GRC.
Text Objects - /VIRSA/ZCC_DOWNLOAD_DESC
permissions - /VIRSA/ZCC_DOWNLOAD_SAPOBJ
For each of the download i get 2 files for each and i tried to upload both of them but no luck.
Please suggest me, as am missing anything in this process
SV -
Can both in-row and off-row LOBs be used in a where clause?
We are preparing to upgrade ASE from version 15.5 to 16.0. One of the features that is very appealing has to do with the changes made concerning the handling of LOBs. In particular, the ability to use a LOB column in search arguments (where clause) is something our developers have longed for since the retirement of the full-text search option. So, in version 16.0, can any column with a datatype of text be used as a search argument? Are there any restrictions.
Thanks in advance.Hi Kevin,
The in-row LOB feature is mainly designed to save space when a text column has many short values, which is a particularly bad problem when the server uses a large page size (like 16K) as ASE would use a full 16K to store even a single bye "Y". I don't think the feature made any change in how text can be used in search arguments. i.e. you can still use LIKE and IS [NOT] NULL, but not others.
Example:
1> create table t (x text in row (8))
2> go
1> insert t values ("abc")
2> insert t values ("abcdefghijkl")
3> go
(2 rows affected)
1> select * from t where x like "%c%"
2> go
x
abc
abcdefghijkl
(2 rows affected)
1> select * from t where x !> "c"
2> go
Msg 257, Level 16, State 1:
Server 'redhead', Line 1:
Implicit conversion from datatype 'TEXT' to 'VARCHAR' is not allowed. Use the
CONVERT function to run this query.
Msg 306, Level 16, State 5:
Server 'redhead', Line 1:
TEXT, IMAGE and UNITEXT datatypes may not be used in a WHERE clause, except with
the LIKE expression and IS [NOT] NULL predicate on columns.
Maybe you are looking for
-
Photos won't transfer to MacBook Pro from iPhone 5
Since I upgraded to iOS 8.02, I can't find a way to get my photos from my iPhone to my MacBook Pro. Before, when I connected my phone via the Lightning Cable, Image Capture automatically launched (along with iTunes), and the photos were available for
-
How do I save a file in Acrobat Pro 8 so as to edit in Photoshop 7?
I have several owner manual downloads that were poorly scanned and I have extracted the pages as individual files. I am pretty sure that I have been able to open them in Photoshop, or change their format in Acrobat so I can open them in Photoshop. I
-
Help with JComboBox and Model creation
hi, I'm trying to figure out the best way to set up the data behind the JComboBox and copy part of that data to be shown by the JComboBox. Here is what I would like it to do. My data: itemID, dbaseID, name 1, 2, test1 2, 2, test2 3, 2, test3 The JCom
-
Understanding Out of box security features
Hi, We are in the process of understanding the capabilities of ATG security features - out of box. As far as cross-site scripting concerned, I read about two parameters (enforceSessionConfirmation and warnOnSessionConfirmationFailure) under /atg/dyna
-
I can not seem to update my iPad. To use certain apps I need ios5, however I do not have the software update option to do so. Is it possible to update my iPad any other way?