Splitting and merging columns in a table?

Hi I have asked this question before. Does any one know how to split a column into two in a table. Know this can be done in a Word Doc. I know the merge works but can't seem to find the split.

The merge is simple if you do not think about it as in word:))
The merge can be done using scripting: just concatenate the values of the fields into one variable, fill in the value to the first column, change its width (to the width of the previous 4 cols) and hide te remaining/ blank cols.
Have fun, Otto

Similar Messages

  • Difference between is_published and is_replicated columns of sys.tables

    Hello,
    Can someone please tell me the exact difference between is_published and is_replicated columns of sys.tables? I know is_published is inherited from sys.objects table , but purpose of both the columns are same. However sometimes for some replicated tables
    i have seen is_published = 1 and is_replicated = 0 and for another published database tables value of both columns are 1.
    It is bit confusing. Can you please explain?
    Thanks in Advance.
    -Malkesh

    Is published has a value of 1 for snapshot and transactional replication, and peer to peer.
    Is_replicated has a value of 1 for transactional, p2p, and cdc.
    The values will be 1 for both the pub and the subscriber in p2p, but are 0 for both for all other subscription types.
    The values are always 0 for merge.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • BPM Split and Merge

    Hi...
       I want to do scenario like file split and merge using BPM.
    for that i have used,
    1.Receive
    2.Transformation(1:N)
    3.Block(ForEach)
    4.Control
    5.EndBlock
    6.Transformation(N:1)
    7.Send.
    while executing the scenario, the message is going to the queue. In that it is showing the status as "Running".
    can you please tell if i did wrong in my scenario?

    > 1.Receive
    > 2.Transformation(1:N)
    > 3.Block(ForEach)
    > 4.Control
    > 5.EndBlock
    > 6.Transformation(N:1)
    > 7.Send.
    U are using an empty infinite block and hence it is in running state always. You dont need a block at all. after 1:n transformation, use the n:1 transformation and send. I know you must be doing a sample scenario. In reality you will have a send step usually for sending to another system line by line. That when you will need a block.
    VJ

  • Split and Merge Paragraphs

    When I split and merge a paragraph a line break is inserted.  Does anyone know a way around this. (Simply deleting the last character seems inelegant and, more importantly, prone to failure).  Here's the code:
    var textFlow:TextFlow = TextConverter.importToFlow(
                        "Hello World",
                        TextConverter.PLAIN_TEXT_FORMAT);
    textFlow.interactionManager = new EditManager();
    var textFlow2:TextFlow = textFlow.splitAtPosition(5) as TextFlow;
    textFlow2.interactionManager = new EditManager();
    textFlow.mxmlChildren = textFlow.mxmlChildren.concat(textFlow2.mxmlChildren);
    trace(textFlow.getText()); // returns "Hello\n World"
    - Daniel Freiman

    If you are asking how to split and merge a paragraph this works.
                var textFlow:TextFlow = TextConverter.importToFlow("Hello World",TextConverter.PLAIN_TEXT_FORMAT);
                // find the paragraph
                var para:ParagraphElement = textFlow.findLeaf(5).getParagraph();    // same as textFlow.getChildAt(0)
                // split paragraph at position five
                var newPara:ParagraphElement = para.splitAtPosition(5) as ParagraphElement;
                trace(textFlow.getText());
                // now the merge
                // remove newPara its being discarded
                newPara.parent.removeChild(newPara);
                // move the children
                while(newPara.numChildren)
                    para.addChild(newPara.getChildAt(0));
                trace(textFlow.getText());
    This is using pure model level calls.  In your original code you added an EditManager- it can be done that way too.  TLF is layered - the EditManager manipulates the model with model level calls.  It provides APIs connected to events that create operations do to that.
    Hope that helps,
    Richard

  • In SSRS , after exporting report in excel,wrap text property for cell and freeze column for SSRS table header not working in Excel

    I am working no one SSRS my table headers are freeze cangrow property is false and my report is working perfect while rendering data on RDL and i want same report after exporting in Excel also , i want my table header to be freeze and wrap text property
    to work after exporting in my report in excel but its not working ,is there any solution ? any patch ? any other XML code for different rendering ? 

    Hi Amol,
    According to your description, you find the wrap text property and fix column is not working after exporting into Excel. Right?
    In Reporting Services, when exporting to excel file, it has limitation for textbox.
    Text boxes are rendered within one Excel cell. Font size, font face, decoration, and font style are the only formatting that is supported on individual text within an Excel cell.
    Excel adds a default padding of approximately 3.75 points to the left and right sides of cells. If a text box’s padding settings are less than 3.75 points and is just barely wide enough to accommodate the text, the text may wrap in Excel.
    In this scenario, it supposed to be wrap text unless you merge cells. If cells are merged, word-wrap does not work correctly. If any merged cells exist on a row where a text box is rendered with the
    AutoSize property, autosize will not work. For the Fix Data Property, it can't be working in Excel. These are features when exporting to Excel. We can't change it because it's by design.
    Reference:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Dynamically Merging Columns in a table

    Hello All,
    Is it possible to merge columns in table based on some set of condition.
    The current output is as follows:
    Column 1 Column 2 Column 3 Column 4 Column 5
    Row1            ""               ""              ""                 ""
    SubRow1      ""               ""              ""                 ""
    Value 1       Value 2      Value 3     Value 4         Value 5
    The output which we need is as follows:
    Column 1 Column 2 Column 3 Column 4 Column 5
    Merged Row 1 (merged columns)
    Sub Row 1 (merged columns)
    Value 1 Value 2 Value 3 Value 4 Value 5
    Merged Row 2 (merged columns)
    Sub Row 2 (merged columns)
    Value 1 Value 2 Value 3 Value 4 Value 5
    Merged Row 3 (merged columns)
    Sub Row 3 (merged columns)
    Value 1 Value 2 Value 3 Value 4 Value 5
    Thanks.
    Kiran

    The merge is simple if you do not think about it as in word:))
    The merge can be done using scripting: just concatenate the values of the fields into one variable, fill in the value to the first column, change its width (to the width of the previous 4 cols) and hide te remaining/ blank cols.
    Have fun, Otto

  • How to split list of columns into 2 tables in SSIS 2012?

    Hi,
    I have 200 columns in Source. Now i want to split these columns, few into Destination A and few more columns into
    Destination B. Multi cast i tried to use, but it coping all the columns . Any help would be appreciated. Thanks in Advance.
    Lets assume  i have columns  A,B,C,D,E..
    i want to move Columns A,B,D into destination A and 
    columns A,C,D,E INTO Destination B. please help me to implement this logic?

    Hi vasu_479,
    Based on your description, you want to split columns in source table into two destination tables.
    After testing the scenario in my environment, we can use Multicast to achieve your requirement. Just as you said, the Multicast would return all columns. But we can use the method below to achieve the goal:
    If the destination tables are existing tables, we can just map column A, B and D as Input Columns to the corresponding Destination Columns in the Mapping tab for destination A. Then map column A, C, D and E in destination B.
    If the destination tables are created in the Destination component, we can modify the create table query to directly create A, B and D for destination table A, create A, C, D and E for destination table B. Then there columns would be automatically mapped
    in the Mappings pane.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Split and merge frames.

    Hello everyone. Simple question.
    When i want to make rectangle path  with many rows and columns i use arrows on keyboard. (like this video  http://www.youtube.com/watch?v=5Gjhpk8Vmo0 )  But, how can i split and then merge created frame yet? Certainly i can at once to create one frame with many columns and rows, but recently i has needed create frame with 2 rows and 3 columns, and middle columns had to be connected. I didn't know  how do that!
    Thanks! )

    Once you have created a gridified frame, then using the Gap Tool, hold down Command or Ctl key while adjusting size of frame or gap individually. Make an adjustment where the two desired frames overlap, not just against each other. Then use the direct selection tool to select overlapped frames. Then use Object > Pathfinder > Add to merge two frames. This new frame will still be live within the gridified group.

  • Can iMovie split and merge audio/video?

    Hi, I'm wondering if someone could help me in my decision of video-editing software. I'm considering buying iMovie 11 but I want to know first if it does a few things.
    Does it let you split, move, merge, trim, fade, copy/paste, and edit the volume of audio (as opposed to iMovie 08's ability to only move, trim, and fade)?
    Does it let you do the same things, but with video clips?
    Also,
    Does it let you export to HD (either 720p or 1028p)?
    Do transitions cause the video to lose quality (like they do in iMovie HD)?
    Thanks! Any sort of advice on any of these things would be VERY appreciated.

    Once you have created a gridified frame, then using the Gap Tool, hold down Command or Ctl key while adjusting size of frame or gap individually. Make an adjustment where the two desired frames overlap, not just against each other. Then use the direct selection tool to select overlapped frames. Then use Object > Pathfinder > Add to merge two frames. This new frame will still be live within the gridified group.

  • How to split values of column in a table

    i have a scenario like
    bank year amount
    aaaa 20091 1000
    bbb 20091 100
    ccc 20091 10
    ddd 200812 100
    aaa 200812 98788
    bbb 200812 777
    ccc 200812 666
    i need to get like
    bank 20091 200812
    aaa 1000 100
    bbb 100 777
    ccc 10 666
    like that...years of individual banks should be displayed as a columns and below that i should get respective amounts....is it possible in sql?

    This type of question has been asked and answered countless times.
    Have you tried searching the forum? Is Google broken for you?
    Try searching for: "rowss to columns", "pivot table", "crosstab",...

  • Split and Merge pages of a PDF in an Outlook VB Macro

    Hello,
    I was tasked with pushing PDF attachments to our image system using a VB Macro from Outlook.  Easy enough to do by itself but there is an additional requirement to direct certain pages of the attachment to one folio in the image system and other pages to a different folio.  In the event the user doesn't separate these different documents when they submit them, our home office users must select which pages go to which area.
    I have Adobe 9.0 Pro Extended installed but the users only have Reader.
    I think the best way to approach this is to have the document opened for viewing and select pages via some control (chkbox?) to save in to a separate document.  So, if pages 1, 8, 22-24 were selected, create a new pdf in the image queue with those pages only.  Maybe this isn't possible with users that only have Reader installed, in which case another method could be suggested? 
    If I can just get a general idea on how to accomplish this, what libraries to reference and a snippet or two of code, I can probably put the rest together.  Can anyone out there help me out with a direction to head?
    Thanks!

    If it is only for split&merge you can use a freeware tool from a long list which can do it, like PDFTK, .....
    HTH, Reinhard

  • In the New Photos, why can't I split and merge events?

    I performed and Update to my computer, and that has changed the entire user interface dynamic within the photos program. I want to be able to merge and split events at will like I used to, or at least have a similar process that does not require "open, copy, copy to, open again, erase" type processes. I dislike making copies when all I want to do is group photos together without having to make another folder and delete them from the previous...items get deleted with no intent on a system like this.

    Events don't exist in the application, that's why you can't. Now the primary organisational tool is the Moment, and they are inflexible. Either use Albums or, frankly, if that's a deal breaker for you, another app.
    http://www.apple.com/feedback/macosx.html is the place for feature requests and feedback

  • General Query to identify parent columns and child columns in a table

    Does anyone know a general query that can be run to identify the child records associated with the parent column within a single table.....and between other tables?
    Am I correct in assuming the parent column is the 'primary key'?
    Thanks.....I'm a new to oracle...and need some help understanding
    my company's crazy DB structure

    You can use
    User_Constraints
    User_Cons_Columns
    views to identify parent and child table columns
    SELECT * FROM User_Constraints WHERE Constraint_Type = 'R' AND Table_Name = '<TABLENAME>';
    SELECT * FROM User_Cons_columns WHERE Constraint_Name = '<Name from Above query>';
    will give you columns of the parent table (if you use value from constraint_name) and of child table (if you use value from r_constraint_name).
    HTH..

  • [PS] Multiple array´s split and merge

    Is it possible to: when you have 3 array's split the value's after the comma and then from each array merge every 1st value with 1st, 2 with 2 and so on.
    I know you can use split to split up an array, but i have no clue how to merge it like i want.
    example:
    array 1 :
    1,7,5,0,9,1
    array 2 :
    dog,cow,cat,horse,man,girl
    array 3 :
    short,big,little,huge,long,small
    output 1 :
    1 dog short
    output 2 :
    7 cow big
    output 3 :
    5 cat little
    or even better is that it gonna be variable
    $array1 :
     1,7,5,0,9,1
    $array2 :
     dog,cow,cat,horse,man,girl
    $array3 :
     short,big,little,huge,long,small
    output 1 :  $array1 $array2 $array3
    output 1 :
     1 dog short
    output 2 :  $array1 $array2 $array3
    output 2 :
     7 cow big
    output 3 :  $array1 $array2 $array3
    output 3 :
     5 cat little
    Sincerely,
    Jeroen 

    hi Jeroen,
    sure you can do that. Simply iterate over each index of the arrays:
    $int = 0
    While ($int -lt $array1.Length)
    ($array1[$int] + " " + $array2[$int] + " " + $array3[$int])
    $int++
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • How to compare the names and types columns of two tables?

    Assume I have two tables aaa and bbb
    How do I compare the columnnames and types of the two columns?
    It should not matter if one of them has e.g. an additional index.
    Furthermore it does not matter if the rows/row values differ.
    Peter

    SQL> desc emp
    Nome                   Nullo?   Tipo
    EMPNO                  NOT NULL NUMBER(4)
    ENAME                           VARCHAR2(10)
    JOB                             VARCHAR2(9)
    MGR                             NUMBER(4)
    HIREDATE                        DATE
    SAL                             NUMBER(7,2)
    COMM                            NUMBER(7,2)
    DEPTNO                          NUMBER(2)
    SQL> desc emp2
    Nome                   Nullo?   Tipo
    EMPNO                  NOT NULL NUMBER(4)
    ENAME                           VARCHAR2(10)
    MGR                             VARCHAR2(10)
    HIREDATE                        DATE
    SAL                             NUMBER(7,2)
    COMM                            NUMBER(7,2)
    DEPTNO                          NUMBER(2)
    NEWCOL                          NUMBER
    SQL> with t1 as
      2  (select column_name, data_type from user_tab_columns where table_name='EMP'),
      3  t2 as
      4  (select column_name, data_type from user_tab_columns where table_name='EMP2')
      5  Select a.column_name, a.data_type, b.column_name, b.data_type
      6  from t1 a full outer join t2 b on a.column_name=b.column_name;
    COLUMN_NAME                    DATA_TYPE                      COLUMN_NAME                    DATA_TYPE
    EMPNO                          NUMBER                         EMPNO                          NUMBER
    ENAME                          VARCHAR2                       ENAME                          VARCHAR2
                                                                  NEWCOL                         NUMBER
    MGR                            NUMBER                         MGR                            VARCHAR2
    HIREDATE                       DATE                           HIREDATE                       DATE
    SAL                            NUMBER                         SAL                            NUMBER
    COMM                           NUMBER                         COMM                           NUMBER
    DEPTNO                         NUMBER                         DEPTNO                         NUMBER
    JOB                            VARCHAR2
    Selezionate 9 righe.Max
    http://oracleitalia.wordpress.com
    Edited by: Massimo Ruocchio on Feb 21, 2010 1:27 AM
    Changed query.

Maybe you are looking for

  • How can I update my iPod classic that will not mount on iMac computer?

    I can't update my iPod classic from my iTunes on my iMac computer with OSX 10.9.  It will not mount or be recognized by iTunes version 12.1. I plug it into the USB port and it charges, gives the "Do not disconnect" symbol but the computer does not re

  • Help Regarding Xi integrating with Seibel System.

    HI @, I have to intergrate a seible system with R/3 but I haven't worked on the same before. I need help regarding seibel inetrgartion scenarions and various adapters that can be used in that conditions. Documents on Seible Integration will b really

  • IDVD multiplexing error

    I built a short sideshow (9 min) with music in iMovie5 and successfully imported into iDVD. When I try to burn the movie to DVD disc using my external LaCie d2 DVD+/- RW I get a multiplexing error. I have recreated the movie from iMovie5 and that doe

  • ( Additional ) Bad Quality : Photos Imported from iPhoto6 to iMovie 6

    Although imovie 6 is caught up with a sum of disadvantages of imovie 5, I observe a new disadvantage which did not exist before. With knowknowing: In the "multi-media" mitre + "photographs", when I import a photograph from iphoto, I observe that the

  • Forum Search feature

    I am kind of lost when I make use of Forum search. an example --> I am on the homepage of XI forum i.e. Process Integration (PI) & SOA Middleware Entering the search term in the search box and hitting <b>Go</b> button takes me to a search result page