Modifying the length of a column list
Hi,
I need to maintain a MOSS 2007 site. It has an existing list with some columns to update. I need to reduce the length of these columns. Can I accomplish this operation with no impact on list data_
Fe, could I have a data truncation respect to these list columns?
Many thanks
Hi,
I seem to have been clear. I need to reduce the lenght of some list columns, thus to reduce the number of characters. The list is already existing and has some thousands of items.
In order to run a proof, I've modified the length (number of characters) of only one list column and then I've set the original length: the data saved inside the columns hasn't been truncated. So, I've noticed that setting the length of a list
column inside MOSS 2007 doesn't modify the pre-existing value, because doesn't modify the length of the corresponding column in the content database. Changing the lenght of a column affects only the input data operation in the MOSS list.
Bye
Similar Messages
-
How can we modify the maximum no. of columns in pivot table ?
hi all,
How can we modify the maximum no. of columns in pivot table ?
do i need to change the nqconfig.ini or instanceconfig file or else?
thnx..A little search on the forum :
In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does
not exist already.
Within the <PivotView> element add an entry that looks like:
<MaxCells>nnnnnn</MaxCells>
where nnnnnn is your desired limit for the maximum total number of cells allowed
in a pivot.
Warning: an excessively large number will cause more memory consumption and
slower browser performance.The details here :
Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee -
How do I determine the length of a column?
Does anyone know how to determine the length of an Oracle column through sql statements? I know in SQL Server you can use the COL_LENGTH function to find the maximum length for a particular column, but I haven't been able to find an equivalent for Oracle.
We have a column in a database that is a VARCHAR2 and can be any szie from 64 to 255 characters. I need to determine on the fly from a running client application what size the column is in the current database.
Thank you very much for any help you can give me.select data_length from user_tab_columns
where table_name='YOUR_TABLE' and column_name='YOUR_COLUMN';
if you want function to return this value, create function like below..
create or replace function col_len(t varchar2,c varchar2)
return number is
n number;
begin
select data_length into n from user_tab_columns
where table_name=upper(t) and column_name=upper(c);
return n;
exception
when others then
return 0;
end;
/ -
How do I change the length of a column in the metadata?
A very simple package, reads data from SQL Server and FTPs it to a destination. I have zero experience with SSIS.
I had to add a new column (HEA_ID) to the input and output. The output record has a filler at the end (I hope you know what a filler is) and the new column has to go before the filler and the filler length reduced accordingly.
Problem: there is no apparent way to place the new column anywhere but after the Filler. The filler in the metadata is the wrong length and there is no way that I can see to change the length.
There is a yellow exclamation mark on the Flat File destination (where the filler is wrong length)
I get these erros when I run the updated package.
"The external metadata column is out of sync with the data source column. The column 'HEA_ID' needs to be updated in the external metadata column collection".
"The column filler needs to be updated in the external metadata column collection"
I have no idea how to fix these errors. Help needed.Hi AllTheGoodNamesWereTaken,
According to your description, you add a new column HEA_ID and make some changes in filler column in the External Columns, so those two columns are out of sync with the data source column.
Please note that columns are created based on the data source columns. So we couldn’t directly change them in the Flat File Destination Advanced Editor.
To avoid this error message, just as Visakh said, just review mappings once again in the Flat File Destination. If we want to change the columns in the Flat File Destination, we need change the source columns.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to get the index of Mult column list box
Hello all,
I need small help. Please help me.
Is there is any property to change the "Multi column list box" row index position dynamically?
I want to change the index position at runtime like below.
Munna
Solved!
Go to Solution.It's called Top Left Visible Cell. There aren't that many properties there.
Try to take over the world! -
How to modify the length of a user profile property
I need to increase the length of a custom user profile property, but the length looks disabled when I try to edit and modify. Is there any way i could modify this by powershell or some other work around where I can increase the lenght of the script?
You can't increase or decrease the size of one of the properties after they have been created. You'll need to create a new property and programmatically copy the values from the other property to the new one. Once that is done you can
delete the old property.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
How to modify the width of a column?
Hi,
I would like to specify different values in the width for the columns in a custom report, because from Microsoft Excel I would like to print all information in an only page.
I have tried to modify the values from "Additional formatting options" specifying different values, but when I donwload the report in Excel format, the columns doesn't modify (they have the same with as default).
How can I do it?
Thanks and regards.Hi Monica
Craete Narrative report and then throght HTML tags set the width. Hope it helps -
How do I adjust the length of a genius list in Itunes 11
Aside form any number of problems I am finding with this new version, my current favorite is how do you get more than 25 songs on a genius list? and don't get me started on what happened to find duplicates function.
ThanksSimply double click on the playlist name.
Really easy
Let me know -
Modifying the width of a dropdown list in an iView
Hi,
I need to increase the width of a drop down list box in ESS iView (We are not having any .par file for that particular iView).
Suggest a procedure to accomplish this.
Any help appreciatedCan you share if you have got a solution to this.
Regards
Manga -
Need help in modifying the column length
Hi Experts,
I need to modify the length of a column from char(10) to char(5), but it's showing the error of:
ALTER TABLE appr_group_table MODIFY (APPR_TBLNO CHAR(5)) It's showing the below error:
ERROR at line 1:
ORA-01441: cannot decrease column length because some value is too bigI've checked in the dbase but there is no any value of this column having more than 5 characters:
SQL> SELECT APPR_TBLNO FROM appr_group_table;
APPR_TBLNO
ANTAB
ANTAB
ANTST
SCCTR
SOTAB
SOTAB
SOTAB
SOTAB
SOTAB
SOTAB
SOTAB
11 rows selected.Thnx in advance for helping me out.....char means fixed length variable. when you say char(10) oracle will reserve 10 places for your data. that means in your output what you are seeing as blank spaces are also considered as data. that is the reason, it is not allowing you to reduce the size.
better solution is to create new column with varchar2 or char(5) datatype and transfer this column data into new column and then drop original column. -
How to increase the length of a columnin existing publication item
We need to urgently increase the length of three columns in one of the tables that is sent offline as a publication item. I have searched everywhere to see if there is a procedure to see this. I only found process to add/drop columns but not modify to JUST increase the length.
Can we just alter the tables on the server and republish the application? Will that cause any data loss on the client end?
Any help is greatly appreciated.
Thanks
SireeshaI totally forgot about this method. Metalink had it in the headlines today and remembered your question.
This should work for you.
Applies to:
Oracle Lite - Version: 10.2.0.1.0 to 10.2.0.2.0
Information in this document applies to any platform.
Goal
The Goal of this Document is to show the right steps when it is necessary to increase the Column Size for a table
which is used for the Synchronization with Oracle Lite 10GR2
BECAREFULL, it is not supported to change the Column Size or make any Schema Evolution on the Primary key
as The Synchronization Algorithm is based on Primary key
Solution
Create table test_sec (col1 number(10); varchar2(10));
alter table test_sec add primary key (col1));
Create Publication: PUB_TEST_SEC
Create Publication: PI_TEST_SEC: select COL1, COL2 from scott.TEST_SEC fast
Refresh, server wins, weight = 1 and add it to the Publicatio PUB_TEST_SEC
Synchronize this PUB_TEST_SEC
On the Server: increase the col2 WHICH IS NOT A PK, from 10 to 15
alter Table scott.TEST_SEC modify (col2 (varchar2(15));
To get the new Column Size on the olite DB, you need to alter the Publication item too using for example this code:
import java.sql.*;
import java.io.*;
import oracle.lite.sync.Consolidator;
import oracle.lite.sync.ConsolidatorManager;
import oracle.mobile.admin.*;
public class PublicationChange {
public static void main(String argv[]) throws Throwable
DriverManager.registerDriver ((Driver)Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance());
ConsolidatorManager consolidatorManager = new ConsolidatorManager();
consolidatorManager.openConnection("mobileadmin","manager","JDBC:ORACLE:thin:@suppolite1.fr.oracle.com:1521:PROD");
System.out.println("Connected");
try
/*You need to put a Select Statment lightly different from the Publication item,
if you will use the same select statment, it won't take in Account
if you used: select * from owner.table to create the Publication Item
you need to use: select * from owner.table for the alterPublicationItem API
consolidatorManager.alterPublicationItem("PI_TEST_SEC","SELECT * FROM SCOTT.TEST_SEC");
System.out.println("Pub Item recreated");
catch (Throwable e) {
e.printStackTrace();
try
consolidatorManager.closeConnection();
System.out.println("The installation is done!");
} catch (Throwable e) {
Compile and run this java code.
Synchronize
Check your table Description on Oracle Lite Database to verify that this Schema Evolution has worked as expected. -
How to modify the field lengh of file upload
Hi All,
I am facing a problem with u201Cuploadu201D filed length in BSP application.
When we upload the file in BSP page, the path displayed should be the full path (i.e. from where the file is being upload the file)
Now this field is appearing 20 char length
Now I want to increase the length of the upload field (Input field) to be 100 char so that the path is visible.
In the current application the file upload is being done through a structure (attributes)
In this structure the fields are like this
PAGE_NAME
ID
FOR
TAGS
ROW_INDEX
COLUMN_INDEX
OTR_NAME
REQUIRED_NAME
MAXLENGTH
SIZE
TABLE_NAME
ON_SELECT
VALUE
DISABLED
ONCLICK
TEXT
TYPE
Using this method:
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
RECEIVING
Element = lv_fileup.
bee_table->add ( level = 2 element = lv_fileup ).
This cl_htmlb_fileupload is named as class interface.
Which has the CLG_HTMLB_FILEUPLOAD (it is a class) it is defined in attributes.
In this class it has the attribute u201CSIZEu201D by default string 20.
Now I need to change this attribute length from 20 to 100
For this I copied the standard class CL_HTMLB_FILEUPLOAD into ZCL_HTMLB_FILEUPLOAD.
This ZCL_HTMLB_FILEUPLOAD contains all attributes of the standard class CL_HTMLB_FILEUPLOAD
Including the one class (CLG_HTMLB_FILEUPLOAD), this is defined as an attribute (ABOVE MENTIONED?)
This class is appearing in non editable mode, so I have copied this class into zclass (ZCLG_HTMLB_FILEUPLOAD).but still I am not able to edit the attribute called u201Csizeu201D
And also I am not bale to add the zclass in place of the ZCLG_HTMLB_FILEUPLOAD
Kindly tell me how to modify the length of the field u201Csize u201Cand also how to add the zclass in the attributes of one class (syntax)
Thanks in advance
Rambabu.AHi,
Class CLG_HTMLB_FILEUPLOAD is a class automatically generated when a BSP Element is created. You should not change/create such a class, unless by creating your own BSP Element.
As per your requirement, you can use the SIZE parameter of method factory:
ls_form_save-size = '100'.
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
Size = ls_form_save-size
RECEIVING
Element = lv_fileup.
Regards,
Tanguy -
When I first logon to windows xp if I am not actively doing something minutes I am logoff and must re-enter my ogon again. How can I modify the length of time that it stays active?
You can find that in control panel
-
Modifying the Standard Report template
Hi
I have a report with 10 columns and 2 of them are wb_id, pa_id. Depending on the search critiria either wb_id or pa_id will be null. I want to highlight the row with some color when I select any row and I am modifying the standard template and
column template condition is 'Use Based on PL/SQL Expression' and it is
NVL(#COL02#,0) = NVL(:GLOBAL_WB_ID,0). But when I run the report it is giving the error that encountered # wherea as expecting.......
Thans a lot.Hi,
I have a report page uses the following block of pl/sql as its source.
This calls a function by passing page items and this functions returns sql query.
DECLARE
V_SQL VARCHAR2(4000);
BEGIN
V_SQL := WF_PCK02.search_wb_pa(
:P1000_WB_ID,:P1000_PA_ID,:P1000_RIVER_NO,:P1000_GENRE,:P1000_LOCATION,:P1000_WATER_DEPENDENT,:P1000_BASELINE,
:P1000_NBT_PRESSURE_TYPE_ID,:P1000_PURPOSE,:P1000_NBT_SIC_DESC,:P1000_ACTIVITY_DESC,:P1000_NBT_MORPH_ACTIVITY,
:P1000_SW_ASSET,:P1000_ORDER_BY,:P1000_R1);
RETURN V_SQL;
END;
Now if user is searching for water bodies the results look like this.
10317 - Allt Ceitlein SURFACE WATER River Y 2a 2b N N
10318 - Allt a Chaorainn SURFACE WATER River Y 2b 2b N N
10319 - River Coupall SURFACE WATER River Y 2b 2b Y N
10320 - Allt a Bhiorain SURFACE WATER River Y 2b 2b Y N
if the user is searching for PAS the results look like this.
- UKS7992310 Lochs Long and Goil SHELLFISH WATER - Y 1a 9z N N
- UKS79923100 Ulva SHELLFISH WATER - Y 1a 9z N N
- UKS79923101 Ura Firth SHELLFISH WATER - Y 1a 9z N N
- UKS79923102 Voe of Clousta SHELLFISH WATER - Y 1a 9z N N
- UKS79923103 Wadbister Voe SHELLFISH WATER - Y 1a 9z N N
- UKS79923104 Inner West Loch Tarbert SHELLFISH WATER - Y 1a 9z N N
I had written a java script to select the current row, and page refreshes when I click
any where on the row and displays the display item saying that
currently selected id is 10317
or
Currently selected id is UKS79923100
and also assigns the 10317 to GLOBAL_WB_ID or UKS79923100 to GLOBAL_PA_ID
Now my user want to change the color of the currently selected row.
For this I am trying to change the report template like this
Column Template 1
<td class="t15data"#ALIGNMENT# style="background:#d1e2f3">#COLUMN_VALUE#</td>
Column Template 1 Condition
NVL(#2#,0) = NVL(:GLOBAL_WB_ID,0);
BUT
it is giving the following error.
Encountered the symbol "<" when expecting one of the following: ( ) - + case mod new not null others table avg count current ........................
ERR-1025 Error processing PLSQL expression. :GLOBAL_WB_ID = NVL(10317,0);
Then I changed the condition to substitute the #2# in single quotes like this.
NVL('#2#',0) = NVL(:GLOBAL_WB_ID,0);
BUT it is giving this error
Encountered the symbol "10317" when expecting one of the following: ( ) - + case mod new not null others table avg count current ........................
ERR-1025 Error processing PLSQL expression. :GLOBAL_WB_ID = NVL('10317',0);
I am unable to understand where the error is coming from.
Please help me.
10317 is the first row of the result set.
Thanks a million in advance. -
Modifying the structure of the output by adhoc query designer
Hi,
Is there any way of modifying the output structure[row, column width, background color,font ] of the result given by the ad-hoc query in WAD.
I want to change the font,size, color of the text output given by executing the query using the ad-hoc query designer.
Please let me know if i can modify some class or method to do so or any other possibility?
Thanks
SachinHi Sachin,
If you are designing a Table or a Chart on WAD , then you have the option of changing by right click on Table or Chart and click Properties/Edit properties.. here you can change the output color, font, background, width, number of output rows.. etc
hope this helps,
Thanks,
Sudhakar
Maybe you are looking for
-
Beginners' Guide: Static IP
Hi all In case there's a problem with the wiki, I thought I should say that I couldn't get the static IP instructions in the Beginner's Guide to work for me. As a new user the problem was likely to be with me, although I did notice the same complaint
-
Red Eye Tool Not Allowing me to Open
I followed the instructions in iPhoto Help, Double Click the Library Photo, Edit Button, Zoom, etc. But the " RED EYE Button " is grayed out and does not allow it to open/work, just the Enhance and the Touch Up buttons are black and allow me to use t
-
Ipod Touch 4th Generation Question?
I have a Ipod touch 4th Generation and i have forgotten my password. I cant go into reocvery mode because the home button doesnt work. What should i do?
-
I have a java method which implements a distribution function (see java code below) In particular a 2-parameter Weibull pdf. (see http://www.weibull.com/LifeDataWeb/weibull_probability_density_function.htm) So if I call the method with this input: K
-
How do i create a movie with six different movie panes within as in example
i'd like to be able to create a movie that looks like this: http://www.youtube.com/watch?v=TtpQXH5R7v8&feature=player_embedded the multitracking of vocals i can do easily with garage band, but i can't figure out how to incorporate all movies as the o